https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68130
--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> --- On Wed, 28 Oct 2015, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68130 > > Dominique d'Humieres <dominiq at lps dot ens.fr> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |NEW > Last reconfirmed| |2015-10-28 > Ever confirmed|0 |1 > > --- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > > The PRE dump difference is pretty unreadable already. So I wonder if > > the issue reproduces with -fno-tree-pre added. If not I wonder > > if it reproduces with -fdisable-tree-fre2 or at least -fno-tree-tail-merge. > > The test succeeds with '-fno-tree-pre -fdisable-tree-fre2': > > [Book15] f90/bug% /opt/gcc/gcc6p-228971/bin/gfortran ieee_2_red_2.f90 -Os -m32 > -fno-tree-pre -fdisable-tree-fre2 > f951: note: disable pass tree-fre2 for functions in the range of [0, > 4294967295] > [Book15] f90/bug% a.out > [Book15] f90/bug% > > but fails with the other options above. Just double-checking - the test fails with -Os -m32 -fno-tree-pre. Then the FRE2 transform I cited triggers the issue. Can you attach -fdump-rtl-expand-details dumps with that options for both revs?