public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/51984] New: ICE: SIGSEGV with -O2 -fgraphite-identity
@ 2012-01-24 22:31 marbacz at gmail dot com
  2012-01-24 22:31 ` [Bug middle-end/51984] " marbacz at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: marbacz at gmail dot com @ 2012-01-24 22:31 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51984
           Summary: ICE: SIGSEGV with -O2 -fgraphite-identity
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: marbacz@gmail.com


With SVN rev 183488 I get the following ICE on attached code:

~ # LC_ALL=C gcc -O2 -fgraphite-identity -c ~/bug.c -o /tmp/bug.o
/root/bug.c: In function 'pack_states':
/root/bug.c:8:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


~ # gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.0-svn-183488-20120124/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-trunk/configure --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.7.0-svn-183488-20120124
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0-svn-183488-20120124/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.0-svn-183488-20120124
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.0-svn-183488-20120124/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.0-svn-183488-20120124/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.0-svn-183488-20120124/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check
--with-cloog-include=/usr/include/cloog-ppl --enable-lto --enable-nls
--without-included-gettext --with-system-zlib --disable-werror
--enable-secureplt --disable-multilib --enable-libmudflap --enable-libssp
--enable-libgomp
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.7.0-svn-183488-20120124/python
--enable-checking=assert,fold,gc,misc,rtlflag,runtime,tree --disable-libgcj
--disable-libquadmath --enable-languages=c,c++ --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-targets=all --with-pkgversion='svn 183488-20120124'
--enable-build-with-cxx
Thread model: posix


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

* [Bug middle-end/51984] ICE: SIGSEGV with -O2 -fgraphite-identity
  2012-01-24 22:31 [Bug middle-end/51984] New: ICE: SIGSEGV with -O2 -fgraphite-identity marbacz at gmail dot com
@ 2012-01-24 22:31 ` marbacz at gmail dot com
  2012-01-25 11:02 ` [Bug tree-optimization/51984] " rguenth at gcc dot gnu.org
  2013-07-13 22:02 ` spop at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: marbacz at gmail dot com @ 2012-01-24 22:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Marcin Baczynski <marbacz at gmail dot com> 2012-01-24 22:00:18 UTC ---
Created attachment 26447
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26447
Reduced test case.


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

* [Bug tree-optimization/51984] ICE: SIGSEGV with -O2 -fgraphite-identity
  2012-01-24 22:31 [Bug middle-end/51984] New: ICE: SIGSEGV with -O2 -fgraphite-identity marbacz at gmail dot com
  2012-01-24 22:31 ` [Bug middle-end/51984] " marbacz at gmail dot com
@ 2012-01-25 11:02 ` rguenth at gcc dot gnu.org
  2013-07-13 22:02 ` spop at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-25 11:02 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-01-25
                 CC|                            |spop at gcc dot gnu.org
          Component|middle-end                  |tree-optimization
     Ever Confirmed|0                           |1
      Known to fail|                            |4.6.3, 4.7.0

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-25 10:43:38 UTC ---
Confirmed.  Segfaults in cloog ...

#0  0x00007ffff7bd2397 in cloog_domain_stride () from /usr/lib64/libcloog.so.0
#1  0x00007ffff7bc541c in ?? () from /usr/lib64/libcloog.so.0
#2  0x00007ffff7bc5d37 in cloog_loop_generate () from /usr/lib64/libcloog.so.0
#3  0x00007ffff7bd62e0 in cloog_program_generate ()
   from /usr/lib64/libcloog.so.0
#4  0x00000000012229b0 in scop_to_clast (scop=0x1bf18d0)
    at /space/rguenther/src/svn/trunk/gcc/graphite-clast-to-gimple.c:1552
#5  0x0000000001222c1d in gloog (scop=0x1bf18d0, bb_pbb_mapping=0x1bf1ae0)
    at /space/rguenther/src/svn/trunk/gcc/graphite-clast-to-gimple.c:1633
#6  0x000000000121e765 in graphite_transform_loops ()
    at /space/rguenther/src/svn/trunk/gcc/graphite.c:274

maybe we feed it something invalid, but ...


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

* [Bug tree-optimization/51984] ICE: SIGSEGV with -O2 -fgraphite-identity
  2012-01-24 22:31 [Bug middle-end/51984] New: ICE: SIGSEGV with -O2 -fgraphite-identity marbacz at gmail dot com
  2012-01-24 22:31 ` [Bug middle-end/51984] " marbacz at gmail dot com
  2012-01-25 11:02 ` [Bug tree-optimization/51984] " rguenth at gcc dot gnu.org
@ 2013-07-13 22:02 ` spop at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: spop at gcc dot gnu.org @ 2013-07-13 22:02 UTC (permalink / raw)
  To: gcc-bugs

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

Sebastian Pop <spop at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Sebastian Pop <spop at gcc dot gnu.org> ---
Works on ARM trunk@200918.


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

end of thread, other threads:[~2013-07-13 22:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-24 22:31 [Bug middle-end/51984] New: ICE: SIGSEGV with -O2 -fgraphite-identity marbacz at gmail dot com
2012-01-24 22:31 ` [Bug middle-end/51984] " marbacz at gmail dot com
2012-01-25 11:02 ` [Bug tree-optimization/51984] " rguenth at gcc dot gnu.org
2013-07-13 22:02 ` spop 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).