diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2024-10-28 05:39:24 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-10-28 05:39:24 -0600 |
commit | f475a31ab4c7f27f6f8c7a418412f9fddc371638 (patch) | |
tree | 7a7d912857c0881fbeefc48f157906cfd06b72d6 /gcc/c | |
parent | 19722308a286d9a00eead8ac82b948da8c4ca38b (diff) | |
download | gcc-f475a31ab4c7f27f6f8c7a418412f9fddc371638.zip gcc-f475a31ab4c7f27f6f8c7a418412f9fddc371638.tar.gz gcc-f475a31ab4c7f27f6f8c7a418412f9fddc371638.tar.bz2 |
[target/117316] Fix initializer for riscv code alignment handling
The construct used for initializing the code alignments in a recent change is
causing bootstrap problems on riscv64 as seen in the referenced bugzilla.
This patch adjusts the initializer by pushing the NULL down into each uarch
clause. Bootstrapped on riscv64, regression test in flight, but given
bootstrap is broken it seemed advisable to move this forward now.
I'm so much looking forward to the day when we have performant hardware for
bootstrap testing... Sigh.
Anyway, bootstrapped and installing on the trunk.
PR target/117316
gcc/
* config/riscv/riscv.cc (riscv_tune_param): Drop initializer.
(*_tune_info): Add initializers for code alignments.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions