public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/101529] New: wrong code with __builtin_convertvector() and __builtin_shufflevector() at -Og
@ 2021-07-20 15:30 zsojka at seznam dot cz
  2021-07-20 21:56 ` [Bug target/101529] " pinskia at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: zsojka at seznam dot cz @ 2021-07-20 15:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101529
           Summary: wrong code with __builtin_convertvector() and
                    __builtin_shufflevector() at -Og
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: aarch64-unknown-linux-gnu

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

Output:
$ aarch64-unknown-linux-gnu-gcc -Og testcase.c -static
$ qemu-aarch64 -- ./a.out 
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted

The function just returns 0:

foo:
        mov     w0, 0   //,
        ret

$ aarch64-unknown-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r12-2414-20210720154202-g1ef9b135793-checking-yes-rtl-df-extra-aarch64/bin/../libexec/gcc/aarch64-unknown-linux-gnu/12.0.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl
--with-sysroot=/usr/aarch64-unknown-linux-gnu --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=aarch64-unknown-linux-gnu
--with-ld=/usr/bin/aarch64-unknown-linux-gnu-ld
--with-as=/usr/bin/aarch64-unknown-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r12-2414-20210720154202-g1ef9b135793-checking-yes-rtl-df-extra-aarch64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.0.0 20210720 (experimental) (GCC)

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

end of thread, other threads:[~2022-01-26 17:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 15:30 [Bug target/101529] New: wrong code with __builtin_convertvector() and __builtin_shufflevector() at -Og zsojka at seznam dot cz
2021-07-20 21:56 ` [Bug target/101529] " pinskia at gcc dot gnu.org
2021-08-11 19:27 ` pinskia at gcc dot gnu.org
2021-11-06  6:18 ` [Bug target/101529] [11/12 Regression] " pinskia at gcc dot gnu.org
2021-11-06  6:18 ` pinskia at gcc dot gnu.org
2021-11-06  6:19 ` pinskia at gcc dot gnu.org
2021-11-06  6:23 ` [Bug target/101529] [11/12 Regression] wrong code with __builtin_convertvector() and __builtin_shufflevector() at -Og caused by r11-2192 pinskia at gcc dot gnu.org
2021-11-06  6:49 ` pinskia at gcc dot gnu.org
2021-11-06 19:31 ` pinskia at gcc dot gnu.org
2021-11-10  4:07 ` cvs-commit at gcc dot gnu.org
2021-11-10  4:09 ` [Bug target/101529] [11 " pinskia at gcc dot gnu.org
2022-01-26 17:51 ` cvs-commit at gcc dot gnu.org
2022-01-26 17:52 ` pinskia 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).