From: Richard Biener Date: Mon, 15 Aug 2016 11:07:52 +0000 (+0000) Subject: ree.c (rest_of_handle_ree): Remove redundant timevar push/pop. X-Git-Tag: basepoints/gcc-8~5062 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=397d8acd712325e0885f092e01f69bcade62adbd;p=thirdparty%2Fgcc.git ree.c (rest_of_handle_ree): Remove redundant timevar push/pop. 2016-08-15 Richard Biener * ree.c (rest_of_handle_ree): Remove redundant timevar push/pop. * config/i386/i386.c (pass_data_insert_vzeroupper): Account to TV_MACH_DEP. (pass_data_stv): Likewise. From-SVN: r239474 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e6ffb46a3ca..2b5355d0f9f6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2016-08-15 Richard Biener + + * ree.c (rest_of_handle_ree): Remove redundant timevar push/pop. + * config/i386/i386.c (pass_data_insert_vzeroupper): Account to + TV_MACH_DEP. + (pass_data_stv): Likewise. + 2016-08-15 Richard Biener PR tree-optimization/73434 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 62896bfbb1e0..7170194a3a17 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4057,7 +4057,7 @@ const pass_data pass_data_insert_vzeroupper = RTL_PASS, /* type */ "vzeroupper", /* name */ OPTGROUP_NONE, /* optinfo_flags */ - TV_NONE, /* tv_id */ + TV_MACH_DEP, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ @@ -4092,7 +4092,7 @@ const pass_data pass_data_stv = RTL_PASS, /* type */ "stv", /* name */ OPTGROUP_NONE, /* optinfo_flags */ - TV_NONE, /* tv_id */ + TV_MACH_DEP, /* tv_id */ 0, /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ diff --git a/gcc/ree.c b/gcc/ree.c index 3245ac58fa8d..2929277bfd0b 100644 --- a/gcc/ree.c +++ b/gcc/ree.c @@ -1247,9 +1247,7 @@ find_and_remove_re (void) static unsigned int rest_of_handle_ree (void) { - timevar_push (TV_REE); find_and_remove_re (); - timevar_pop (TV_REE); return 0; }