aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2021-11-02 13:26:36 +0000
committerTamar Christina <tamar.christina@arm.com>2021-11-02 13:28:15 +0000
commit6cc8aa65fdeaefe9774d5e0d4e72c91f52313be1 (patch)
tree5b5476a458e43186aaad88bf95cd6a07c99636db /gcc/tree-ssa-structalias.c
parent268b43d2592c196ea101946d7063156a914b2713 (diff)
downloadgcc-6cc8aa65fdeaefe9774d5e0d4e72c91f52313be1.zip
gcc-6cc8aa65fdeaefe9774d5e0d4e72c91f52313be1.tar.gz
gcc-6cc8aa65fdeaefe9774d5e0d4e72c91f52313be1.tar.bz2
middle-end: Fix PR103007, add missing check on complex fms detection.
The complex FMS detection is missing a check on if the nodes of the VEC_PERM has the amount of children we expect before it recurses. This check is there on MUL and FMA but was missing for FMS, due to this the compiler goes on further than it should and hits an assert. gcc/ChangeLog: PR tree-optimization/103007 * tree-vect-slp-patterns.c (complex_fms_pattern::matches): Add elem check. gcc/testsuite/ChangeLog: PR tree-optimization/103007 * g++.dg/pr103007.C: New test.
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions