Following up, the problem seems to be that strings generated by compiling constructors do not match the strings generated by compiling calls to the constructors in the main program. See below, the fragment B5cxx11 is missing causing a mismatch. _ZN13PatternDriver12BreakPatternC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_26ConflateIntegerScalarValueESB_RKNS_12TemplateEnumIL_ZNS_16complement_namesB5cxx11EEL_ZNS_14COMPLEMENTENUMEEEE _ZN13PatternDriver12BreakPatternC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_26ConflateIntegerScalarValueESB_RKNS_12TemplateEnumIL_ZNS_16complement_namesEEL_ZNS_14COMPLEMENTENUMEEEE I'm trying to come up with a test case to submit as a bug report. The error is with gcc-11 (several snapshots) and also gcc-12-20210502.