[Bug fortran/58270] Wrong code while accessing array elements in a global structure

2013-09-03 Thread strasbur at chkw386 dot ch.pwr.wroc.pl
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

[Bug fortran/58270] Wrong code while accessing array elements in a global structure

2013-09-02 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58270 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/58270] Wrong code while accessing array elements in a global structure

2013-09-02 Thread strasbur at chkw386 dot ch.pwr.wroc.pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58270 Krzysztof Strasburger strasbur at chkw386 dot ch.pwr.wroc.pl changed: What|Removed |Added Status|RESOLVED

[Bug fortran/58270] Wrong code while accessing array elements in a global structure

2013-09-02 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58270 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug fortran/58270] Wrong code while accessing array elements in a global structure

2013-09-02 Thread strasbur at chkw386 dot ch.pwr.wroc.pl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58270 --- Comment #16 from Krzysztof Strasburger strasbur at chkw386 dot ch.pwr.wroc.pl --- Dear Dominique, I cannot agree with you. You are interpreting the code that may access the array beyond declared bounds as invalid, which is simply not true. As

[Bug fortran/58270] Wrong code while accessing array elements in a global structure

2013-09-02 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58270 --- Comment #17 from Dominique d'Humieres dominiq at lps dot ens.fr --- I cannot agree with you. You are interpreting the code that may access the array beyond declared bounds as invalid, which is simply not true. 6.5 Use of data objects ...