]> gcc.gnu.org Git - gcc.git/commit
aarch64,arm: Remove accepted_branch_protection_string
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 12 Jun 2023 12:02:08 +0000 (13:02 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 12 Dec 2023 15:48:31 +0000 (15:48 +0000)
commitd83acace704927ee351968258c8a8cd39e305d03
tree2ec564dbf0b4547a3e012864e7ffd8285ec8bc02
parent6d0b0806eb638447c3184c59d996c2f178553d45
aarch64,arm: Remove accepted_branch_protection_string

On aarch64 this caused ICE with pragma push_options since

  commit ae54c1b09963779c5c3914782324ff48af32e2f1
  Author:     Wilco Dijkstra <wilco.dijkstra@arm.com>
  CommitDate: 2022-06-01 18:13:57 +0100

  AArch64: Cleanup option processing code

The failure is at pop_options:

internal compiler error: ‘global_options’ are modified in local context

On arm the variable was unused.

gcc/ChangeLog:

* config/aarch64/aarch64.cc (aarch64_override_options_after_change_1):
Do not override branch_protection options.
(aarch64_override_options): Remove accepted_branch_protection_string.
* config/arm/aarch-common.cc (BRANCH_PROTECT_STR_MAX): Remove.
(aarch_parse_branch_protection): Remove
accepted_branch_protection_string.
* config/arm/arm.cc: Likewise.
gcc/config/aarch64/aarch64.cc
gcc/config/arm/aarch-common.cc
gcc/config/arm/arm.cc
This page took 0.063069 seconds and 5 git commands to generate.