https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119896
Bug ID: 119896 Summary: Assertion failed: e->type == SymField, function cbl_field_of Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: rdubner at symas dot com Target Milestone: --- Target: *-*-solaris2.11 The remaining cobol testsuite failures on Solaris/amd64 (and a considerable part on Solaris/sparcv9; same set on both) are like FAIL: cobol.dg/group2/Program-to-program_parameters_and_retvals.cob -O0 (internal compiler error: Abort) Assertion failed: e->type == SymField, file /vol/gcc/src/hg/master/local/gcc/cobol/symbols.h, line 1829, function cbl_field_of FAIL: cobol.dg/group2/COMPUTE_multiplication_to_IX4.cob -O0 (internal compiler error: Abort) Assertion failed: e->type == SymLabel, file /vol/gcc/src/hg/master/local/gcc/cobol/symbols.h, line 1840, function cbl_label_of (6 instances of the former, 30 of the latter). In a debug build of cobol1, I find that in both instances e->type is SymFilename instead of the expected SymField or SymLabel. Seems particularly weird since I cannot see where SymFilename would ever be set.