http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510
Summary: r166812 breaks bootstrap on x86_64-apple-darwin10
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: [email protected]
ReportedBy: [email protected]
The commit...
Author: hubicka
Date: Tue Nov 16 18:15:17 2010
New Revision: 166812
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166812
Log:
* cgraph.h (+varpool_can_remove_if_no_refs): Move here from ...;
when !flag_toplevel_reorder do not remove unless variable is
COMDAT or ARTIFICIAL.
* ipa.c (varpool_can_remove_if_no_refs): ... here.
(cgraph_remove_unreachable_nodes): Only analyzed nodes needs to stay.
* cgraphunit.c (cgraph_analyze_functions): Dump varpool, too.
* varpool.c (decide_is_variable_needed): Do not handle visibility issues.
(varpool_finalize_decl): Likewise.
(varpool_remove_unreferenced_decls): Use varpool_mark_needed_node; update
outdated comment on DECL_RTL_SET_P check.
breaks the bootstrap of x86_64-apple-darwin10. The bootstrap now fails with...
libtool: compile: /sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/xgcc
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./gcc/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/lib/ -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/include -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc-4.6-20101116/libgomp
-I../../../gcc-4.6-20101116/libgomp/config/bsd
-I../../../gcc-4.6-20101116/libgomp/config/posix
-I../../../gcc-4.6-20101116/libgomp -Wall -pthread -Werror -g -O2 -MT loop.lo
-MD -MP -MF .deps/loop.Tpo -c ../../../gcc-4.6-20101116/libgomp/loop.c
-fno-common -DPIC -o .libs/loop.o
../../../gcc-4.6-20101116/libgomp/barrier.c:41:1: internal compiler error: in
decide_is_variable_needed, at varpool.c:338
The same error occurs when compiling libgomp/iter.c:333:1,
libgomp/iter_ull.c:340:1, libgomp/env.c:658:1 and libgomp/loop.c:619:1.
../gcc-4.6-20101116/configure --prefix=/sw --prefix=/sw/lib/gcc4.6
--mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.6 --enable-checking=yes --enable-cloog-backend=isl