Commit Graph

40912 Commits

Author SHA1 Message Date
Ulrich Weigand
2c153108fd s390.c (s390_emit_prologue): Do not set the frame_related flag for call-clobbered registers.
* config/s390/s390.c (s390_emit_prologue): Do not set the
	frame_related flag for call-clobbered registers.

From-SVN: r49843
2002-02-18 18:17:52 +00:00
Jan Hubicka
e95d6b23ae i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
* i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
	(construct_container): Fix handling of SSE operands.
	(ix86_expand_builtin): Fix handling of 64bit pointers.
	(mmx_maskmovq_rex): New pattern.

From-SVN: r49840
2002-02-18 14:09:39 +00:00
Philipp Thomas
605e15f791 es.po, fr.po: Updated to newest version.
2002-02-18  Philipp Thomas  <pthomas@suse.de>

	* es.po, fr.po: Updated to newest version.
	* nl.po: New files.

From-SVN: r49839
2002-02-18 11:20:09 +00:00
Jan Hubicka
c43a12b570 * regrename.c (kill_set_value): Handle subregs properly.
From-SVN: r49838
2002-02-18 10:57:30 +00:00
GCC Administrator
8910f4aa99 Daily bump.
From-SVN: r49836
2002-02-18 08:16:15 +00:00
Bryce McKinlay
95407a28f6 natPlainDatagramSocketImpl.cc (bind): Call setsockopt to enable SO_BROADCAST.
2002-02-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
	enable SO_BROADCAST.

From-SVN: r49835
2002-02-18 07:32:34 +00:00
Tom Tromey
6b6294f118 java-tree.h (TYPE_STRICTFP): New macro.
* java-tree.h (TYPE_STRICTFP): New macro.
	(struct lang_type) [strictfp]: New field.
	(CLASS_STRICTFP): New macro.
	(METHOD_STRICTFP): New macro.
	(struct lang_decl) [strictfp]: New field.
	* parse.y (method_header): Disallow strictfp constructor or
	abstract method.
	(STRICT_TK): Move before MODIFIER_TK.
	* parse.h (CLASS_MODIFIERS): Added ACC_STRICT.
	(METHOD_MODIFIERS): Likewise.
	(INTERFACE_MODIFIERS): Likewise.
	* jcf-write.c (get_access_flags): Likewise.
	* class.c (set_class_decl_access_flags): Recognize ACC_STRICT.
	(add_method_1): Likewise.
	(get_access_flags_from_decl): Likewise.
	* jcf-dump.c (print_access_flags): Print in standard order.  Also,
	recognize strictfp flag.
	* jcf.h (ACC_STRICT): New define.

From-SVN: r49834
2002-02-18 04:55:07 +00:00
David Billinghurst
aeb85a152c objc-act.c (handle_impent): Remove leading '*' from objc_class_name.
2002-02-18  David Billinghurst <David.Billinghurst@riotinto.com>

	* objc/objc-act.c (handle_impent): Remove leading '*'
	from objc_class_name.

From-SVN: r49833
2002-02-18 03:54:30 +00:00
Jason Merrill
c02f5e295f pt.c (do_type_instantiation): Don't pedwarn if in_system_header.
* pt.c (do_type_instantiation): Don't pedwarn if in_system_header.
        (do_decl_instantiation): Likewise.

From-SVN: r49832
2002-02-17 22:15:44 -05:00
Bryce McKinlay
8417ff635e err7.xfail: Removed.
* libjava.lang/err7.xfail: Removed.
	* libjava.lang/err8.xfail: Removed.

From-SVN: r49831
2002-02-18 03:05:55 +00:00
Craig Rodrigues
624a5800d1 re PR c++/5685 (g++ 3.0.2 allows multiple identical declaration of default argument)
2002-02-17  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR c++/5685
        * decl.c (duplicate_decls): Make warning unconditional
        if duplicate default argument declarations are present.

From-SVN: r49830
2002-02-18 03:00:38 +00:00
Jason Merrill
21fe5f6a23 name-finder.cc (toHex): Use word mode, not long long.
* name-finder.cc (toHex): Use word mode, not long long.

        * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.

