public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/98917] New: SVE: wrong code with -O -ftree-vectorize -msve-vector-bits=128 --param=aarch64-autovec-preference=2
@ 2021-02-01 13:09 acoplan at gcc dot gnu.org
  2021-02-01 14:01 ` [Bug target/98917] " ktkachov at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: acoplan at gcc dot gnu.org @ 2021-02-01 13:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98917

            Bug ID: 98917
           Summary: SVE: wrong code with -O -ftree-vectorize
                    -msve-vector-bits=128
                    --param=aarch64-autovec-preference=2
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acoplan at gcc dot gnu.org
  Target Milestone: ---

Created attachment 50109
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50109&action=edit
reduced testcase

The attached C++ testcase appears to be miscompiled with -O -ftree-vectorize
-march=armv8.2-a+sve -msve-vector-bits=128
--param=aarch64-autovec-preference=2.

The testcase comes from YARPGen and is hard to reduce. It runs fine
with/without sanitizers at various optimisation levels under GCC/clang for both
x86 and aarch64 but segfaults with the above options on trunk.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-30 16:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01 13:09 [Bug target/98917] New: SVE: wrong code with -O -ftree-vectorize -msve-vector-bits=128 --param=aarch64-autovec-preference=2 acoplan at gcc dot gnu.org
2021-02-01 14:01 ` [Bug target/98917] " ktkachov at gcc dot gnu.org
2021-02-01 14:21 ` acoplan at gcc dot gnu.org
2021-03-30 16:05 ` rsandifo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).