Bug 51355 - [4.7 Regression] cgraph_add_edge_to_call_site_hash, at cgraph.c:765
Summary: [4.7 Regression] cgraph_add_edge_to_call_site_hash, at cgraph.c:765
Status: RESOLVED DUPLICATE of bug 51346
Alias: None
Product: gcc
Classification: Unclassified
Component: lto (show other bugs)
Version: 4.7.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 13:16 UTC by Joost VandeVondele
Modified: 2011-12-01 15:10 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joost VandeVondele 2011-11-30 13:16:55 UTC
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
Comment 1 Markus Trippelsdorf 2011-12-01 14:17:13 UTC
Looks like Bug 51346.
Comment 2 Joost VandeVondele 2011-12-01 15:10:24 UTC
yes this is very likely a dup. I'll check again as soon as 51346 is resolved.

*** This bug has been marked as a duplicate of bug 51346 ***