public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/94412] New: wrong code with -fsanitize=undefined and vectors
@ 2020-03-30 20:10 zsojka at seznam dot cz
  2020-03-30 20:41 ` [Bug middle-end/94412] " glisse at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: zsojka at seznam dot cz @ 2020-03-30 20:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94412
           Summary: wrong code with -fsanitize=undefined and vectors
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---

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

Output:
$ x86_64-pc-linux-gnu-gcc -fsanitize=undefined testcase.c
$ ./a.out 
Aborted

x[0] looks like garbage

$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r10-7453-20200329214350-g60c254b279e-checking-yes-rtl-df-extra-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/10.0.1/lto-wrapper
Target: x86_64-pc-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 --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
--with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r10-7453-20200329214350-g60c254b279e-checking-yes-rtl-df-extra-amd64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.0.1 20200329 (experimental) (GCC)

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

end of thread, other threads:[~2020-09-17 17:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30 20:10 [Bug middle-end/94412] New: wrong code with -fsanitize=undefined and vectors zsojka at seznam dot cz
2020-03-30 20:41 ` [Bug middle-end/94412] " glisse at gcc dot gnu.org
2020-03-30 20:50 ` jakub at gcc dot gnu.org
2020-03-30 21:15 ` jakub at gcc dot gnu.org
2020-03-31  6:38 ` zsojka at seznam dot cz
2020-03-31  7:38 ` [Bug middle-end/94412] [8/9/10 Regression] wrong code with vectors jakub at gcc dot gnu.org
2020-03-31  9:07 ` cvs-commit at gcc dot gnu.org
2020-03-31  9:11 ` [Bug middle-end/94412] [8/9 " jakub at gcc dot gnu.org
2020-04-07 19:04 ` cvs-commit at gcc dot gnu.org
2020-04-07 20:02 ` [Bug middle-end/94412] [8 " jakub at gcc dot gnu.org
2020-09-17 17:24 ` jakub 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).