This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

egcs/gcc ChangeLog.cfg Makefile.in attribs.c b ...


CVSROOT:	/cvs/gcc
Module name:	egcs
Branch: 	cfg-branch
Changes by:	hubicka@gcc.gnu.org	2002-01-03 13:03:49

Modified files:
	gcc            : ChangeLog.cfg Makefile.in attribs.c 
	                 basic-block.h cfgcleanup.c cfglayout.c cfgrtl.c 
	                 crtstuff.c final.c flags.h function.c 
	                 function.h gcov-io.h libfuncs.h libgcc2.c 
	                 libgcc2.h optabs.c predict.c profile.c toplev.c 
	                 tracer.c 

Log message:
	* cfgcleanup.c (outgoing_edges_match): Be more conservative on the
	requirement to match perfectly.
	* cfglayout.c (fixup_reorder_chain): Remove unused variable.
	* predict.c: Inlude profile.h
	(MIN_COUNT): Rename to MIN_COUNT_FRACTION
	(maybe_hot_bb_p, probably_cold_bb_p, probably_never_executed_bb_p):
	Use the information about maximal counter in the program.
	
	Thu Nov 22 02:24:39 CET 2001  Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
	
	* Makefile.in (profile.o): Add dependency on libfuncs.h and gthr.h.
	(XCFLAGS): Add GTHREAD_FLAGS.
	* attribs.c (handle_no_profile_attribute): New static function.
	(c_common_attribute_table): New attribute "no_profile".
	* cfganal.c (fix_position): New static function.
	(flow_call_edges_add): Modified.
	* crtstuff.c: Prevent functions from being profiled.
	* gcov-io.h: Prevent functions from being profiled.
	* gengenrtl.c: Prevent functions from being profiled.
	* function.c (expand_function_start): Set no_profile.
	* function.h (struct function): Add arc_counters_adress and no_profile.
	* final.c (end_final): Emit LPBF label.
	* flags.h (flag_unsafe_profile_arcs): New.
	* libfuncs.h (enum libfunc_index): Add LTI_find_arc_counters.
	* libgcc2.c: Include gthr.h.  Prevent functions from being profiled.
	(__bb_find_arc_counters, __bb_thread_start_func, __bb_thread_end_func):
	New.
	(__bb_exit_func, __bb_init_func, __bb_find_arc_counters,
	__bb_thread_start_func, __bb_thread_end_func): Handle thread-safe
	profiling.
	* libgcc2.h (__bb_init_func): Modified declaration.
	(__bb_thread_start_func, __bb_thread_end_func, __bb_find_arc_counters):
	Declared.
	* optabs.c (init_optabs): Init __bb_find_arc_counters.
	* profile.c: Include libfuncs.h and gthr.h.
	(insert_profiler_initialization): New static function.
	(instrument_edges): Modified.
	(branch_prob): Handle no_profile, insert per-function profiler code.
	(find_spanning_tree): More information to dump.
	(gen_edge_profiler): Generate thread-safe profiling code.
	(output_func_start_profiler): Modified.
	* toplev.c (flag_unsafe_profile_arcs): New.
	(f_options): New flag "unsafe-profile-arcs".

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/ChangeLog.cfg.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.1.2.65&r2=1.1.2.66
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.775.2.13&r2=1.775.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/attribs.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.4.2.1&r2=1.4.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/basic-block.h.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.127.2.6&r2=1.127.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cfgcleanup.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.18.2.15&r2=1.18.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cfglayout.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.2.2.21&r2=1.2.2.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/cfgrtl.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.10.2.10&r2=1.10.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/crtstuff.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.50.2.1&r2=1.50.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/final.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.220.2.5&r2=1.220.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/flags.h.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.70.2.2&r2=1.70.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/function.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.322.2.4&r2=1.322.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/function.h.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.71.2.2&r2=1.71.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/gcov-io.h.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.14.2.1&r2=1.14.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/libfuncs.h.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.2.8.1&r2=1.2.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/libgcc2.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.127.2.5&r2=1.127.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/libgcc2.h.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.20&r2=1.20.8.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/optabs.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.116.2.2&r2=1.116.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/predict.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.44.2.17&r2=1.44.2.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/profile.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.76.2.4&r2=1.76.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/toplev.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.537.2.22&r2=1.537.2.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/gcc/tracer.c.diff?cvsroot=gcc&only_with_tag=cfg-branch&r1=1.1.2.16&r2=1.1.2.17


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]