public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/51746] New: Segfault in cselib_preserved_value_p
@ 2012-01-03 21:49 rmansfield at qnx dot com
  2012-01-04 10:40 ` [Bug debug/51746] " jakub at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: rmansfield at qnx dot com @ 2012-01-03 21:49 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51746
           Summary: Segfault in cselib_preserved_value_p
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rmansfield@qnx.com
                CC: aoliva@gcc.gnu.org, jakub@gcc.gnu.org
              Host: x86_64-linux-gnu
            Target: arm-unknown-linux-gnueabi
             Build: x86_64-linux-gnu


Created attachment 26234
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26234
preprocessed source

Starting with rev182760 the following crash occurs:

$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: arm-unknown-linux-gnueabi
Configured with: ../configure --target=arm-unknown-linux-gnueabi
--prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi
--with-sysroot=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi//sys-root
--disable-multilib
--with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared
--disable-libmudflap --disable-libssp
Thread model: posix
gcc version 4.7.0 20120103 (experimental) [trunk revision 182858] (GCC) 
ryan@zoidberg:~/gnu/gcc/trunk/arm-eabi/gcc$ ./xgcc -B. -O -g ~/seg.i
/home/ryan/seg.i: In function 'init_textlist':
/home/ryan/seg.i:12:38: warning: incompatible implicit declaration of built-in
function 'strlen' [enabled by default]
/home/ryan/seg.i:13:10: warning: assignment makes pointer from integer without
a cast [enabled by default]
/home/ryan/seg.i:18: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.

#0  cselib_preserved_value_p (v=0x0) at ../../gcc/cselib.c:674
#1  0x0000000000a7543a in add_stores (loc=<optimized out>, 
    expr=0x7ffff6dfb840, cuip=0x7fffffffbb10) at ../../gcc/var-tracking.c:5522
#2  0x0000000000a73277 in add_with_sets (insn=0x7ffff6dfc510, 
    sets=<optimized out>, n_sets=<optimized out>)
    at ../../gcc/var-tracking.c:6049
#3  0x00000000005ddc00 in cselib_record_sets (insn=0x7ffff6dfc510)
    at ../../gcc/cselib.c:2476
#4  0x00000000005de850 in cselib_process_insn (insn=0x7ffff6dfc510)
    at ../../gcc/cselib.c:2568
#5  0x0000000000a79ca2 in vt_initialize () at ../../gcc/var-tracking.c:9398
#6  0x0000000000a82537 in variable_tracking_main_1 ()
    at ../../gcc/var-tracking.c:9575
#7  variable_tracking_main () at ../../gcc/var-tracking.c:9627


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

end of thread, other threads:[~2012-01-06 22:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-03 21:49 [Bug debug/51746] New: Segfault in cselib_preserved_value_p rmansfield at qnx dot com
2012-01-04 10:40 ` [Bug debug/51746] " jakub at gcc dot gnu.org
2012-01-04 10:42 ` [Bug debug/51746] [4.7 Regression] " jakub at gcc dot gnu.org
2012-01-04 10:46 ` jakub at gcc dot gnu.org
2012-01-04 13:54 ` rguenth at gcc dot gnu.org
2012-01-05  0:17 ` aoliva at gcc dot gnu.org
2012-01-05  0:30 ` jakub at gcc dot gnu.org
2012-01-05  0:31 ` [Bug debug/51746] " jakub at gcc dot gnu.org
2012-01-05  0:58 ` aoliva at gcc dot gnu.org
2012-01-06 20:21 ` aoliva at gcc dot gnu.org
2012-01-06 22:57 ` aoliva 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).