This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

regrename: don't update REG_DEAD notes


We're updating REG_DEAD notes in regrename.c, but it seems this is for
historical reasons only. As far as I can tell, every pass that needs
such notes recomputes them with df_note_add_problem/df_analyze, and the
following patch bootstrapped and tested successfully on i686-linux (some
random libmudflap failures mentioned previously), with the following
change to ensure it's tested:

+++ gcc/config/i386/i386.c	(working copy)
@@ -5099,6 +5099,9 @@ static const struct default_options ix86
 #ifdef INSN_SCHEDULING
     { OPT_LEVELS_ALL, OPT_fschedule_insns, NULL, 0 },
 #endif
+#ifdef INSN_SCHEDULING
+    { OPT_LEVELS_2_PLUS, OPT_frename_registers, NULL, 1 },
+#endif

Ok?


Bernd

Attachment: rrnotes.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]