Commit Graph

55257 Commits

Author SHA1 Message Date
GCC Administrator
0d49ce35e3 Daily bump.
From-SVN: r74863
2003-12-20 00:16:06 +00:00
Joseph Myers
be7ac47149 c-format.c (print_char_table): Allow 'I' flag on floating point decimal formats.
* c-format.c (print_char_table): Allow 'I' flag on floating point
	decimal formats.

testsuite:
	* gcc.dg/format/ext-1.c: Allow 'I' flag on floating point decimal
	formats.

From-SVN: r74860
2003-12-20 00:00:39 +00:00
Stuart Hastings
0f901c4c23 i386.c (ix86_expand_call, [...]): Trivial fixes for i386.c on Darwin/x86.
* gcc/config/i386/i386.c (ix86_expand_call, x86_output_mi_thunk):
	Trivial fixes for i386.c on Darwin/x86.

From-SVN: r74859
2003-12-19 23:37:38 +00:00
Fariborz Jahanian
b240b5a250 Test to test -mdynamic-no-pic -O2 -mpowerpc64 on Darwin.
From-SVN: r74858
2003-12-19 23:35:40 +00:00
Fariborz Jahanian
ef342e209f Added code to recognize macho-style lo_sum adrress patterns.
From-SVN: r74857
2003-12-19 23:34:58 +00:00
Fariborz Jahanian
8622e23543 Added TARGET_MACHO to handle lo_sum address recognition.
Reviewed by Geoff.

From-SVN: r74856
2003-12-19 23:32:44 +00:00
Kazu Hirata
926ce8bd97 cvt.c: Remove uses of "register" specifier in declarations of arguments and local...
* cvt.c: Remove uses of "register" specifier in
	declarations of arguments and local variables.
	* decl.c: Likewise.
	* decl2.c: Likewise.
	* expr.c: Likewise.
	* friend.c: Likewise.
	* lex.c: Likewise.
	* name-lookup.c: Likewise.
	* repo.c: Likewise.
	* search.c: Likewise.
	* tree.c: Likewise.
	* typeck.c: Likewise.
	* typeck2.c: Likewise.

From-SVN: r74855
2003-12-19 23:28:11 +00:00
Kazu Hirata
49a2799521 dwarfout.c: Remove uses of "register" specifier in declarations of arguments and local...
* dwarfout.c: Remove uses of "register" specifier in
	declarations of arguments and local variables.
	* gensupport.c: Likewise.
	* local-alloc.c: Likewise.
	* regclass.c: Likewise.

From-SVN: r74854
2003-12-19 23:27:05 +00:00
Carlo Wood
6fe68b3740 * bits/demangle.h
namespace __gnu_cxx::demangler
(session<Allocator>::decode_encoding): Put the postfix
of the return type of (member) functions after the function
instead of after the return type.

From-SVN: r74853
2003-12-19 23:15:24 +00:00
Kelley Cook
128325718c config.guess: Remove.
2003-12-19  Kelley Cook  <kelleycook@wideopenwest.com>

	* config.guess: Remove.

