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

            Bug ID: 59265
           Summary: Segmentation fault in ipa_note_param_call for
                    -fprofile-use in SPEC CPU2006
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin.liska at gmail dot com

Created attachment 31284
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31284&action=edit
Dump

Test: 447.dealIII

Command line:
home/marxin/gcc-mirror/bin/g++ -c -o mapping_q.o -DSPEC_CPU -DNDEBUG  -Iinclude
-DBOOST_DISABLE_THREADS -Ddeal_II_dimension=3  -fno-strict-aliasing
-fpeel-loops -ffast-math -march=native -O2 -fprofile-use=/tmp/spec2006  
-DSPEC_CPU_LP64       mapping_q.cc -fdump-ipa-all
In file included from mapping_q.cc:23:0:
include/grid/tria_boundary.h: In member function 'unsigned int
MappingQ<dim>::InternalData::memory_consumption() const [with int dim = 3]':
include/grid/tria_boundary.h:280:7: internal compiler error: Segmentation fault
 class StraightBoundary : public Boundary<dim>
       ^
0x93e9ff crash_signal
    ../../gcc/toplev.c:336
0x80097f ipa_note_param_call
    ../../gcc/ipa-prop.c:1753
0x80afae ipa_analyze_virtual_call_uses
    ../../gcc/ipa-prop.c:2007
0x80afae ipa_analyze_call_uses
    ../../gcc/ipa-prop.c:2031
0x80afae ipa_analyze_stmt_uses
    ../../gcc/ipa-prop.c:2045
0x80afae ipa_analyze_params_uses
    ../../gcc/ipa-prop.c:2144
0x80afae ipa_analyze_node(cgraph_node*)
    ../../gcc/ipa-prop.c:2195
0xd7a4d7 ipcp_generate_summary
    ../../gcc/ipa-cp.c:3616
0x89ffbd execute_ipa_summary_passes(ipa_opt_pass_d*)
    ../../gcc/passes.c:2013
0x6db1ed ipa_passes
    ../../gcc/cgraphunit.c:2022
0x6db1ed compile()
    ../../gcc/cgraphunit.c:2126
0x6db304 finalize_compilation_unit()
    ../../gcc/cgraphunit.c:2280
0x58bdd6 cp_write_global_declarations()

gcc version: trunk@205309

uname -a
Linux marxinbox 3.7.4-gentoo #6 SMP Mon Sep 30 20:53:52 CEST 2013 x86_64 AMD
FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux

I attached dumps.

Martin

Reply via email to