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

             Bug #: 56290
           Summary: [4.8 Regression] ICE building OpenFOAM in in
                    ipa_make_edge_direct_to_target
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: tkoe...@gcc.gnu.org


Building OpenFOAM with 4.8

ig25@linux-fd1f:~/Gcc/trunk/gcc> g++ -v
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Ziel: x86_64-unknown-linux-gnu
Konfiguriert mit: ../trunk/configure --prefix=/home/ig25
--enable-languages=c,fortran --with-mpfr=/usr/local --with-gmp=/usr/local
--with-mpc=/usr/local
Thread-Modell: posix
gcc-Version 4.8.0 20130209 (experimental) (GCC) 

resulted in an ICE.  Compilation command was

SOURCE=fvMesh/fvMesh.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra
-Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository
-ftemplate-depth-100
-I/home/ig25/OpenFOAM/OpenFOAM-2.1.1/src/triSurface/lnInclude
-I/home/ig25/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -IlnInclude -I.
-I/home/ig25/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude
-I/home/ig25/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude   -fPIC -c
$SOURCE -o Make/linux64GccDPOpt/fvMesh.o

Error was:

fvMesh/fvMesh.C: Im globalen Gültigkeitsbereich:
fvMesh/fvMesh.C:713:1: interner Compiler-Fehler: in
ipa_make_edge_direct_to_target, bei ipa-prop.c:2111
 }
 ^
0x95f5be ipa_make_edge_direct_to_target(cgraph_edge*, tree_node*)
    ../../trunk/gcc/ipa-prop.c:2111
0x95f7ae try_make_edge_direct_simple_call
    ../../trunk/gcc/ipa-prop.c:2182
0x95f7ae update_indirect_edges_after_inlining
    ../../trunk/gcc/ipa-prop.c:2274
0x95f7ae propagate_info_to_inlined_callees
    ../../trunk/gcc/ipa-prop.c:2333
0x95fbe3 ipa_propagate_indirect_call_infos(cgraph_edge*, vec<cgraph_edge*,
va_heap, vl_ptr>*)
    ../../trunk/gcc/ipa-prop.c:2363
0xed8ae4 inline_call(cgraph_edge*, bool, vec<cgraph_edge*, va_heap, vl_ptr>*,
int*, bool)
    ../../trunk/gcc/ipa-inline-transform.c:255
0xed768d ipa_inline
    ../../trunk/gcc/ipa-inline.c:1850
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [Make/linux64GccDPOpt/fvMesh.o] Fehler 1

Unfortunately, this seems to be a bit of a Heinsenbug; I could
not even repeat the error with a compilation command from the command line.

I am not really familiar with the OpenFOAM build process, so I have
little idea how to proceed further.

Reply via email to