From-SVN: r74852
2003-12-19 22:49:22 +00:00
Joseph Myers
d800897a04 * de.po: Update.
From-SVN: r74851
2003-12-19 21:53:53 +00:00
Ian Lance Taylor
a91d1af087 re PR c++/13447 (Another demangler problem with method cv-qualifiers)
Fix for PR c++/13447:
	* cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
	(d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
	(is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
	D_COMP_QUAL_NAME.
	(is_ctor_or_dtor): Likewise.
	(d_local_name): Use D_COMP_LOCAL_NAME rather than
	D_COMP_QUAL_NAME.
	(d_print_comp) [D_COMP_LOCAL_NAME]: New.
	(d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
	D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
	(d_print_mod_list): Handle D_COMP_LOCAL_NAME.
	* testsuite/demangle-expected: Add two test cases.

	* cp-demangle.c (d_print_function_type): Clear the global modifier
	list when printing the modifiers, not just when printing the
	function parameters.
	* testsuite/demangle-expected: Add two test cases.

From-SVN: r74850
2003-12-19 21:14:35 +00:00
Mark Mitchell
4656bc859d re PR c++/12795 (ICE with attribute __alias__)
PR c++/12795
	* name-lookup.c (pushdecl): Do not treated any functions as being
	"nested" in C++.

	PR c++/12795
	* g++.dg/ext/attrib10.C: New test.

From-SVN: r74849
2003-12-19 21:10:03 +00:00
Jerry Quinn
2dbd0234aa 2003-12-19 Jerry Quinn <jlquinn@optonline.net>
* include/bits/locale_facet.h
        (__ctype_abstract_base,ctype<charT>,ctype<char>,ctype<wchar_t>):
        Document.

From-SVN: r74848
2003-12-19 20:44:18 +00:00
Michael Koch
01da266767 ChannelOutputStream.java: New file.
2003-12-19  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/ChannelOutputStream.java: New file.
	* java/nio/channels/Channels.java
	(newOutputStream): Implemented.
	* Makefile.am (ordinary_java_source_files)
	Added gnu/java/nio/ChannelOutputStream.java.
	* Makefile.in: Regenerated.

From-SVN: r74847
2003-12-19 20:42:00 +00:00
Jason Merrill
60cd3e8bab re PR c++/13371 (infinite loop with packed struct and inlining)
PR c++/13371
        * typeck.c (build_modify_expr): Stabilize lhs if we're narrowing.

From-SVN: r74846
2003-12-19 15:25:22 -05:00
Thomas Fitzsimmons
a0687c1fbc FlowLayout.java (layoutContainer): Let components assume their preferred height.
2003-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* java/awt/FlowLayout.java (layoutContainer): Let components
	assume their preferred height.  Centre components vertically.

From-SVN: r74844
2003-12-19 20:11:56 +00:00
Michael Koch
26392535a7 ChannelInputStream.java: New file.
2003-12-19  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/ChannelInputStream.java: New file.
	* java/nio/channels/Channels.java (newInputStream): Implemented.
	* java/nio/channels/FileChannelImpl.java
	(readImpl): Only put data into buffer if something was read.
	* Makefile.am (ordinary_java_source_files):
	Added gnu/java/nio/ChannelInputStream.java.
	* Makefile.in: Regenerated.

From-SVN: r74842
2003-12-19 19:06:34 +00:00
Paolo Carlini
cc16f8b948 locale_facets.tcc (num_get::_M_extract_int, [...]): According to 22.2.2.1.2, p8-9, first look for decimal_point and thousands_sep.
2003-12-19  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (num_get::_M_extract_int,
	num_get::_M_extract_float): According to 22.2.2.1.2, p8-9,
	first look for decimal_point and thousands_sep.
	* testsuite/22_locale/num_get/get/char/11.cc: New.
	* testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.

From-SVN: r74841
2003-12-19 18:14:22 +00:00
Michael Koch
9175d628d0 OutputStreamChannel.java: New file.
2003-12-19  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/OutputStreamChannel.java: New file.
	* java/nio/channels/Channels.java (newChannel): Implemented.
	* Makefile.am (ordinary_java_source_files):
	Added gnu/java/nio/OutputStreamChannel.java.
	* Makefile.in: Regenerated.

From-SVN: r74840
2003-12-19 16:31:59 +00:00
Michael Koch
71646cb777 Makefile.am (ordinary_java_source_files): Added gnu.java.nio.InputStreamChannel.
2003-12-19  Michael Koch  <konqueror@gmx.de>

	* Makefile.am (ordinary_java_source_files):
	Added gnu.java.nio.InputStreamChannel.
	* Makefile.in: Regenerated.

From-SVN: r74839
2003-12-19 15:28:00 +00:00
Michael Koch
b8362a2315 InputStreamChannel.java: New file.
2003-12-19  Michael Koch  <konqueror@gmx.de>

	* gnu/java/nio/InputStreamChannel.java: New file.
	* java/nio/channels/Channels.java (newChannel): Implemented.

From-SVN: r74838
2003-12-19 15:22:33 +00:00
Andreas Tobler
7dff81909b fibheap.h (fibnode): Use __extension__ for bit-fields mark and degree if __GNUC__.
* include/fibheap.h (fibnode): Use __extension__ for
	bit-fields mark and degree if __GNUC__.

From-SVN: r74836
2003-12-19 14:37:36 +00:00
Jakub Jelinek
e8c89d2970 unwind-ia64.c (ia64_copy_rbs): New function.
* config/ia64/unwind-ia64.c (ia64_copy_rbs): New function.
	(unw_access_gr): Only call ia64_rse_rnat_addr if addr is above
	regstk_top.
	(uw_frame_state_for): Handle locations inside bundles.
	(uw_init_context_1): Initialize context->rnat.
	Set context->regstk_top to lowest rbs address which has nat collection
	in context->rnat.
	(uw_install_context): Fix rnat restoring.
	Restore ar.rsc to previous state.
	* config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR,
	MD_HANDLE_UNWABI): Handle unwinding through SA_ONSTACK frames.

	* gcc.dg/cleanup-10.c: New test.
	* gcc.dg/cleanup-11.c: New test.

From-SVN: r74835
2003-12-19 15:00:53 +01:00
Jakub Jelinek
effed65516 re PR c++/13239 (Assertion does not seem to work correctly anymore)
PR c++/13239
	* builtins.c (expand_builtin_expect_jump): Update
	TREE_VALUE (arglist) if unsave_expr_now langhook
	created a new tree.

	* g++.dg/opt/expect1.C: New test.

From-SVN: r74832
2003-12-19 14:39:05 +01:00
Michael Koch
c05fc0c2e1 2003-12-19 Michael Koch <konqueror@gmx.de>
* java/util/SimpleTimeZone.java
	(setStartRule): Reformated documentation.
	(setEndRule): Reworked documentation.
	(getDSTSavings): Fixed @since tag.
	(setDSTSavings): New method.

From-SVN: r74831
2003-12-19 11:01:05 +00:00
Michael Koch
b2fbbf564f NumberFormat.java: Sorted imports.
2003-12-19  Michael Koch  <konqueror@gmx.de>

	* java/text/NumberFormat.java: Sorted imports.
	(getCurrency): New method.
	(setCurrency): New method.

From-SVN: r74830
2003-12-19 10:00:02 +00:00
Richard Earnshaw
edf7cee87b arm.c (thumb_base_register_rtx_p): Use regno in comparison against FIRST_PSEUDO_REGISTER.
* arm.c (thumb_base_register_rtx_p): Use regno in comparison against
FIRST_PSEUDO_REGISTER.

From-SVN: r74829
2003-12-19 09:59:32 +00:00
Michael Koch
f1af10c25d 2003-12-19 Michael Koch <konqueror@gmx.de>
* java/text/MessageFormat.java
	(MessageFormat): New constructor.

From-SVN: r74828
2003-12-19 09:53:06 +00:00
Michael Koch
177dcc4bad 2003-12-19 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/jar/Handler.java
	(parseURL): New method.
	(toExternalForm): New method.

From-SVN: r74827
2003-12-19 09:48:28 +00:00
Paolo Carlini
1b4513069a locale_facets.tcc (num_get::_M_extract_float): When __found_sci becomes true stop eating thousands separators and the decimal...
2003-12-19  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc (num_get::_M_extract_float):
	When __found_sci becomes true stop eating thousands separators
	and the decimal radix separator.
	* testsuite/22_locale/num_get/get/char/9.cc: New.
	* testsuite/22_locale/num_get/get/wchar_t/9.cc: Likewise.

	* config/locale/generic/c_locale.cc (__convert_to_v): Don't
	check that *__sanity == '\0': parsing may stop earlier, still
	be successful.
	* config/locale/gnu/c_locale.cc: Likewise.
	* testsuite/22_locale/num_get/get/char/10.cc: New.
	* testsuite/22_locale/num_get/get/wchar_t/10.cc: Likewise.
	* testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
	Tweak in one place accordingly.

	* testsuite/22_locale/money_get/get/char/1.cc: Fix typo.
	* testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.

From-SVN: r74826
2003-12-19 09:35:24 +00:00
Hartmut Penner
ed8d88031c * gcc.dg/altivec-varargs-1.c: Enable testcase on ppc linux.
From-SVN: r74823
2003-12-19 07:52:00 +00:00
Hartmut Penner
8395313877 rs6000.c (USE_ALTIVEC_FOR_ARG_P): Don't check for SVR4 ABI.
* gcc/config/rs6000/rs6000.c (USE_ALTIVEC_FOR_ARG_P): Don't check
      for SVR4 ABI.

From-SVN: r74822
2003-12-19 07:50:22 +00:00
Geoffrey Keating
66188a7ef3 aix.h (OS_MISSING_POWERPC64): Define.
* config/rs6000/aix.h (OS_MISSING_POWERPC64): Define.
	(OS_MISSING_ALTIVEC): Define.
	* config/rs6000/darwin.h (ASM_SPEC): Be generous about supplying
	-force_cpusubtype_ALL.
	* config/rs6000/rs6000.c (rs6000_override_options): Rearrange
	CPU information table; now always set all CPU-specific values.
	Also, use Altivec and powerpc64 when chip and OS supports them.

From-SVN: r74820
2003-12-19 06:28:24 +00:00
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