public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110268] New: arm MVE intrinsics support broken with LTO
@ 2023-06-15 15:59 clyon at gcc dot gnu.org
  2023-06-15 16:01 ` [Bug target/110268] [14 Regression] " acoplan at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: clyon at gcc dot gnu.org @ 2023-06-15 15:59 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110268
           Summary: arm MVE intrinsics support broken with LTO
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: clyon at gcc dot gnu.org
  Target Milestone: ---

Since I rewrote (a lot of) MVE intrinsics, use of LTO is broken:

$ cat ~/t.c
#include <arm_mve.h>
int main(void)
{
  return vaddvq(vdupq_n_s8 (1));
}

# no LTO, OK:
$ arm-none-eabi-gcc ~/t.c -march=armv8.1-m.main+mve -mfloat-abi=hard
-specs=rdimon.specs

# with LTO, broken:
$ arm-none-eabi-gcc ~/t.c -march=armv8.1-m.main+mve -mfloat-abi=hard
-specs=rdimon.specs -flto
lto1: fatal error: target specific builtin not available
compilation terminated.
lto-wrapper: fatal error: arm-none-eabi-gcc returned 1 exit status
compilation terminated.
/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/14.0.0/../../../../arm-none-eabi/bin/ld:
error: lto-wrapper failed
collect2: error: ld returned 1 exit status

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

end of thread, other threads:[~2023-07-10 14:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-15 15:59 [Bug target/110268] New: arm MVE intrinsics support broken with LTO clyon at gcc dot gnu.org
2023-06-15 16:01 ` [Bug target/110268] [14 Regression] " acoplan at gcc dot gnu.org
2023-06-15 16:40 ` clyon at gcc dot gnu.org
2023-06-16  6:20 ` rguenth at gcc dot gnu.org
2023-06-16  6:21 ` rguenth at gcc dot gnu.org
2023-06-19 12:38 ` clyon at gcc dot gnu.org
2023-07-10 14:15 ` cvs-commit at gcc dot gnu.org
2023-07-10 14:16 ` clyon 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).