------- Comment #1 from pinskia at gcc dot gnu dot org 2006-01-04 14:37 ------- This works on the mainline as of today but failed with 4.2.0 20051219.
Confirmed. Though I should note this is really weird as DOM is messing up in that version of GCC and we still have 1 << -1 which is not being folded. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org Severity|normal |critical Component|middle-end |target Known to fail|4.0.3 4.1.0 4.2.0 |4.0.3 4.1.0 Known to work|3.4.5 |3.4.5 4.2.0 Summary|[4.0/4.1/4.2 Regression] |[4.0/4.1 Regression] |Unrecognizable insn with -O |Unrecognizable insn with -O |on PPC |on PPC Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25662