https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119862
Bug ID: 119862 Summary: gcc.dg/pr119160.c FAILs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: konstantinos.eleftheriou at vrull dot eu Target Milestone: --- Target: *-*-solaris2.11 The new gcc.dg/pr119160.c test FAILs on Solaris, both sparc and x86, 32 and 64-bit: +FAIL: gcc.dg/pr119160.c (test for excess errors) +UNRESOLVED: gcc.dg/pr119160.c compilation failed to produce executable On sparc, the failure is Excess errors: xgcc: error: unrecognized command-line option '-mgeneral-regs-only' while on x86 it's Excess errors: Undefined first referenced symbol in file __cyg_profile_func_exit /var/tmp//cc.HL88a.o __cyg_profile_func_enter /var/tmp//cc.HL88a.o ld: fatal: symbol referencing errors The -mgeneral-regs-only option is only supported on arm, aarch64, and i386, so the test should be restricted accordingly. Haven't looked at the x86 link failure yet.