public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/47653] New: [4.6 Regression] gcc.c-torture/execute/930614-2.c FAILs with -fstack-check=generic -fgraphite-identity
Date: Wed, 09 Feb 2011 00:43:00 -0000	[thread overview]
Message-ID: <bug-47653-4@http.gcc.gnu.org/bugzilla/> (raw)

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


             reply	other threads:[~2011-02-09  0:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09  0:43 zsojka at seznam dot cz [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-47653-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).