https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98530
Bug ID: 98530 Summary: g++.dg/modules/string-1_b.C etc. FAIL Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: nathan at gcc dot gnu.org Target Milestone: --- Target: i386-pc-solaris2.11 Created attachment 49886 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49886&action=edit i386-pc-solaris2.11 32-bit string-1_a.H.gcm/string-1_b.ii Several of the new module tests FAIL on Solaris/x86, e.g. +FAIL: g++.dg/modules/string-1_b.C -std=c++17 (test for excess errors) +FAIL: g++.dg/modules/string-1_b.C -std=c++2a (test for excess errors) Excess errors: /usr/include/sys/regset.h:359:19: error: conflicting global module declaration 'fpu::<unnamed union>::fpchip_state fpu::<unnamed union>::fpchip_state' /usr/include/sys/regset.h:363:19: error: conflicting global module declaration 'fpu::<unnamed union>::fp_emul_space fpu::<unnamed union>::fp_emul_space' /usr/include/sys/regset.h:359:19: error: conflicting global module declaration 'fpu::<unnamed union>::fpchip_state fpu::<unnamed union>::fpchip_state' /usr/include/sys/regset.h:359:19: note: existing declaration 'fpu::<unnamed union>::fpchip_state fpu::<unnamed union>::fpchip_state' /usr/include/sys/regset.h:363:19: error: conflicting global module declaration 'fpu::<unnamed union>::fp_emul_space fpu::<unnamed union>::fp_emul_space' /usr/include/sys/regset.h:363:19: note: existing declaration 'fpu::<unnamed union>::fp_emul_space fpu::<unnamed union>::fp_emul_space' This can be reproduced with $ cc1plus -fpreprocessed string-1_b.ii -quiet -std=c++17 -fmodules-ts -fno-module-lazy -o string-1_b.s and the attached .ii/.gcm files.