17 Commits

Author SHA1 Message Date
Oliver Tappe
e8b05382a1 [taken from gcc-2.95.3-latest-cvs]
Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
   * reload1.c (reload_combine_note_use): Handle return register USEs.
     REG case: Handle multi-hard-register hard regs.
	* reload1.c (delete_output_reload): Call eliminate_regs on substed.
	  (reload_as_needed): Call update_eliminable_offsets a bit later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:23:57 +00:00
Oliver Tappe
0e9863ca9a [taken from gcc-2.95.3-latest-cvs]
2001-03-16  Jakub Jelinek  <jakub@redhat.com>
	* loop.c (combine_movables): Restrict combinations of constants with
	different modes so that we don't introduce SUBREGs into memory
	addresses.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:23:35 +00:00
Oliver Tappe
da36187c7a [taken from gcc-2.95.3-latest-cvs]
2001-03-28  Bernd Schmidt  <bernds@redhat.com>
	* jump.c (jump_optimize_1): Move call to delete_barrier_successors to
	a point where JUMP_LABELS and LABEL_NUSES are set up properly.
	(delete_barrier_successors): If deleting a table jump, delete the case
	vector as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:23:18 +00:00
Oliver Tappe
48228ca39b [taken from gcc-2.95.3-latest-cvs]
fix bug with error-file not being noted in one case.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:22:55 +00:00
Oliver Tappe
d9bb2c14a8 [taken from gcc-2.95.3-latest-cvs]
2000-10-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
	* function.c (locate_and_pad_parm): Don't align stack unconditionally.
	Fri Nov  5 10:07:25 1999  Nick Clifton  <nickc@cygnus.com>
	* function.c (is_addressof): New function.  Returns true if


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:22:34 +00:00
Oliver Tappe
4837867f67 [taken from gcc-2.95.3-latest-cvs]
2001-03-28  Bernd Schmidt  <bernds@redhat.com>
	* flow.c (propagate_block): When trying to delete a case vector, cope
	if its label has LABEL_PRESERVE_P set.
	* varasm.c (force_const_mem): If we have a label, set LABEL_PRESERVE_P
	so it won't get deleted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:22:17 +00:00
Oliver Tappe
a8e3cfa07e [taken from gcc-2.95.3-latest-cvs]
from 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
	* final.c (profile_function): Do not emit profile counters in
	the data section, if NO_PROFILE_COUNTERS is defined.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:21:57 +00:00
Oliver Tappe
8d8ec347b1 [taken from gcc-2.95.3-latest-cvs]
Bring back the sjlj eh fixes.
	* expr.c (expand_builtin_setjmp_setup): New.
	(expand_builtin_setjmp_receiver): New.
	(expand_builtin_setjmp): Split out _setup and _receiver functions.
	Move argument parsing in from ...
	(expand_builtin): ... here.
	* except.c (receive_exception_label): Branch around receiver
	unless new-style exceptions.  Call expand_builtin_setjmp_receiver.
	(start_dynamic_handler): Call expand_builtin_setjmp_setup.
	* expr.h: Update builtin setjmp decls.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:21:33 +00:00
Oliver Tappe
cf64b0106b [taken from gcc-2.95.3-latest-cvs]
Wed Aug 25 15:27:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
	* combine.c (nonzero_bits) : Allow single-ly set registers to be
	anywere in the function only if they are pseudos and set before
	being used (not live at the start of the function).
	(num_sign_bit_copies) : Same.
	(get_last_value_validate) : Same.
	(get_last_value) : Same.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:21:13 +00:00
Oliver Tappe
ab0de848b4 [taken from gcc-2.95.3-latest-cvs]
1999-11-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
     * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
	    integer constant does not match the traditional type, limit the
	    warnings to cases where the base of the type is ten.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:20:55 +00:00
Oliver Tappe
0933b55616 [taken from gcc-2.95.3-latest-cvs]
fix bug with __extension__ in pedantic mode.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:20:37 +00:00
Oliver Tappe
c2c76c0b34 [taken from gcc-2.95.3-7-suse]
This patch fixes handling of weak symbols (see
	http://gcc.gnu.org/ml/gcc-bugs/2001-03/msg00406.html).
	2001-03-13  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
    * rtl.h (SYMBOL_REF_WEAK): New macro.
    * varasm.c (make_decl_rtl): Set SYMBOL_REF_WEAK for weak symbols.
    * rtlanal.c (rtx_addr_can_trap_p): A weak SYMBOL_REF can trap.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:20:18 +00:00
Oliver Tappe
e31a22361a [taken from gcc-2.95.3-7-suse]
2001-06-19  Bernd Schmidt  <bernds@redhat.com>
	* regmove.c (optimize_reg_copy_3): Do nothing if previous insn
	carries a REG_EQUIV note.  If it carries REG_EQUAL, delete the
	note.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:20:00 +00:00
Oliver Tappe
288e868d9b [taken from gcc-2.95.3-7-suse]
save/restore warnings during the use of __extension__


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:19:43 +00:00
Oliver Tappe
a20bf576e7 [taken from gcc-2.95.3-7-suse]
fix a bug with double-colon not being accepted when it should be


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:19:24 +00:00
Oliver Tappe
a7498ab1d3 [taken from gcc-2.95.3-7-suse]
2001-08-23  Kurt Garloff  <kurt@garloff.de>
	* integrate.c (function_cannot_inline_p): Reduce max size for
	inlining from 10000 to 2000, double this value (i.e. 4000) for
	leaf functions. Fine tune INTEGRATE_THRESHOLD for -Os.
	* toplev.c (rest_of_compilation): Set current_function_is_leaf
	for function_cannot_inline_p


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:19:07 +00:00
Oliver Tappe
346d84c900 Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:13:23 +00:00