------- Comment #19 from ebotcazou at gcc dot gnu dot org 2010-01-07 00:00 ------- > Following patch changes the fix from PR21767 to remove REG_EQUAL notes from > all > moved instructions, not only from ones that have non-function-invariant > sources.
This seems like a tad aggressive. Why not remove the REG_EQUAL note after the constant propagation has happened instead? -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42511