Commit Graph

53127 Commits

Author SHA1 Message Date
Nathanael Nerode
3fc87ac147 * config.gcc (cris-*-linux*): Revert mistaken commit.
From-SVN: r71970
2003-10-01 11:14:01 +00:00
Eric Botcazou
8ee37f152b re PR rtl-optimization/11753 (%o7 register being used immediately in the delay slot before a call with -O2)
PR optimization/11753
	* config/sparc/sparc.md (length attribute) [fcc branch]: Add 1 to
	the length in the non-V9 case.

From-SVN: r71968
2003-10-01 06:08:35 +00:00
Richard Henderson
ed80cd6809 dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor DWARF_ALT_FRAME_RETURN_COLUMN.
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor
        DWARF_ALT_FRAME_RETURN_COLUMN.
        * unwind-dw2.c (dwarf_reg_size_table): Expand by one.
        (_Unwind_GetGR, _Unwind_SetGR): Validate lookup column.
        (uw_frame_state_for): Return end-of-stack for null return address.
        * doc/tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Add.

        * config/alpha/alpha.c (alpha_sa_mask): Add r31 for eh_return.
        (alpha_expand_prologue): Store a zero for it.
        (alpha_expand_epilogue): Don't reload it.
        * config/alpha/alpha.h (DWARF_ALT_FRAME_RETURN_COLUMN): New.
        * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Use column 64
        for the sigframe return address.

From-SVN: r71967
2003-09-30 23:01:47 -07:00
GCC Administrator
6ab7003d15 Daily bump.
From-SVN: r71963
2003-10-01 00:16:08 +00:00
Kaveh Ghazi
e7b917081c Add note about PR 6222 fixed by prior patch
From-SVN: r71961
2003-09-30 23:06:14 +00:00
Kaveh Ghazi
acad01a577 Add PR 9200 to prior patch
From-SVN: r71960
2003-09-30 23:01:17 +00:00
Richard Henderson
69ee808667 * decl.c (duplicate_decls): Copy DECL_SAVED_INSNS too.
From-SVN: r71959
2003-09-30 15:58:39 -07:00
Kelley Cook
bf9d3c2774 Convert to ISO C90 prototypes.
From-SVN: r71957
2003-09-30 21:49:01 +00:00
Kelley Cook
6594e599c3 cygwin1.c: Convert to ISO C90 prototypes.
2003-09-30  Kelley Cook  <kelleycoook@wideopenwest.com>

	* config/i386/cygwin1.c: Convert to ISO C90 prototypes.
	* config/i386/winnt.c: Likewise.
	* config/i386/cygming.h: Likewise.

From-SVN: r71956
2003-09-30 21:28:09 +00:00
Kazu Hirata
518723777f fold-const.c (fold): Fold (A & ~B) - (A & B) into (A ^ B) - B for any B.
* fold-const.c (fold): Fold (A & ~B) - (A & B) into
	(A ^ B) - B for any B.

From-SVN: r71953
2003-09-30 21:07:41 +00:00
Paolo Carlini
ae7c3ba55f stl_algo.h: Minor cosmetic reformattings.
2003-09-30  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/stl_algo.h: Minor cosmetic reformattings.

From-SVN: r71950
2003-09-30 20:16:28 +00:00
Roger Sayle
d186e676b6 jcf-write.c (generate_bytecode_insns): Implement evaluate-once semantics for SAVE_EXPR...
* jcf-write.c (generate_bytecode_insns): Implement evaluate-once
	semantics for SAVE_EXPR, by caching the result in a temporary.

From-SVN: r71949
2003-09-30 18:24:33 +00:00
Nathanael Nerode
8cefb55d77 config.gcc (arm*-*-kaos*, [...]): Disable fixproto.
* config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
	powerpcle-*-kaos*, strongarm-*-kaos*): Disable fixproto.

From-SVN: r71948
2003-09-30 17:23:47 +00:00
Paolo Carlini
cbc6c296e6 stl_algo.h (search_n): Tweak, to spare the first --__n.
2003-09-30  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/stl_algo.h (search_n): Tweak, to spare the
	first --__n.

From-SVN: r71946
2003-09-30 17:03:52 +00:00
Paolo Carlini
2ea247d376 12352.cc: Explicitly qualify exception name.
2003-09-30  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/22_locale/locale/cons/12352.cc: Explicitly
	qualify exception name.

