public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/60154] New: ICE: in cgraph_function_node at gcc/cgraph.c:2962
Date: Wed, 12 Feb 2014 01:08:00 -0000	[thread overview]
Message-ID: <bug-60154-4@http.gcc.gnu.org/bugzilla/> (raw)

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.


             reply	other threads:[~2014-02-12  1:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-12  1:08 danglin at gcc dot gnu.org [this message]
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

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-60154-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).