public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/60154] New: ICE: in cgraph_function_node at gcc/cgraph.c:2962
@ 2014-02-12  1:08 danglin at gcc dot gnu.org
  2014-12-13  1:09 ` [Bug ipa/60154] " tsaunders at mozilla dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-02-12  1:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60154
           Summary: ICE: in cgraph_function_node at gcc/cgraph.c:2962
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

Created attachment 32111
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32111&action=edit
Preprocessed source

dave@mx3210:~/gnu/gcc/objdir$ gdb stage1-gcc/cc1plusGNU gdb (GDB) 7.6.2 (Debian
7.6.2-1)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "hppa-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/dave/gnu/gcc/objdir/stage1-gcc/cc1plus...done.
(gdb) set args -fpreprocessed CMetricMapBuilderICP.ii -quiet -dumpbase
CMetricMapBuilderICP.ii -auxbase-strip CMetricMapBuilderICP.o -O3 -Wall
-Wno-long-long -Wno-write-strings -Wno-variadic-macros -Wpedantic -std=c++11
-version -fPIC -fpreprocessed -o CMetricMapBuilderICP.s
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/dave/gnu/gcc/objdir/stage1-gcc/cc1plus -fpreprocessed
CMetricMapBuilderICP.ii -quiet -dumpbase CMetricMapBuilderICP.ii -auxbase-strip
CMetricMapBuilderICP.o -O3 -Wall -Wno-long-long -Wno-write-strings
-Wno-variadic-macros -Wpedantic -std=c++11 -version -fPIC -fpreprocessed -o
CMetricMapBuilderICP.s
Program received signal SIGSEGV, Segmentation fault.
0x0067ac24 in cgraph_function_node (node=0xf4d97a10, availability=0x0)
    at ../../gcc/gcc/cgraph.c:2962
2962          node = node->callees->callee;
(gdb) p node->callees
$5 = (cgraph_edge *) 0x0
(gdb) bt
#0  0x0067ac24 in cgraph_function_node (node=0xf4d97a10, availability=0x0)
    at ../../gcc/gcc/cgraph.c:2962
#1  0x011a290c in self_recursive_p (node=0xf1758398)
    at ../../gcc/gcc/ipa-pure-const.c:1091
#2  0x011a349c in propagate_pure_const ()
    at ../../gcc/gcc/ipa-pure-const.c:1321

Also seen on trunk.


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

end of thread, other threads:[~2014-12-13  2:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-12  1:08 [Bug ipa/60154] New: ICE: in cgraph_function_node at gcc/cgraph.c:2962 danglin at gcc dot gnu.org
2014-12-13  1:09 ` [Bug ipa/60154] " tsaunders at mozilla dot com
2014-12-13  1:37 ` hubicka at gcc dot gnu.org
2014-12-13  2:08 ` danglin 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).