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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, the problem is that with the addition of TARGET_CPU_grace,
TARGET_CPU_generic is now 64, which causes problems, because of
return &all_cores[TARGET_CPU_DEFAULT & 0x3f];
or
#define TARGET_CPU_DEFAULT \
 (TARGET_CPU_generic | (AARCH64_CPU_DEFAULT_FLAGS << 6))

As pointed out by Sam James, this was fixed in GCC 12 with
r12-8060-g5522dec054cb940fe83661b96249aa12c54c1d77
Tested a backport of this or even backport thereof with
#define TARGET_CPU_NBITS 8
replaced with
#define TARGET_CPU_NBITS 7
fixes this.
Unfortunately, this can't be fixed anymore for 11.5 as the branch is closed.

Reply via email to