public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110255] New: arm: MVE intrinsics C++ polymorphism with -flax-vector-conversions
@ 2023-06-14 17:24 stammark at gcc dot gnu.org
  2023-06-14 17:27 ` [Bug target/110255] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: stammark at gcc dot gnu.org @ 2023-06-14 17:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110255
           Summary: arm: MVE intrinsics C++ polymorphism with
                    -flax-vector-conversions
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: stammark at gcc dot gnu.org
  Target Milestone: ---

Hi all,
See: https://godbolt.org/z/53ME1fGfM

The compiler with the error is the one that is using -flax-vector-conversions
through the C++ frontend.
Unsure if this is something to do with the C++ front-end or something in the
target backend (and how the builtins are registered with the front-end).

This seems to happen regardless of if the vaddq intrinsic has been
"restructured" by Christophe's
https://gcc.gnu.org/pipermail/gcc-patches/2023-April/615997.html (so going back
to older GCC12,13 still gives the error), but another intrinsic, like vbicq,
doesn't give the error at all (although that has a different context of the
`int` immediate having to be a compile-time constant).
(clang handles all this fine FWIW)

Has anyone seen this kind of thing before, have any ideas on workarounds, or
have any insight on if this this invalid C++ to begin with?

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

end of thread, other threads:[~2023-06-14 17:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-14 17:24 [Bug target/110255] New: arm: MVE intrinsics C++ polymorphism with -flax-vector-conversions stammark at gcc dot gnu.org
2023-06-14 17:27 ` [Bug target/110255] " pinskia at gcc dot gnu.org
2023-06-14 17:32 ` pinskia at gcc dot gnu.org
2023-06-14 17:55 ` stammark 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).