https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119896
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #3 from James K. Lowden <jklowden at gcc dot gnu.org> --- > We are waiting for cfarm access to appropriate machines, to reproduce. Good. I just saw that Robert's account is already set up. > If you are so inclined, feel free to post a gdb backtrace for one of the > assertions. Perhaps the old stare-at-the-code trick will expose something. Sure. This is for Assertion failed: e->type == SymLabel, file /vol/gcc/src/hg/master/local/gcc/cobol/symbols.h, line 1824, function cbl_label_of when compiling cobol1 cobol.dg/group2/ALLOCATE_Rule_8_OPTION_INITIALIZE_with_figconst.cob -quiet -main=cobol.dg/group2/ALLOCATE_Rule_8_OPTION_INITIALIZE_with_figconst.cob -m64 -mtune=generic -march=x86-64 -O0 #0 0xfdf2f525 in abort () from /lib/libc.so.1 #1 0xfdf307e0 in _assert_c99 () from /lib/libc.so.1 #2 0x096abc1f in cbl_label_of (e=<optimized out>) at /vol/gcc/src/hg/master/local/gcc/cobol/symbols.h:1824 #3 0x096b5727 in cbl_label_of (e=<optimized out>) at /vol/gcc/src/hg/master/local/gcc/cobol/parse_ante.h:2386 #4 current_t::program (this=0xbdb1240 <current>) at /vol/gcc/src/hg/master/local/gcc/cobol/parse_ante.h:2108 #5 current_program_index () at /vol/gcc/src/hg/master/local/gcc/cobol/parse_ante.h:2385 #6 0x096fbb80 in typed_name (name=0xbfc1aba "based-p") at /vol/gcc/src/hg/master/local/gcc/cobol/scan_ante.h:712 #7 0x0970386d in lexer () at /vol/gcc/src/hg/master/local/gcc/cobol/scan.l:1129 #8 0x09722b3d in next_token () at /vol/gcc/src/hg/master/local/gcc/cobol/scan_post.h:240 #9 prelex () at /vol/gcc/src/hg/master/local/gcc/cobol/scan_post.h:251 #10 0x097230b0 in yylex () at /vol/gcc/src/hg/master/local/gcc/cobol/scan_post.h:375 #11 0x096c8393 in yyparse () at cobol/parse.cc:16483 #12 0x09748bed in parse_file ( filename=0xfeffde03 "/vol/gcc/src/hg/master/local/gcc/testsuite/cobol.dg/group2/ALLOCATE_Rule_8_OPTION_INITIALIZE_with_figconst.cob") at /vol/gcc/src/hg/master/local/gcc/cobol/util.cc:2183 #13 cobol_parse_files (nfile=1, files=0xbf99948) at /vol/gcc/src/hg/master/local/gcc/cobol/util.cc:2247 #14 0x0963ecc7 in cobol_langhook_parse_file () at /vol/gcc/src/hg/master/local/gcc/cobol/cobol1.cc:455 #15 0x09e01b0c in compile_file () at /vol/gcc/src/hg/master/local/gcc/toplev.cc:451 #16 0x09e051c0 in do_compile () at /vol/gcc/src/hg/master/local/gcc/toplev.cc:2207 #17 toplev::main (this=<optimized out>, argc=<optimized out>, argv=<optimized out>) at /vol/gcc/src/hg/master/local/gcc/toplev.cc:2370 #18 0x0b3aad71 in main (argc=8, argv=0xfeffdc54) at /vol/gcc/src/hg/master/local/gcc/main.cc:39 I can rebuild cobol1 with -g3 -O0 to get more useful information.