[Bug fortran/71544] gfortran compiler optimization bug when dealing with c-style pointers

2016-06-27 Thread fortranbug at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71544 --- Comment #7 from fortranbug at gmail dot com --- (In reply to fortranbug from comment #6) > Thank you for the suggested workaround. This can certainly be helpful in the > short term. However, we would not want to rely on tuning co

[Bug fortran/71544] gfortran compiler optimization bug when dealing with c-style pointers

2016-06-17 Thread fortranbug at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71544 --- Comment #6 from fortranbug at gmail dot com --- Thank you for the suggested workaround. This can certainly be helpful in the short term. However, we would not want to rely on tuning compiler optimization switches in the future to ensure

[Bug fortran/71544] New: gfortran compiler optimization bug when dealing with c-style pointers

2016-06-15 Thread fortranbug at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: fortranbug at gmail dot com Target Milestone: --- The code below produces different results with gfortran with -O1 as compared with -O0, -O2, and -O3. We've tested this