http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46317
Ian Bolton <ibolton at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2011.01.28 10:19:03 CC| |ibolton at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #3 from Ian Bolton <ibolton at gcc dot gnu.org> 2011-01-28 10:19:03 UTC --- (In reply to comment #2) > (In reply to comment #1) > > Does -fno-tree-sink fixes the issue? > > No it doesn't. The only flags that works are: > -O0 or > -fno-inline or > -fno-unit-at-a-time or > -fno-toplevel-reorder > > I can also make it work more or less by deactivating a certain number of > optimisation flag, but the output code does not really work... (I have tried > something like 58 different flags...) Out of interest, did you try any newer releases of gcc?