------- Comment #6 from kenneth dot hoste at elis dot ugent dot be  2009-06-09 
14:51 -------
Some more related details which might help shed light on the cause behind this.

The 178.galgel benchmark (again, Fortran), is also being miscompiled, but now
using

-ffixed-form -fno-ira-share-spill-slots -fno-tree-loop-im 

in combination with -O3 or -Os. Note that -O1 and -O2 are working fine with
these options specified. 
(-ffixed-form is always needed to compile galgel, so this one is probably of
minor importance here)

On top of this, additionally specifying
 -fno-tree-dominator-opts 
resolves the issue at -O3 (corrext code is being emitted), but this is not the
case at -Os, where the miscompile still occurs.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40386

Reply via email to