[Bug target/94993] New: aarch64 <arm_acle.h> incompatible with -mgeneral-regs-only

roland at gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 8 06:27:37 GMT 2020


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

            Bug ID: 94993
           Summary: aarch64 <arm_acle.h> incompatible with
                    -mgeneral-regs-only
           Product: gcc
           Version: 10.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland at gnu dot org
  Target Milestone: ---

This is a regression from 9.3.1.  Using --target=aarch64-elf built from git
commit 6fedf28c7921f125be75a9f688a7b845a1b5663b.

aarch64-elf-g++ -mgeneral-regs-only -S -o /dev/null -xc++ <(echo '#include
<arm_acle.h>')
fails with various unrecognized builtins.

The target attribute/pragma doesn't accept "no-general-regs-only", so I'm not
sure how to fix it.


More information about the Gcc-bugs mailing list