From-SVN: r71945
2003-09-30 15:19:33 +00:00
Paolo Carlini
155f6fbb62 re PR libstdc++/12438 (Memory leak in locale::combine())
2003-09-30  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/12438
	* include/bits/locale_facets.tcc (locale::combine): Don't
	leak memory if _M_replace_facet throws.
	* testsuite/22_locale/locale/cons/12438.cc: New, from the PR.

	* include/bits/locale_classes.h (locale::locale(const locale&,
	_Facet*)): Tweak, use consistently _M_remove_reference.

From-SVN: r71943
2003-09-30 13:44:59 +00:00
Gabriel Dos Reis
daafa301e4 decl.c (pop_binding): Don't mess with nullifying binding->scope here.
* decl.c (pop_binding): Don't mess with nullifying binding->scope
	here.
	* name-lookup.c: Re-format.
	(cxx_binding_free): Nullify binding->scope.

From-SVN: r71942
2003-09-30 11:56:25 +00:00
Richard Earnshaw
5fb1287933 * arm/ieee754-sf.S: Tidy formatting.
From-SVN: r71941
2003-09-30 10:38:10 +00:00
Nicolas Pitre
6a436e5e45 Nicolas Pitre <nico@cam.org>
Nicolas Pitre <nico@cam.org>
* arm/lib1funcs.asm (ARM_DIV_MOD_BODY) split into ARM_DIV_BODY
and ARM_MOD_BODY.
(ARM_MOD_BODY): rewritten. added clz insns for __ARM_ARCH__ >= 5.
(ARM_DIV_BODY): added clz insns for __ARM_ARCH__ >= 5,
added better divisor alignment in the other case.
(ARM_DIV2_ORDER): added, finds the order of a single bit divisor.
(__divsi3, __udivsi3, __modsi3, __umodsi3): rewritten using the
macros above, add fast exits for divisor >= dividend, etc.

From-SVN: r71940
2003-09-30 10:30:32 +00:00
Richard Earnshaw
47edf59e90 Nicolas Pitre <nico@cam.org>
Nicolas Pitre <nico@cam.org>
* arm/ieee754-df.S: split compilation of fixunsdfsi from
L_fixdfsi target.
* arm/t-arm-elf: add _fixunsdfsi target due to the above.

