https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95530
--- Comment #3 from Bill Seurer <seurer at linux dot vnet.ibm.com> --- The debug build did not ICE. Going back to a normal build and running f951 in gdb I see: (gdb) run /home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/equiv_11.f90 -quiet -dumpbase equiv_11.f90 -dumpbase-ext .f90 -mcpu=power9 -O -version -fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-urls=never -fsecond-underscore -ffat-lto-objects -fno-ident -o equiv_11.s -fintrinsic-modules-path finclude Starting program: /home3/seurer/gcc/git/build/gcc-test/gcc/f951 /home/seurer/gcc/git/gcc-test/gcc/testsuite/gfortran.dg/equiv_11.f90 -quiet -dumpbase equiv_11.f90 -dumpbase-ext .f90 -mcpu=power9 -O -version -fdiagnostics-color=never -fdiagnostics-urls=never -fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers -fdiagnostics-urls=never -fsecond-underscore -ffat-lto-objects -fno-ident -o equiv_11.s -fintrinsic-modules-path finclude GNU Fortran (GCC) version 11.0.0 20200604 (experimental) [remotes/origin/HEAD revision 0ddb93ce7:d48b471b9:7ece3bd8088983289731450826c238eb2bdd2db5] (powerpc64le-unknown-linux-gnu) compiled by GNU C version 7.4.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU Fortran2008 (GCC) version 11.0.0 20200604 (experimental) [remotes/origin/HEAD revision 0ddb93ce7:d48b471b9:7ece3bd8088983289731450826c238eb2bdd2db5] (powerpc64le-unknown-linux-gnu) compiled by GNU C version 7.4.0, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 *** buffer overflow detected ***: /home3/seurer/gcc/git/build/gcc-test/gcc/f951 terminated Program received signal SIGABRT, Aborted. 0x00007ffff7bfe98c in __libc_signal_restore_set (set=0x7fffffffde38) at ../sysdeps/unix/sysv/linux/nptl-signals.h:80 80 ../sysdeps/unix/sysv/linux/nptl-signals.h: No such file or directory. (gdb) where #0 0x00007ffff7bfe98c in __libc_signal_restore_set (set=0x7fffffffde38) at ../sysdeps/unix/sysv/linux/nptl-signals.h:80 #1 __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:48 #2 0x00007ffff7c00be0 in __GI_abort () at abort.c:79 #3 0x00007ffff7c508fc in __libc_message (action=<optimized out>, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:181 #4 0x00007ffff7d24d74 in __GI___fortify_fail_abort (need_backtrace=true, msg=<optimized out>) at fortify_fail.c:33 #5 0x00007ffff7d24e10 in __GI___fortify_fail (msg=<optimized out>) at fortify_fail.c:44 #6 0x00007ffff7d21680 in __GI___chk_fail () at chk_fail.c:28 #7 0x00007ffff7d203e4 in __strcpy_chk (dest=0x12555724 "", src=0x7ffff5c402d0 "m2345678901234567890123456789012345678901234567890123456789_123.eq.0", destlen=64) at strcpy_chk.c:30 #8 0x00000000103d8654 in strcpy (__src=0x7ffff5c402d0 "m2345678901234567890123456789012345678901234567890123456789_123.eq.0", __dest=<optimized out>) at /usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:90 #9 finish_equivalences (ns=0x125518b0) at /home/seurer/gcc/git/gcc-test/gcc/fortran/trans-common.c:1317 #10 gfc_trans_common (ns=0x125518b0) at /home/seurer/gcc/git/gcc-test/gcc/fortran/trans-common.c:1359 #11 0x00000000103f25a0 in gfc_generate_module_vars (ns=0x125518b0) at /home/seurer/gcc/git/gcc-test/gcc/fortran/trans-decl.c:5796 #12 0x00000000103b049c in gfc_generate_module_code (ns=0x125518b0) at /home/seurer/gcc/git/gcc-test/gcc/fortran/trans.c:2238 #13 0x0000000010330874 in translate_all_program_units (gfc_global_ns_list=0x125518b0) at /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6293 #14 gfc_parse_file () at /home/seurer/gcc/git/gcc-test/gcc/fortran/parse.c:6545 #15 0x00000000103a4120 in gfc_be_parse_file () at /home/seurer/gcc/git/gcc-test/gcc/fortran/f95-lang.c:212 #16 0x0000000010bdd974 in compile_file () at /home/seurer/gcc/git/gcc-test/gcc/toplev.c:458 #17 0x0000000010249b34 in do_compile () at /home/seurer/gcc/git/gcc-test/gcc/toplev.c:2302 #18 toplev::main (this=0x7fffffffe896, argc=<optimized out>, argv=<optimized out>) at /home/seurer/gcc/git/gcc-test/gcc/toplev.c:2441 #19 0x000000001024c004 in main (argc=<optimized out>, argv=0x7fffffffecb8) at /home/seurer/gcc/git/gcc-test/gcc/main.c:39