Commit Graph

54923 Commits

Author SHA1 Message Date
Geoffrey Keating 3afbff37c4 inclhack.def (darwin_macho_dyldh): New.
* fixinc/inclhack.def (darwin_macho_dyldh): New.
	* fixinc/fixincl.x: Regenerate.

From-SVN: r74819
2003-12-19 06:19:26 +00:00
Andreas Tobler d9b000b18c gcc_update (files_and_dependencies): For libjava/libltdl directory, remove acconfig.h.
2003-12-19  Andreas Tobler  <a.tobler@schweiz.ch>

	* gcc_update (files_and_dependencies): For libjava/libltdl directory,
	remove acconfig.h. No longer used.

From-SVN: r74818
2003-12-19 06:50:14 +01:00
Kazu Hirata 4fe5f18266 fibheap.h (fibnode): Use unsigned long int for bit-fields if __GNUC__ is defined.
* include/fibheap.h (fibnode): Use unsigned long int for
	bit-fields if __GNUC__ is defined.

From-SVN: r74817
2003-12-19 03:17:40 +00:00
Fernando Nasser d416de057b List.java (replaceItem): Prevent selection to move with replace and minimize flickering.
2003-12-18  Fernando Nasser  <fnasser@redhat.com>

        * java/awt/List.java (replaceItem): Prevent selection to move with
        replace and minimize flickering.

From-SVN: r74814
2003-12-19 02:53:36 +00:00
GCC Administrator 6310608457 Daily bump.
From-SVN: r74811
2003-12-19 00:16:07 +00:00
Dara Hazeghi 56d3513643 Change version number from 3.4 -> 3.4.0
From-SVN: r74809
2003-12-18 22:50:48 +00:00
Kelley Cook 90c2f1deb1 gcc_update (files_generated): Add in gcc/ada/stamp-xgnatug and update gcc/ada/gnat_ug_* to use it.
contrib/
2003-12-18  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_update (files_generated): Add in gcc/ada/stamp-xgnatug and update
	gcc/ada/gnat_ug_* to use it.

