[Bug fortran/51218] [4.7 Regression] Potential optimization bug
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Sat Nov 19 09:28:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51218
--- Comment #6 from Harald Anlauf <anlauf at gmx dot de> 2011-11-19 08:12:01 UTC ---
(In reply to comment #3)
> The miscompilation is triggered by -ffrontend-optimize, work-around: use
> -fno-frontend-optimize.
> Revision 171653 is dealing with the frontend optimization. If I am not
> mistaken, it is the only change dealing with frontend optimization after
> r171100, although I don't understand how this revision could cause a
> miscompilation.
>
> The crash occurs in __mo_dec_matrix_MOD_sum_vector.
Aha. Compiling just main.f90 with -fno-frontend-optimize solves
the problem.
Thanks,
Harald
More information about the Gcc-bugs
mailing list