Commit Graph

62 Commits

Author SHA1 Message Date
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
Oliver Tappe
8b36716003 revert ehopt.c (exception handling info optimizer) to the version from
binutils 2.10.1, as the optimizer in binutils 2.11.2 fails to optimize
	anything that has been produced by gcc 2.95.3.
	This patch yields (much) smaller eh-sections, resulting in smaller
	executables and libs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:10:44 +00:00
Oliver Tappe
3a75ceffb4 add new option -priority=<prio>, the default is now 5 (B_LOW_PRIORITY)
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:09:54 +00:00
Oliver Tappe
403ef65902 circumvent the newer BeOS loader instability when it has to deal
with R_386_NONE reloc-entries with zero offset.


git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:09:32 +00:00
Oliver Tappe
2a516d7eb9 add support for BeOS-target
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 18:08:46 +00:00
Oliver Tappe
0d415dc8a4 Initial revision
git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@9568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-28 17:57:26 +00:00