public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/47653] New: [4.6 Regression] gcc.c-torture/execute/930614-2.c FAILs with -fstack-check=generic -fgraphite-identity
@ 2011-02-09  0:43 zsojka at seznam dot cz
  2011-02-09  4:02 ` [Bug middle-end/47653] " hjl.tools at gmail dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: zsojka at seznam dot cz @ 2011-02-09  0:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47653

           Summary: [4.6 Regression] gcc.c-torture/execute/930614-2.c
                    FAILs with -fstack-check=generic -fgraphite-identity
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
                CC: spop@gcc.gnu.org
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 23280
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23280
reduced testcase

Output:
$ gcc -v
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-169929-lto-fortran-checking-yes-rtl-df/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-169929-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-169929-lto-fortran-checking-yes-rtl-df/
--with-cloog --with-ppl --with-cloog-include=/usr/include/cloog-ppl/
Thread model: posix
gcc version 4.6.0 20110208 (experimental) (GCC) 

$ gcc -O -fstack-check=generic -ftree-pre -fgraphite-identity testcase.c
$ ./a.out 
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
0x0000000000400552 in main () at testcase.c:7
7             x[i][j] = 0;
(gdb) disassemble
   0x0000000000400549 <+101>:   lea    (%rcx,%rax,1),%edx
   0x000000000040054c <+104>:   movslq %edx,%rdx
   0x000000000040054f <+107>:   add    %rsi,%rdx
=> 0x0000000000400552 <+110>:   movl   $0x0,(%r8,%rdx,4)
   0x000000000040055a <+118>:   add    $0x1,%rax
   0x000000000040055e <+122>:   lea    -0x1(%rax),%rdx
   0x0000000000400562 <+126>:   cmp    %rdi,%rdx
   0x0000000000400565 <+129>:   jl     0x400549 <main+101>

Tested revisions:
r169929 - fail
4.5.2 - OK


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

end of thread, other threads:[~2011-08-11 13:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09  0:43 [Bug middle-end/47653] New: [4.6 Regression] gcc.c-torture/execute/930614-2.c FAILs with -fstack-check=generic -fgraphite-identity zsojka at seznam dot cz
2011-02-09  4:02 ` [Bug middle-end/47653] " hjl.tools at gmail dot com
2011-02-18 16:04 ` law at redhat dot com
2011-02-18 16:59 ` spop at gcc dot gnu.org
2011-02-18 18:50 ` spop at gcc dot gnu.org
2011-03-25 19:56 ` [Bug middle-end/47653] [4.6/4.7 " jakub at gcc dot gnu.org
2011-06-27 15:56 ` jakub at gcc dot gnu.org
2011-06-29 21:19 ` spop at gcc dot gnu.org
2011-07-25 17:46 ` spop at gcc dot gnu.org
2011-07-25 17:48 ` spop at gcc dot gnu.org
2011-07-26 18:49 ` spop at gcc dot gnu.org
2011-07-26 18:50 ` spop at gcc dot gnu.org
2011-07-26 18:57 ` spop at gcc dot gnu.org
2011-08-09 15:52 ` ro at gcc dot gnu.org
2011-08-11 13:45 ` matz 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).