[Bug fortran/55735] ICE with deferred-length strings in COMMON
juergen.reuter at desy dot de
gcc-bugzilla@gcc.gnu.org
Tue Oct 9 09:19:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55735
--- Comment #10 from Jürgen Reuter <juergen.reuter at desy dot de> ---
Interestingly, nagfor rejects this code with the message "Inconsistent
definitions of COMMON block FOO in program-units $block and BAR". Both ifort
and pgfortran compile the code, and the program issues 'ABCDEF' upon execution.
ifort warns however: warning #5436: Overlapping storage initializations
encountered with STR.
More information about the Gcc-bugs
mailing list