https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91835

            Bug ID: 91835
           Summary: [10 regression] ipa-sra in section names breaks with
                    Solaris/x86 as
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---
            Target: i386-pc-solaris2.11

The introduction of the IPA-SRA patch (r275982) badly broke LTO when using the
Solaris/x86 as.  Many (all?) LTO tests FAIL like this:

FAIL: gcc.c-torture/compile/20000105-1.c   -O2 -flto -flto-partition=none 
(test for excess errors)
Excess errors:
Assembler: 20000105-1.c
        "/var/tmp//ccaW7VHa.s", line 35 : Syntax error
        Near line: "    .section       
.gnu.lto_.ipa-sra.e03463101918c5a8,#exclude"

Section names can only consist of letters and digits, where '_' and '.' are
also considered as letters.

I'm currently trying a patch that changes gcc/lto-section-in.c
(lto_section_name)
to use "ipa_sra" instead of "ipa-sra", following all other LTO section names
that use the '_' form.

Reply via email to