aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@marvell.com>2023-05-07 01:38:17 +0000
committerAndrew Pinski <apinski@marvell.com>2023-05-07 15:24:39 +0000
commita1a9ce2441df0675540faee8476523164e12578b (patch)
tree4ae60695dd65f3be066515c9e82fe05c7dbd4589 /gcc/tree-ssa-phiopt.cc
parent681ba2f7681f295a102cd63ffd5ce2b86a5f706e (diff)
downloadgcc-a1a9ce2441df0675540faee8476523164e12578b.zip
gcc-a1a9ce2441df0675540faee8476523164e12578b.tar.gz
gcc-a1a9ce2441df0675540faee8476523164e12578b.tar.bz2
Fix aarch64/109762: push_options/push_options does not work sometimes
aarch64_isa_flags (and aarch64_asm_isa_flags) are both aarch64_feature_flags (uint64_t) but since r12-8000-g14814e20161d, they are saved/restored as unsigned long. This does not make a difference for LP64 targets but on ILP32 and LLP64IL32 targets, it means it does not get restored correctly. This patch changes over to use aarch64_feature_flags instead of unsigned long. Committed as obvious after a bootstrap/test. gcc/ChangeLog: PR target/109762 * config/aarch64/aarch64-builtins.cc (aarch64_simd_switcher::aarch64_simd_switcher): Change argument type to aarch64_feature_flags. * config/aarch64/aarch64-protos.h (aarch64_simd_switcher): Change constructor argument type to aarch64_feature_flags. Change m_old_asm_isa_flags to be aarch64_feature_flags.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions