aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-inline-transform.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-03-20 09:33:38 +0100
committerJakub Jelinek <jakub@redhat.com>2020-03-20 09:33:38 +0100
commit4119cd693d27e9dd87c547de75283edd45bf6dce (patch)
treed66dc4dfe4d722d9b97f891a9e5c44a431785271 /gcc/ipa-inline-transform.c
parent05009698eeb925d691a8ebb51539df8d8f28d849 (diff)
downloadgcc-4119cd693d27e9dd87c547de75283edd45bf6dce.zip
gcc-4119cd693d27e9dd87c547de75283edd45bf6dce.tar.gz
gcc-4119cd693d27e9dd87c547de75283edd45bf6dce.tar.bz2
store-merging: Fix up -fnon-call-exceptions handling [PR94224]
When we are adding a single store into a store group, we are already checking that store->lp_nr matches, but we have also code to add further INTEGER_CST stores into the group right away if the ordering requires that either we put there all or none from a certain set of stores. And in those cases we weren't doing these lp_nr checks, which means we could end up with stores with different lp_nr in the same group, which then ICEs during output_merged_store. 2020-03-20 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/94224 * gimple-ssa-store-merging.c (imm_store_chain_info::coalesce_immediate): Don't consider overlapping or adjacent INTEGER_CST rhs_code stores as mergeable if they have different lp_nr. * g++.dg/tree-ssa/pr94224.C: New test.
Diffstat (limited to 'gcc/ipa-inline-transform.c')
0 files changed, 0 insertions, 0 deletions