This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/58270] Wrong code while accessing array elements in a global structure
- From: "strasbur at chkw386 dot ch.pwr.wroc.pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Sep 2013 07:56:40 +0000
- Subject: [Bug fortran/58270] Wrong code while accessing array elements in a global structure
- Auto-submitted: auto-generated
- References: <bug-58270-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58270
--- Comment #18 from Krzysztof Strasburger <strasbur at chkw386 dot ch.pwr.wroc.pl> ---
I have found that tree-fre, tree-pre and tree-dse have to be disabled in order
to generate correctly working code at all optimization levels (both C and
FORTRAN).
I'm happy with this workaround, so thank you for all suggestions.