aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2024-10-18 10:37:28 +0100
committerTamar Christina <tamar.christina@arm.com>2024-10-18 10:37:28 +0100
commit51291ad0f1f89a81de917110af96e019dcd5690c (patch)
treeddca353e1c58a506999d899a481a1015162ebd42 /gcc/fortran
parent55f898008ec8235897cf56c89f5599c3ec1bc963 (diff)
downloadgcc-51291ad0f1f89a81de917110af96e019dcd5690c.zip
gcc-51291ad0f1f89a81de917110af96e019dcd5690c.tar.gz
gcc-51291ad0f1f89a81de917110af96e019dcd5690c.tar.bz2
middle-end: Fix GSI for gcond root [PR117140]
When finding the gsi to use for code of the root statements we should use the one of the original statement rather than the gcond which may be inside a pattern. Without this the emitted instructions may be discarded later. gcc/ChangeLog: PR tree-optimization/117140 * tree-vect-slp.cc (vectorize_slp_instance_root_stmt): Use gsi from original statement. gcc/testsuite/ChangeLog: PR tree-optimization/117140 * gcc.dg/vect/vect-early-break_129-pr117140.c: New test.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions