https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119377
--- Comment #12 from Sam James <sjames at gcc dot gnu.org> --- Created attachment 61409 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61409&action=edit declarative_1.cob show output (In reply to Robert Dubner from comment #11) ``` (gdb) r Starting program: /usr/libexec/gcc/x86_64-pc-linux-gnu/16/cobol1 cobol.dg/group1/declarative_1.cob -quiet -dumpdir a- -dumpbase declarative_1.cob -dumpbase-ext .cob -main=cobol.dg/group1/declarative_1.cob [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. yyparse () at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/cobol/parse.y:7116 7116 if( *$1 == '-' ) { (gdb) t [Current thread is 1 (Thread 0x7ffff7eaff00 (LWP 1829233))] (gdb) bt #0 yyparse () at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/cobol/parse.y:7116 #1 0x0000555557efe658 in parse_file (filename=0x7fffffffdb79 "cobol.dg/group1/declarative_1.cob") at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/cobol/util.cc:2142 #2 cobol_parse_files (nfile=<optimized out>, files=<optimized out>) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/cobol/util.cc:2203 #3 0x0000555557af6975 in compile_file () at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/toplev.cc:451 #4 0x0000555557ac3a92 in do_compile () at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/toplev.cc:2211 #5 toplev::main (this=this@entry=0x7fffffffd5c6, argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/toplev.cc:2374 #6 0x0000555557ac2aaa in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/sys-devel/gcc-16.0.9999/gcc-16.0.9999/gcc/main.cc:39 ``` Attached the 'show' output too.