From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9708 invoked by alias); 12 Feb 2014 01:08:48 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 9578 invoked by uid 48); 12 Feb 2014 01:08:43 -0000 From: "danglin at gcc dot 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcchost cf_gcctarget cf_gccbuild attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg01104.txt.bz2 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 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: ... 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.