From-SVN: r71939
2003-09-30 10:21:41 +00:00
Nathanael Nerode
ec2a60b0c4 * config.gcc: Default use_fixproto to 'no'.
From-SVN: r71938
2003-09-30 10:16:39 +00:00
Paolo Carlini
70863cbd39 PR libstdc++/12352 (cont)
2003-09-30  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/12352 (cont)
	* src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
	Don't leak __cloc; don't leak if any of the _M_init_facet(...)
	calls fail.
	(locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
	(locale::_Impl::~_Impl): Don't do anything if !_M_facets,
	!_M_caches, !_M_names.

From-SVN: r71936
2003-09-30 07:28:51 +00:00
Richard Sandiford
573850d4cb re PR rtl-optimization/12345 (internal compiler error: verify_flow_info failed)
PR optimization/12345
	* config/mips/mips-protos.h (mips_restore_gp): Remove.
	(mips_gp_save_slot): Declare.
	* config/mips/mips.c (mips_restore_gp): Remove in favor of...
	(mips_gp_save_slot): ...this new function.
	* config/mips/mips.md (exception_receiver): Use mips_gp_save_slot
	and mips_output_move to generate the output template.
	(call_internal): Force splitting if TARGET_SPLIT_CALLS.  Don't emit
	a gp load after a noreturn call.  Load the gp using a move rather
	than an exception_receiver pattern.
	(call_value_internal, call_value_multiple_internal): Likewise.
	(call_split, call_value_split, call_value_multiple_split): Clobber $28.

From-SVN: r71935
2003-09-30 07:14:39 +00:00
GCC Administrator
3c44a3c4b7 Daily bump.
From-SVN: r71929
2003-09-30 00:16:07 +00:00
Carlo Wood
b82c4660a5 re PR debug/12319 (Wrong DW_AT_low_pc and DW_AT_high_pc for DW_TAG_inlined_subroutine)
PR debug/12319
* cfglayout.c (insn_scope):  Use prologue_locator and
epilogue_locator; return the outer function scope for
pro- and epilogue insns.

From-SVN: r71926
2003-09-29 23:09:12 +00:00
Carlo Wood
6fe2eacc48 MAINTAINERS (Write After Approval): Add myself.
2003-09-30  Carlo Wood  <carlo@alinoe.com>

* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r71925
2003-09-29 22:51:00 +00:00
Zack Weinberg
563556ca7a objc-act.c (encode_type): Encode INTEGER_TYPEs and REAL_TYPEs based on the bitsize of the type's mode...
* objc/objc-act.c (encode_type): Encode INTEGER_TYPEs and
	REAL_TYPEs based on the bitsize of the type's mode, not the
	mode directly.

From-SVN: r71923
2003-09-29 22:28:58 +00:00
Zack Weinberg
21e6f0257f target.c (FFETARGET_ATOF_): Delete.
f:
	* target.c (FFETARGET_ATOF_): Delete.
	(ffetarget_real1, ffetarget_real2): Use real_from_string directly.
	* target.h (FFETARGET_REAL_VALUE_FROM_INT_,
	FFETARGET_REAL_VALUE_FROM_LONGLONG_): Use mode_for_size,
	don't refer to SFmode or DFmode directly.

From-SVN: r71922
2003-09-29 22:21:15 +00:00
Zack Weinberg
783be936d2 trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to initialize dconstp5 and dconstmp5.
ada:
	* trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to
	initialize dconstp5 and dconstmp5.

From-SVN: r71921
2003-09-29 22:14:01 +00:00
Rainer Orth
9d34041928 dwarf2out.c (default_eh_frame_section): Split into ...
* dwarf2out.c (default_eh_frame_section): Split into ...
	(named_section_eh_frame_section, collect2_eh_frame_section): ... new
	functions.
	* output.h (named_section_eh_frame_section): Declare.
	(collect2_eh_frame_section): Likewise.

From-SVN: r71920
2003-09-29 22:07:39 +00:00
Zack Weinberg
bc800bb247 * real.c (real_sqrt): Use get_canonical_qnan directly.
From-SVN: r71919
2003-09-29 21:59:58 +00:00
Zack Weinberg
d464f1b822 * dwarf2out.c (add_const_value_attribute): Use real_to_target.
From-SVN: r71918
2003-09-29 21:52:25 +00:00
Zack Weinberg
b409761a1f varasm.c (assemble_real): Use real_to_target directly...
* varasm.c (assemble_real): Use real_to_target directly,
	calculate the number of significant elements of the result
	array and write them out in a loop, instead of using a giant
	switch statement to pick the correct REAL_VALUE_TO_TARGET_*
	macro.

From-SVN: r71917
2003-09-29 21:29:11 +00:00
Jan Hubicka
f820b0cf2c re PR c++/12175 (Tru64 UNIX bootstrap failure: multiply defined symbols linking libstdc++.so)
PR c++/12175
	* varasm.c (notice_global_symbol): Discard external symbols.

	PR optimization/12286
	* gcov-io.c (gcov_read_words): Fix memmove call.
	* profile.c (compute_branch_probabilities): Add extra sanity checks.

	PR C++/12047
	* except.c (build_eh_type_type): Call mark_used on the type.

From-SVN: r71916
2003-09-29 21:19:10 +00:00
Tom Tromey
2cd5614273 re PR libgcj/10596 (Reference and String.intern don't work together)
PR libgcj/10596:
	* include/jvm.h (_Jv_FinalizeString,
	_Jv_RegisterStringFinalizer): Declare.
	* java/lang/natString.cc (_Jv_FinalizeString): Renamed from
	unintern.
	(intern): Updated.
	(_Jv_NewStringUtf8Const): Likewise.
	* java/lang/ref/natReference.cc (finalize_referred_to_object):
	Add special case when finalizing a String.
	(in_hash): New function.
	(_Jv_RegisterStringFinalizer): Likewise.
	(maybe_add_finalize): Likewise.

From-SVN: r71915
2003-09-29 21:13:55 +00:00
Rainer Orth
51ac684e52 configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris 2.3/SPARC...
boehm-gc:
	* configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris
	2.3/SPARC, there are no micro versions.
	Treat Solaris 10 and up alike.
	* configure: Regenerate.

	gcc:
	* config.gcc (sparc-*-solaris2*): Handle Solaris 10 and up like
	Solaris 7-9.

	* fixinc/inclhack.def (solaris_widec): Replace solaris2.[0-5]* by
	wildcards which explicitly match micro versions.
	* fixinc/fixincl.x: Regenerate.

	libstdc++-v3:
	* configure.host: Handle Solaris 2.5 micro releases explicitly.
	Remove wildcards from Solaris 2.6, 7-9: there were no
	micro releases.
	Treat Solaris 10 and up like 7-9.

From-SVN: r71914
2003-09-29 20:02:08 +00:00
Paolo Carlini
6821a40b74 stl_algo.h (search_n): Improve the previous fix as suggested by Martin.
2003-09-29  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/stl_algo.h (search_n): Improve the previous
	fix as suggested by Martin.

From-SVN: r71913
2003-09-29 19:43:04 +00:00
Richard Kenner
3ec278de0b Remove extra comma in comment.
From-SVN: r71912
2003-09-29 13:41:47 -04:00
Paolo Carlini
e5012ba5ec [multiple changes]
2003-09-29  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/12296
	* include/bits/istream.tcc (peek): Set eofbit if sgetc
	returns eof.
	* testsuite/27_io/basic_istream/peek/char/12296.cc:
	New, from the PR.

2003-09-29  Nathan Myers  <ncm@cantrip.org>
	    Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/11400
	* include/bits/stl_algo.h (search_n):
	Use iterator_traits<>::difference_type for __n.
	* testsuite/25_algorithms/search_n/11400.cc: New, from the PR.

From-SVN: r71911
2003-09-29 17:36:18 +00:00
Kazu Hirata
38b35623d3 fold-const.c (fold): Fold (A & ~B) - (A & B) into (A ^ B) - B, where B is any power of 2 minus 1.
* fold-const.c (fold): Fold (A & ~B) - (A & B) into
	(A ^ B) - B, where B is any power of 2 minus 1.

From-SVN: r71910
2003-09-29 17:35:11 +00:00
Richard Henderson
1ffcc35206 * g++.dg/init/array10.C: Add dg-options.
From-SVN: r71907
2003-09-29 10:16:09 -07:00
Jan Hubicka
43ac26234a * libgcov.c (gcov_exit): Fix two pastos.
From-SVN: r71906
2003-09-29 17:09:36 +00:00
Kazu Hirata
681a664b13 h8300.md (*tst_extzv_1_n): Combine with the define_split immediately below to form define_insn_and_split.
* config/h8300/h8300.md (*tst_extzv_1_n): Combine with the
	define_split immediately below to form define_insn_and_split.

From-SVN: r71903
2003-09-29 16:34:09 +00:00
Kazu Hirata
22a3d55fdf h8300.md (*tstsi_variable_bit): New.
* config/h8300/h8300.md (*tstsi_variable_bit): New.
	(*tstsi_variable_bit_qi): Likewise.

From-SVN: r71902
2003-09-29 16:32:28 +00:00
Paul Koning
ea57e5adfa MAINTAINERS: Move myself from "Write After Approval" to CPU platform maintainers for pdp11...
* MAINTAINERS: Move myself from "Write After Approval"
to CPU platform maintainers for pdp11 platform.

From-SVN: r71901
2003-09-29 12:27:40 -04:00
Michael Koch
fc5532c0c5 Fixed little typo.
From-SVN: r71900
2003-09-29 12:05:41 +00:00
Michael Koch
b47ea0e89c 2003-09-29 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
	(isMulticastAddress): Dont use local variable to store address length.
	Let the compiler optimize this.
	(getHostName): Merged dcoumentation from classpath.
	(getAddress): Likewise.
	(getHostAddress): Likewise.
	(hashCode): Likewise.
	(equals): Likewise.
	(toString): Likewise.
	(getByName): Likewise.
	(getAllByName): Likewise.

From-SVN: r71899
2003-09-29 11:53:23 +00:00
Michael Koch
3887819542 IndexColorModel.java: Reformated.
2003-09-29  Michael Koch  <konqueror@gmx.de>

	* java/awt/image/IndexColorModel.java: Reformated.

From-SVN: r71898
2003-09-29 11:28:58 +00:00
Michael Koch
7da1da8352 InetAddress.java, URL.java: Reformated.
2003-09-29  Michael Koch  <konqueror@gmx.de>

	* java/net/InetAddress.java,
	java/net/URL.java: Reformated.

From-SVN: r71897
2003-09-29 11:24:28 +00:00
Paolo Carlini
6cd6aed790 12352.cc: Use __attribute__((unused)) for test.
2003-09-29  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/22_locale/locale/cons/12352.cc:
	Use __attribute__((unused)) for test.

From-SVN: r71896
2003-09-29 08:25:17 +00:00