gcc/gcc ChangeLog.struct-reorg cgraphunit.c co ...

ctice@gcc.gnu.org ctice@gcc.gnu.org
Thu Oct 7 23:44:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	struct-reorg-branch
Changes by:	ctice@gcc.gnu.org	2004-10-07 23:44:48

Modified files:
	gcc            : ChangeLog.struct-reorg cgraphunit.c common.opt 
	                 opts.c struct-reorg.c 

Log message:
	Add new flag, -fwhole-program, which intends that all the user-written source
	for the entire program has been passed to cc1, and which therefore causes
	TREE_PUBLIC for all var_decls and function_decls to be turned off, except for
	the function main.
	
	2004-10-07  Caroline Tice  <ctice@apple.com>
	
	* cgraphunit.c (comment): Fix function name in comment.
	(cgraph_finalize_compilation_unit): Modify to not call
	cgraph_varpool_assemble_pending_decls if flag_unit_at_a_time is true.
	(cgraph_mark_nonexportable): New function.
	(cgraph_optimize): Add call to cgraph_mark_nonexportable.
	* common.opt (fwhole-program): New compiler option, with new flag
	flag_whole_program.
	* opts.c (decode_options): flag_whole_program automatically turns on
	flag_unit_at_a_time.
	* struct-reorg.c (whole_program_p): Remove function.
	(build_data_structure_list): Remove code that tested variable names.
	(peel_structs): Remove call to whole_program_p; add test of
	flag_whole_program.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.struct-reorg.diff?cvsroot=gcc&only_with_tag=struct-reorg-branch&r1=1.1.2.7&r2=1.1.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cgraphunit.c.diff?cvsroot=gcc&only_with_tag=struct-reorg-branch&r1=1.1.4.35.2.12.2.4&r2=1.1.4.35.2.12.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/common.opt.diff?cvsroot=gcc&only_with_tag=struct-reorg-branch&r1=1.14.2.20.2.9.2.1&r2=1.14.2.20.2.9.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/opts.c.diff?cvsroot=gcc&only_with_tag=struct-reorg-branch&r1=1.31.2.28.2.13.2.1&r2=1.31.2.28.2.13.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/struct-reorg.c.diff?cvsroot=gcc&only_with_tag=struct-reorg-branch&r1=1.1.2.5&r2=1.1.2.6



More information about the Gcc-cvs mailing list