gcc/ada/
2003-12-18  Kelley Cook  <kcook@gcc.gnu.org>

	* stamp-xgnatug: New stamp file.
	* Make-lang.in (stamp-xgnatug):  New stamp file and comment.
	(ada/doctools/xgnatug): Add $(build_exeext).
	(ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi
	ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug.

From-SVN: r74808
2003-12-18 22:40:38 +00:00
Andrew Pinski 01d0a156a8 re PR debug/12923 (ICE in gen_subprogram_die, at dwarf2out.c:10607 with -O1 -g)
PR debug/12923
	* gcc.dg/20031218-1.c: New test.

	PR debug/12389
	* gcc.dg/20031218-2.c: New test.
	* gcc.dg/20031218-3.c: New test.

From-SVN: r74807
2003-12-18 14:19:11 -08:00
Richard Henderson 4f2ca7f524 genrecog.c (print_host_wide_int): New.
* genrecog.c (print_host_wide_int): New.
        (write_switch, write_cond): Use it.

From-SVN: r74806
2003-12-18 14:10:06 -08:00
Andrew Pinski 0b667ed86d mangle18-1.C: Modify regexp to test for `[...
2003-12-18  Andrew Pinski  <pinskia@physics.uc.edu>

        * g++.dg/abi/mangle18-1.C: Modify regexp to test for `[: \t\n]' at end
        of label name and allow for USER_LABEL_PREFIX == "_" names.
        * g++.dg/abi/mangle18-2.C: Likewise.
        * g++.dg/abi/mangle19-1.C: Likewise.
        * g++.dg/abi/mangle19-2.C: Likewise.
        * g++.dg/abi/mangle20-1.C: Likewise.
        * g++.dg/abi/mangle20-2.C: Likewise.

From-SVN: r74805
2003-12-18 14:03:44 -08:00
Jason Merrill 373a04f11b note that in-out operands should only be used with register constraints
From-SVN: r74802
2003-12-18 16:27:03 -05:00
Michael Koch f37d2ca669 ltdl.c: Define __private_extern__ if needed.
2003-12-18  Michael Koch  <konqueror@gmx.de>

	* libltdl/ltdl.c: Define __private_extern__ if needed.

From-SVN: r74801
2003-12-18 21:23:47 +00:00
Michael Koch c09f797a8c cvsignore: Ignore autom4te.cache
2003-12-18  Michael Koch  <konqueror@gmx.de>

	* libltdl/.cvsignore: Ignore autom4te.cache
	* libltdl/Makefile.in: Regenerated.
	* libltdl/aclocal.m4: Regenerated.
	* libltdl/acconfig.h: Removed (obsolete).
	* libltdl/config-h.in: Regenerated.
	* libltdl/configure.ac: Added AM_MAINTAINER_MODE.
	* libltdl/configure: Regenerated.

From-SVN: r74800
2003-12-18 21:18:36 +00:00
Jason Merrill d20db24204 re PR c++/12253 ([tree-ssa] ICE on conversion to std::string inside array initialization)
PR c++/12253
        * init.c (build_vec_init): Initialization of an element from
        an initializer list is also a full-expression.

From-SVN: r74798
2003-12-18 16:03:42 -05:00
Richard Henderson a3bf324c46 c-decl.c (check_bitfield_type_and_width): Remove enum special case suppression of pedwarn.
* c-decl.c (check_bitfield_type_and_width): Remove enum special
        case suppression of pedwarn.
        * system.h (ENUM_BITFIELD): Use __extension__.
        (CHAR_BITFIELD): Likewise.
cp/
        * cp-tree.h (struct lang_type_header): Remove __extension__.
testsuite/
        * gcc.dg/bitfld-1.c: Expect warnings for enum bitfields.

From-SVN: r74797
2003-12-18 13:03:24 -08:00
Michael Koch 28e4696cc1 mauve-libgcj: Removed the disabling of java.text.ACIAttribute and...
2003-12-18  Michael Koch  <konqueror@gmx.de>

	* mauve-libgcj: Removed the disabling of java.text.ACIAttribute and
	java.text.CollationElementIterator tests as they compile again.
	* testsuite/libjava.mauve/xfails: Added failing
	java.text.CollationElementIterator tests.

From-SVN: r74796
2003-12-18 20:23:48 +00:00
Benjamin Kosnik 4d54539c8f stl_list.h: Formatting tweaks.
2003-12-18  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_list.h: Formatting tweaks.
	* include/bits/list.tcc: Same.

From-SVN: r74795
2003-12-18 20:23:04 +00:00
Ulrich Weigand 91d39d71c8 s390.md (UNSPEC_SRST): New constant.
* config/s390/s390.md (UNSPEC_SRST): New constant.
	("strlendi", "strlensi"): New expanders.
	("*strlendi", "*strlensi"): New insns.

Co-Authored-By: Mark Dettinger <dettinge@de.ibm.com>

From-SVN: r74794
2003-12-18 20:22:30 +00:00
Mark Mitchell 61aaea2317 sol2.h (LINK_ARCH32_SPEC): Define in terms of ...
* config/sol2.h (LINK_ARCH32_SPEC): Define in terms of ...
	(LINK_ARCH32_SPEC_BASE): ... this new macro.
	* config/sparc/sol2-bi.h (LINK_ARCH64_SPEC): Define in terms of
	...
	(LINK_ARCH64_SPEC_BASE): ... this new macro.
	* config/sparc/sol2-gld-bi.h (LINK_ARCH32_SPEC): New macro.
	(LINK_ARCH64_SPEC): Likewise.

From-SVN: r74793
2003-12-18 20:13:51 +00:00
Jason Merrill 8a90e86dbf re PR middle-end/13234 (ICE when dumping a translation unit)
PR middle-end/13234
        * tree-dump.c (dequeue_and_dump): Handle 'r' and 's' code
        classes.

From-SVN: r74791
2003-12-18 15:09:40 -05:00
Jason Merrill 67c0383302 re PR c++/12253 ([tree-ssa] ICE on conversion to std::string inside array initialization)
PR c++/12253
        * init.c (build_vec_init): Initialization of an element from
        an initializer list is also a full-expression.

        * parser.c, pt.c, semantics.c: Rename constant_expression_p
        to integral_constant_expression_p.

From-SVN: r74790
2003-12-18 14:53:10 -05:00
Steven Bosscher d11994a8c3 re PR other/12009 (g++.dg, compat.exp fail to crosscompile testcases)
PR other/12009
	* g++.dg/compat/compat.exp:  Do not set LD_LIBRARY_PATH when
	testing a cross compiler, it causes spurious compile failures.
	* lib/g++.exp: Likewise.

Co-Authored-By: Dan Kegel <dank@kegel.com>

From-SVN: r74789
2003-12-18 19:39:57 +00:00
Matt Austern 8a1d8dd9c8 demangle.h: Fix allocator type correctness, i.e.
* include/bits/demangle.h: Fix allocator type correctness,
	i.e. make sure that when we instantiate a container with a value
	type and an allocator, the allocator's value type matches the
	container's.
	* include/bits/stl_deque.h (_Deque_alloc_base): Eliminate.
	(_Deque_base): inherit directly from the deque's allocator.  Use
	rebinding instead of _Alloc_traits.  Pick up data members from
	_Deque_alloc_base.
	* include/bits/stl_list.h (_List_alloc_base): Eliminate.
	(_List_base): Inherit directly from the list's allocator.  Use
	rebinding instead of _Alloc_traits.  Pick up data members from
	_List_alloc_base.
	* include/bits/stl_vector.h (_Vector_alloc_base): Eliminate
	(_Vector_base): Inherit directly from the vector's allocator.  Use
	rebinding instead of _Alloc_traits.  Pick up data members from
	_Vector_alloc_base.
	* include/ext/hashtable.h: Fix allocator type correctness (the
	vector of buckets must be passed an allocator for objects of
	type _Node*).  Use rebinding instead of _Alloc_traits.

From-SVN: r74787
2003-12-18 18:35:38 +00:00
Steven Bosscher 38700ceee7 Makefile.in (tracer.o, [...]): Depend on timevar.h
* Makefile.in (tracer.o, bb-reorder.o): Depend on timevar.h
	* toplev.c (rest_of_handle_reorder_blocks, rest_of_handle_tracer):
	Don't push and pop TV_REORDER_BLOCKS timevars, do it...
	* bb-reorder.c (reorder_basic_blocks): ...here, and...
	* tracer.c (tracer): here.

From-SVN: r74786
2003-12-18 17:07:24 +00:00
Michael Koch a7296ae157 2003-12-18 Michael Koch <konqueror@gmx.de>
* java/util/prefs/AbstractPreferences.java
	(cachedChildren): New method.

From-SVN: r74785
2003-12-18 16:48:33 +00:00
Michael Koch e969bcdbbc TimeZone.java (getOffset): New method.
2003-12-18  Michael Koch  <konqueror@gmx.de>

	* java/util/TimeZone.java (getOffset): New method.

From-SVN: r74784
2003-12-18 16:43:02 +00:00
Kriang Lerdsuwanakij bc5ada8472 re PR c++/13262 ("xxx is private within this context" when initializing a *self-contained* template class)
PR c++/13262
	* pt.c (instantiate_decl): Wrap push_nested_class and
	pop_nested_class around cp_finish_decl call for static member
	variable.

	* g++.dg/template/access13.C: New test.

From-SVN: r74780
2003-12-18 14:14:48 +00:00
Ulrich Weigand cebf212fa5 loop.c (move_movables): Handle combination of m->consec...
ChangeLog:
	* loop.c (move_movables): Handle combination of m->consec,
	m->move_insn_first, and m->insert_temp all nonzero correctly.
testsuite/ChangeLog:
	* gcc.dg/20031216-1.c: New test.

From-SVN: r74778
2003-12-18 12:15:37 +00:00
Giovanni Bajo 51287c1498 re PR c++/9154 (poor error message for ">>" vs. "> >" for nested template args)
PR c++/9154
	* g++.dg/template/error10.C: New test.

From-SVN: r74777
2003-12-18 12:00:08 +00:00
Giovanni Bajo 4d5297fad4 re PR c++/9154 (poor error message for ">>" vs. "> >" for nested template args)
PR c++/9154
	* parser.c (cp_parser_template_argument): A type-id followed by '>>'
	is just an user typo, and should be accepted as last resort if any
	other parsing fails.
	(cp_parser_enclosed_template_argument_list): If the argument list is
	parsed correctly, but the next token is '>>', emit a diagnostic.
	(cp_parser_next_token_ends_template_argument): Accept '>>' as
	delimiter of template argument, it will be later detected as a typo.

From-SVN: r74776
2003-12-18 11:50:58 +00:00
Eric Botcazou a21f130e82 simd-1.C: XFAIL on SPARC.
* g++.dg/eh/simd-1.C: XFAIL on SPARC.
	* g++.dg/eh/simd-2.C: Likewise.

From-SVN: r74775
2003-12-18 10:46:40 +00:00
Kazu Hirata ba029213df calls.c (load_register_parameters): Don't use LOAD_ARGS_REVERSED.
* calls.c (load_register_parameters): Don't use
	LOAD_ARGS_REVERSED.
	* system.h (LOAD_ARGS_REVERSED): Poison.
	* doc/tm.texi (LOAD_ARGS_REVERSED): Remove.

From-SVN: r74773
2003-12-18 05:50:43 +00:00
Per Bothner f9bed9d36e emit-rtl.c (set_new_first_and_last_label_num): Remove function.
* emit-rtl.c (set_new_first_and_last_label_num):  Remove function.
	* rtl.h (set_new_first_and_last_label_num):  Remove declaration.

From-SVN: r74772
2003-12-17 21:41:44 -08:00
Alexandre Oliva 5da1fd3dc2 frv.c (frv_ifcvt_modify_insn): Don't leave alone scratch insns of the then branch that clobber regs needed by...
* config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone
scratch insns of the then branch that clobber regs needed by the
else branch.

From-SVN: r74771
2003-12-18 04:24:06 +00:00
Kazu Hirata 4ac8340c31 calls.c (expand_call): Update comments.
* calls.c (expand_call): Update comments.
	* system.h (PRETEND_OUTGOING_VARARGS_NAMED): Poison.
	* targhooks.c: Do not refer to PRETEND_OUTGOING_VARARGS_NAMED.

From-SVN: r74770
2003-12-18 03:29:04 +00:00
James E Wilson b0656d8b25 Fix for IA-64 glibc math test failures.
* Makefile.in (gcse.o): Add $(TREE_H) to dependencies.
* gcse.c: Include tree.h.
(implicit_set_cond_p): New.
(find_implicit_sets): Call it.
* gcc.c-torture/execute/ieee/mzero5.c: New.

Co-Authored-By: Roger Sayle <roger@eyesopen.com>

From-SVN: r74769
2003-12-17 18:45:18 -08:00
Santiago Vila d4ac5ffabb From Santiago Vila
* config/kfreebsdgnu.h (TARGET_OS_CPP_BUILTINS): Rename from
TARET_OS_CPP_BUILTINS.

From-SVN: r74768
2003-12-17 18:32:11 -08:00
Kelley Cook 58416236dc Make-lang.in: Replace cp/g++.1 with $(docobjdir)/g++.1.
2003-12-17  Kelley Cook  <kcook@gcc.gnu.org>

	* Make-lang.in: Replace cp/g++.1 with $(docobjdir)/g++.1.

From-SVN: r74766
2003-12-18 00:51:26 +00:00
GCC Administrator 2ca6078745 Daily bump.
From-SVN: r74762
2003-12-18 00:16:07 +00:00
Kazu Hirata c5898ca82c * emit-rtl.c: Fix signed/unsigned comparison warnings.
From-SVN: r74758
2003-12-17 23:46:34 +00:00
Joseph Myers 2c45a16ab6 predict.c (struct block_info_def, [...]): Change bit-fields of width 1 to unsigned int.
* predict.c (struct block_info_def, struct edge_info_def): Change
	bit-fields of width 1 to unsigned int.

From-SVN: r74757
2003-12-17 23:44:45 +00:00
Paolo Carlini 7e08b3b816 locale_facets.tcc (time_get::_M_extract_via_format): Use narrow to get from __format[__i] a char __c representing a formatting code...
2003-12-17  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
	Use narrow to get from __format[__i] a char __c representing a
	formatting code, don't use it to compare *__beg to __format[__i].
	* testsuite/22_locale/time_get/get_date/wchar_t/4.cc: New.

From-SVN: r74755
2003-12-17 22:14:09 +00:00
Geoffrey Keating 7a681365b9 re PR pch/12480 (pch error messages do not say they for PCH.)
PR 12480
	* c-pch.c (pch_init): Improve error message when precompiled
	header can't be written.

	PR 12606
	* c-pch.c (pch_init): Make a PCH file appear invalid while it's
	being written.
	(c_common_write_pch): Make it valid once it's done.

From-SVN: r74754
2003-12-17 22:04:34 +00:00
Ulrich Weigand 287ff1982c re PR target/11992 (Wrong built-in code for memcmp with length 1<<24 only (1<<24)-1 possible for CLCL-Instruction)
PR target/11992
	* config/s390/s390.md ("*cmpmem_long_64"): Use CLCLE instruction
	instead of CLCL.
	("*cmpmem_long_31"): Likewise.

From-SVN: r74752
2003-12-17 21:51:57 +00:00
Vladimir Makarov c856f53627 ia64.c: Add more comments about insn bundling.
2003-12-17  Vladimir Makarov  <vmakarov@redhat.com>

	* config/ia64/ia64.c: Add more comments about insn bundling.

From-SVN: r74751
2003-12-17 20:29:02 +00:00
Richard Earnshaw 4d450e9ac8 re PR rtl-optimization/10592 ([arm] caller-save incorrectly handles a reloaded SET_DEST operand)
PR optimization/10592
* caller-save.c (mark_referenced_regs): Don't short-circuit a reg
or subreg in SET_DEST if it isn't a hard register.

From-SVN: r74747
2003-12-17 18:20:44 +00:00
David Edelsohn 77e86c9109 collect2.c (main): Add -fno-profile-arcs -fno-test-coverage -fno-branch-probabilities to arguments...
* collect2.c (main): Add -fno-profile-arcs -fno-test-coverage
        -fno-branch-probabilities to arguments when compiling ctors and
        dtors.

From-SVN: r74746
2003-12-17 13:14:45 -05:00
Fernando Nasser f84241ba7d GtkListPeer.java (handleEvent): Fix generation of ActionEvents for mouse double-clicks.
2003-12-17  Fernando Nasser  <fnasser@redhat.com>

        * gnu/java/awt/peer/gtk/GtkListPeer.java (handleEvent): Fix generation
        of ActionEvents for mouse double-clicks.

From-SVN: r74745
2003-12-17 18:02:56 +00:00
Fernando Nasser 310b075bd8 GtkContainerPeer.java (handleEvent): Check for null Graphics pointer returned by FileDialogPeer.
2003-12-16  Fernando Nasser  <fnasser@redhat.com>

        * gnu/java/awt/peer/gtk/GtkContainerPeer.java (handleEvent): Check for
        null Graphics pointer returned by FileDialogPeer.

From-SVN: r74744
2003-12-17 17:20:00 +00:00
Mark Mitchell 5c832178f8 re PR c++/10603 (failing to print problematic token upon parse error)
PR c++/10603
	PR c++/12827
	* parser.c (cp_parser_error): Help c_parse_error print good
	messages if the next token is a keyword.
	(cp_parser_parameter_declaration_list): When resynchronizing after
	a bad parameter declaration, stop if a comma is found.
	(cp_parser_parameter_declaration): Avoid backtracking.

	PR c++/10603
	* g++.dg/parse/error6.C: New test.

	PR c++/12827
	* g++.dg/parse/error7.C: New test.

From-SVN: r74743
2003-12-17 16:58:14 +00:00