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

             Bug #: 51355
           Summary: [4.7 Regression] cgraph_add_edge_to_call_site_hash, at
                    cgraph.c:765
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: joost.vandevond...@mat.ethz.ch


Building CP2K with LTO has started to fail somewhere in the last 3 weeks.

In function ‘current_build_current’:
lto1: internal compiler error: in cgraph_add_edge_to_call_site_hash, at
cgraph.c:765
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [/dev/shm/vondele/ccPFwJ9D.ltrans2.ltrans.o] Error 1
In function ‘nmr_shift_print’:
lto1: internal compiler error: in cgraph_add_edge_to_call_site_hash, at
cgraph.c:765
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [/dev/shm/vondele/ccPFwJ9D.ltrans10.ltrans.o] Error 1
In function ‘atom_int_setup’:
lto1: internal compiler error: in cgraph_add_edge_to_call_site_hash, at
cgraph.c:765
[...]

No other testcase than building full CP2K with the following arch file:

#
CC       = cc
CPP      = 

FC       = gfortran 
LD       = gfortran

AR       = ar -r

CPPFLAGS = 
DFLAGS   = -D__GFORTRAN -D__FFTSG -D__FFTW3 -D__LIBINT
FCFLAGS  = -flto -ffree-form -cpp $(DFLAGS) -I$(GFORTRAN_INC)
LDFLAGS  = $(FCFLAGS) -O3 -march=native -fuse-linker-plugin -flto=jobserver
-L/users/vondele/LAPACK/ -L$(GFORTRAN_LIB)
LIBS     = -llapack_gfortran_x86 -lblas_gfortran_x86 -lfftw3 -lderiv -lint
-lstdc++

OBJECTS_ARCHITECTURE = machine_gfortran.o

Reply via email to