On Sat, Jul 30, 2011 at 00:32, H.J. Lu <hjl.to...@gmail.com> wrote: > The whole approach doesn't work. The testcase at > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49721#c1 > > shows GCC depends on transforming: > > (zero_extend:DI (plus:SI (FOO:SI) (const_int Y))) > > to > > (plus:DI (zero_extend:DI (FOO:SI)) (const_int Y)) > > Otherwise we either get compiler crash or wrong codes.
Please explain how/why here or in the BZ. Compiler crashes can be fixed, wrong code is often a symptom of latent bugs. Paolo