From-SVN: r49829
2002-02-17 21:52:44 -05:00
Richard Henderson
a615ca3e76 alpha.c (some_small_symbolic_operand, [...]): Rename from *symbolic_mem_op*.
* config/alpha/alpha.c (some_small_symbolic_operand,
        some_small_symbolic_operand_1, split_small_symbolic_operand,
        split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
        Handle small SYMBOL_REFs anywhere, not just inside memories.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.h (PREDICATE_CODES): Update.
        * config/alpha/alpha.md (small symbolic operand splitter): Update.

From-SVN: r49827
2002-02-17 17:07:52 -08:00
Roland McGrath
ddb284412e config.gcc (powerpc-*-gnu-gnualtivec*, [...]): New configurations.
2002-01-21  Roland McGrath  <roland@frob.com>

        * config.gcc (powerpc-*-gnu-gnualtivec*,
        powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
        * config/rs6000/gnu.h: New file.
        * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
        Grok "gnu" in rs6000_abi_name.
        (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
        CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
        Grok -mcall-gnu analogous to -mcall-linux et al.
        (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
        LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
        (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.

From-SVN: r49826
2002-02-17 18:06:55 -05:00
Jakub Jelinek
f6f8ada39a re PR c/3444 (Test fails (cast))
PR c/3444:
	* c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
	shortening.

	* typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
	shortening.

	* gcc.c-torture/execute/20020216-1.c: New test.

From-SVN: r49825
2002-02-17 21:47:52 +01:00
Philipp Thomas
e16b32fc25 cris.h: Undefine STARTFILE_SPEC and ENDFILE_SPEC before (re)defining them.
2002-02-17  Philipp Thomas  <pthomas@suse.de>

	* config/cris/cris.h: Undefine STARTFILE_SPEC and
	ENDFILE_SPEC before (re)defining them.

From-SVN: r49823
2002-02-17 18:14:50 +00:00
Kazu Hirata
f9477efdb3 h8300.c: Fix formatting.
* config/h8300/h8300.c: Fix formatting.
	* config/h8300/h8300.h: Likewise.

From-SVN: r49822
2002-02-17 15:39:25 +00:00
Philipp Thomas
404ae494a6 Explain why empty strings should not be marked for translation.
From-SVN: r49821
2002-02-17 14:55:10 +00:00
Philipp Thomas
a52453cc42 final.c (output_operand_lossage): Changed to accept printf style arguments.
2002-02-17  Philipp Thomas  <pthomas@suse.de>

	* final.c (output_operand_lossage): Changed to accept
	printf style arguments. Change calls where necessary.
	* output.h (output_operand_lossage): Change declaration
	accordingly. Update copyright.
	* config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
	config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
	Update copyright date where necessary.

	* config/i386/i386.c (print_operand): Likewise. Remove use of
	sprintf.

	* config/cris/cris.c (cris_operand_lossage): Likewise.
	Rename parameter so that exgettext recognizes it as
	translatable message.
	(LOSE_AND_RETURN): Rename parameter to msgid.

	* po/gcc.pot: Regenerate.

From-SVN: r49820
2002-02-17 14:23:53 +00:00
Kazu Hirata
1c11abc46f h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a hard coded register number with an appropriate macro.
* config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
	hard coded register number with an appropriate macro.
	(HARD_REGNO_MODE_OK): Likewise.
	(ARG_POINTER_REGNUM): Likewise.
	(STATIC_CHAIN_REGNUM): Likewise.
	(RETURN_ADDRESS_POINTER_REGNUM): Likewise.
	* config/h8300/h8300.md (define_constants): Define more
	register numbers.

From-SVN: r49819
2002-02-17 12:41:46 +00:00
GCC Administrator
bd4bf6f8cf Daily bump.
From-SVN: r49817
2002-02-17 08:16:12 +00:00
Philipp Thomas
a5d17ff397 Don't mark empty strings for translation.
From-SVN: r49816
2002-02-17 07:52:12 +00:00
H.J. Lu
1a7289c493 linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
2002-02-16  H.J. Lu <hjl@gnu.org>

	* config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.

From-SVN: r49815
2002-02-16 21:36:47 -08:00
Zack Weinberg
afb58288e4 cppinit.c (merge_include_chains): Check for brack being NULL before attempting to merge it with qtail.
* cppinit.c (merge_include_chains): Check for brack being
	NULL before attempting to merge it with qtail.

From-SVN: r49814
2002-02-17 02:54:20 +00:00
Andrew Cagney
d2af4dbdcc netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to DBX_DEBUG.
* config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
DBX_DEBUG.

From-SVN: r49813
2002-02-17 01:20:31 +00:00
John David Anglin
2e1ed1e3e5 * pa/t-pa, pa/t-pro, pa/som.h: Revert last patch.
From-SVN: r49811
2002-02-16 22:30:35 +00:00
John David Anglin
604c75b22c t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
* pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
	* pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
	* som.h (DO_GLOBAL_DTORS_BODY): Delete define.

From-SVN: r49810
2002-02-16 22:13:59 +00:00
Benjamin Kosnik
3b79452813 locale_facets.tcc: Add pragma GCC system_header.
2002-02-16   Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc: Add pragma GCC system_header.
	* include/bits/fstream.tcc: Same.
	* include/bits/sstream.tcc: Same.
	* include/bits/ostream.tcc: Same.
	* include/bits/istream.tcc: Same.
	* include/bits/streambuf.tcc: Same.
	* include/bits/basic_ios.tcc: Same.
	* include/bits/basic_string.tcc: Same.

From-SVN: r49809
2002-02-16 19:33:43 +00:00
Richard Kenner
7303604fed Fix typo.
From-SVN: r49808
2002-02-16 13:55:21 -05:00
Richard Kenner
1a42b0728f alpha.md (*movsi_nt_vms_nofix): Was *movesi_nt_vms; now only if !TARGET_FIX.
* config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movesi_nt_vms;
	now only if !TARGET_FIX.
	(*movsi_nt_vms_fix): New pattern.

From-SVN: r49807
2002-02-16 13:54:33 -05:00
Douglas B Rupp
c2ea1ac6b6 alpha.c: Implement null frame procedure types on VMS.
* config/alpha/alpha.c: Implement null frame procedure types on VMS.
	(alpha_procedure_type): Replaces alpha_is_stack_procedure.
	(alpha_sa_mask, alpha_sa_size): Reflect above change.
	(alpha_pv_save_size, alpha_expand_prologue): Likewise.
	(alpha_start_function, alpha_expand_epilogue): Likewise.
	(unicosmk_gen_dsib): Likewise.

From-SVN: r49806
2002-02-16 13:50:17 -05:00
Richard Kenner
725e58b1b6 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
From-SVN: r49805
2002-02-16 13:44:14 -05:00
Neil Booth
7f311f637f * gcc.dg/decl-1.c: Update, new test.
From-SVN: r49804
2002-02-16 17:31:16 +00:00
Nathan Sidwell
8d6e459dd0 decl.c (grokdeclarator): Set typedef_decl for all TYPE_DECLs, remove incorrect comment.
cp:
	* decl.c (grokdeclarator): Set typedef_decl for all TYPE_DECLs,
	remove incorrect comment. Move #if 0'd code to common path. Use
	IMPLICIT_TYPENAME_P. Simplify & reformat ARRAY_TYPE duplication.
testsuite:
	* g++.dg/abi/bitfield1.C: New test.
	* g++.dg/abi/bitfield2.C: New test.

From-SVN: r49803
2002-02-16 12:13:41 +00:00
GCC Administrator
45356ea287 Daily bump.
From-SVN: r49802
2002-02-16 08:16:41 +00:00
Benjamin Kosnik
b4cce2533b std_iosfwd.h: Don't guard typedefs with _GLIBCPP_USE_WCHAR_T
2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>

	* include/std/std_iosfwd.h: Don't guard typedefs with
	_GLIBCPP_USE_WCHAR_T
	* include/bits/stringfwd.h: Same.

From-SVN: r49800
2002-02-16 02:41:10 +00:00
Benjamin Kosnik
c7bbe0c45e locale.cc (moneypunct_byname): Remove definitions.
2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>

	* src/locale.cc (moneypunct_byname): Remove definitions.
	* include/std/std_streambuf.h (streambuf::operator=): Return.

From-SVN: r49799
2002-02-16 00:50:58 +00:00
Benjamin Kosnik
a32e3c097e Tune for size.
2002-02-15  Benjamin Kosnik  <bkoz@redhat.com>

	Tune for size.
	* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
	explicit instantiation.
	(string::_Rep::_S_max_size): Same.
	* include/bits/basic_string.tcc: Add extern explicit
	instantiations for string, wstring.
	* include/bits/basic_ios.tcc: Add extern explicit instantiations
	for ios, wios.
	* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
	* include/bits/istream.tcc: Same, for istream, wistream.
	* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
	wiostream.
	* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
	istringstream, wistringstream, ostringstream, wostringstream,
	stringstream, wstringstream.
	* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
	wifstream, ofstream, wofstream, fstream, wfstream.
	* src/misc-inst.cc: Correct comments.
	Add iomanip instantiations for wide streams.
	* include/std/std_iomanip.h: Same.
	* include/bits/locale_facets.tcc: Same.

	* include/std/std_streambuf.h: Correct
	_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
	* include/std/std_sstream.h: Same.
	* include/std/std_ostream.h: Same.
	* include/std/std_istream.h: Same.
	* include/std/std_fstream.h: Same.

	* include/std/std_streambuf.h: Add definitions for private copy
	ctor and assignment operator.
	* include/std/std_istream.h: Remove declared but undefined copy
	ctor and assignment operator. This is taken care of in ios_base,
	so adding it in the derived class as well is superfluous.
	* include/std/std_ostream.h: Same.

	* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
	* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.

From-SVN: r49798
2002-02-16 00:19:13 +00:00
Ulrich Weigand
13e58269a6 s390.c (pool_stop_uid, [...]): Delete.
* config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
	check_and_change_labels, s390_final_chunkify): Delete.
	(s390_split_branches, s390_chunkify_pool): New functions.
	(s390_function_prologue): Call them.

	* config/s390/s390.h (S390_REL_MAX): Delete.
	(S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.

	* config/s390/s390.md (cjump, icjump, jump): Fix length
	attribute calculation.

From-SVN: r49797
2002-02-15 23:30:03 +00:00
David Edelsohn
34d1b01d2e linux64.h (STRIP_NAME_ENCODING): Delete.
* config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
        * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.

From-SVN: r49796
2002-02-15 16:04:53 -05:00
John David Anglin
be5cc51a9b gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
* gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
	* config/pa/pa-linux.h (LIB_SPEC): Likewise.
	* config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.

From-SVN: r49794
2002-02-15 19:11:01 +00:00
Richard Sandiford
aa42eef159 * gcc.dg/attr-nest.c: New test.
From-SVN: r49792
2002-02-15 16:11:10 +00:00
Richard Sandiford
ee96ce90ca * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
From-SVN: r49791
2002-02-15 16:08:21 +00:00
Richard Sandiford
0b6e58fd6f * gcc.c-torture/execute/20020215-1.c: New test.
From-SVN: r49788
2002-02-15 12:21:00 +00:00
Richard Sandiford
05fa709d38 reload.c (find_dummy_reload): Check that an output register is valid for its mode.
* reload.c (find_dummy_reload): Check that an output register
	is valid for its mode.

From-SVN: r49787
2002-02-15 12:18:49 +00:00
GCC Administrator
6d010d53c1 Daily bump.
From-SVN: r49785
2002-02-15 08:16:13 +00:00
Tom Tromey
ef9c7b8eed re PR libgcj/5695 (verify.cc test that target is an object before running down interfaces)
Fix for PR libgcj/5695:
	* verify.cc (is_assignable_from_slow): Check to see if target is
	an Object before checking to see if source is an interface.
	(verify_instructions_0) [op_invokeinterface]: Handle case where
	we're making an interface call on Object.

From-SVN: r49783
2002-02-15 06:55:42 +00:00
Bryce McKinlay
15b28697de Makefile.in: Rebuilt with Eric's change below.
* Makefile.in: Rebuilt with Eric's change below.

	* java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
	round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
	Removed functions which are now implemented in Math.java.

From-SVN: r49782
2002-02-15 05:53:29 +00:00
Eric Blake
2f999d0fe7 javaprims.h (java::lang): Add java::lang::StrictMath.
2002-02-14  Eric Blake  <ebb9@email.byu.edu>

	* gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
	* Makefile.am (core_java_source_files): Add
	java/lang/StrictMath.java.
	* java/lang/Math.java: Merge with Classpath.
	* java/lang/StrictMath.java: New file - merge with Classpath.

From-SVN: r49781
2002-02-15 03:21:47 +00:00
Benjamin Kosnik
37cea03434 linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
	Add typeinfo bits. Smooth.
	* aclocal.m4: Regenerate.
	* configure: Same.
	* src/Makefile.in: Same.

From-SVN: r49780
2002-02-15 02:21:33 +00:00