[Bug fortran/87689] Memory corruption on Power 8

judicael.grasset at stfc dot ac.uk gcc-bugzilla@gcc.gnu.org
Mon Oct 22 14:04:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87689

--- Comment #2 from Judicaël Grasset <judicael.grasset at stfc dot ac.uk> ---
I have tried with gfortran 8.2.0
I have compiled with:
gfortran -g main.f doesntwork_p8.f -Wall -Wextra -o exe

When running I get:
           1           2           3           4           5           0
 �
 foo      

So it seems the problem still exist.

If I add fcheck=all at the compilation, I do not get any run-time error message
when executing the program, but the result is still wrong:
           1           2           3           4           5      -46855
 o
 foo


More information about the Gcc-bugs mailing list