Commit Graph

33039 Commits

Author SHA1 Message Date
Jim Wilson aebf246210 Delete A step Itanium support.
* config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
	(fixup_errata): Delete TARGET_A_STEP use.
	* config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
	(TARGET_SWITCHES): Delete -ma-step option.
	* config/ia64/ia64.md (all FP patterns): Delete %B0.
	(movqicc_astep, movqi_internal_astep, movhicc_astep,
	movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
	movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
	movdfcc_astep, movdf_internal_astep, movtfcc_astep,
	movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
	Delete.
	(movqi_internal, movhi_internal, movsi_internal, movdi_internal,
	movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
	cmovsi_internal): Delete ! TARGET_A_STEP check.

From-SVN: r39075
2001-01-16 13:37:08 -08:00
Gerald Pfeifer aebb127aa9 gcc.texi (Bug Lists): Do not mention newsgroups nor the possibility to report bugs via postal mail.
* gcc.texi (Bug Lists): Do not mention newsgroups nor the
	possibility to report bugs via postal mail. Change a URL and
	merge in a nearly duplicate statement...
	(Bug Reporting): ...from here.
	(Service): Refer to the Bug Reporting section instead of
	duplicating an URL.
	(Contributing): Remove trivial explanations concerning snapshots.

From-SVN: r39074
2001-01-16 19:33:50 +00:00
Alan Modra 95f4ac8b8a * cppmain.c (general_init): Don't use ANSI prototype.
From-SVN: r39073
2001-01-16 18:40:56 +00:00
Tom Tromey c32ee81ecb * gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
From-SVN: r39072
2001-01-16 18:02:01 +00:00
Daniel Berlin bb37c4a562 cvt.c (ocp_convert): Handle vector type conversion
2001-01-16 Daniel Berlin <dberlin@redhat.com>

	* cvt.c (ocp_convert): Handle vector type conversion
	* typeck2.c (digest_init): Handle vector type initializations

From-SVN: r39071
2001-01-16 17:57:34 +00:00
Richard Henderson 2c87347376 i386.h: Fix comment typo.
* config/i386/i386.h: Fix comment typo.
        * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
        (ashr+compare patterns): Match CCGOCmode not CCNOmode.

From-SVN: r39070
2001-01-16 09:32:26 -08:00
Phil Edwards a26e7fb5aa g++spec.c: Don't add libraries needlessly if -fsyntax-only was given.
2001-01-16  Phil Edwards  <pme@sources.redhat.com>

	* g++spec.c:  Don't add libraries needlessly if -fsyntax-only
	  was given.

From-SVN: r39069
2001-01-16 16:10:47 +00:00
Phil Edwards 76e5b31215 gcc.c: Revert previous -fsyntax-only-related change; move to cp/g++spec.c.
2001-01-16  Phil Edwards  <pme@sources.redhat.com>

	* gcc.c:  Revert previous -fsyntax-only-related change; move
	  to cp/g++spec.c.

From-SVN: r39068
2001-01-16 16:09:07 +00:00
Jakub Jelinek b62d22a25c i386.c (fcmov_comparison_operator): Only initialize inmode after checking GET_CODE (op).
* config/i386/i386.c (fcmov_comparison_operator): Only initialize
	inmode after checking GET_CODE (op).

From-SVN: r39067
2001-01-16 16:57:00 +01:00
Richard Kenner 8207e7c604 Minor whitespace changes
From-SVN: r39066
2001-01-16 09:29:08 -05:00
Richard Henderson 0875baa09e flow.c (struct propagate_block_info): Add mem_set_list_len.
* flow.c (struct propagate_block_info): Add mem_set_list_len.
        (MAX_MEM_SET_LIST_LEN): New.
        (propagate_one_insn): Update mem_set_list_len.
        (invalidate_mems_from_autoinc): Likewise.
        (invalidate_mems_from_set): Likewise.
        (mark_used_regs): Likewise.
        (init_propagate_block_info): Likewise.  Stop collecting memories
        when we reach MAX_MEM_SET_LIST_LEN.
        (mark_set_1): Likewise.

From-SVN: r39065
2001-01-16 05:57:17 -08:00
Richard Henderson c55fa4d6b1 unroll.c (precondition_loop_p): Fail if no iteration variable found.
* unroll.c (precondition_loop_p): Fail if no iteration
        variable found.

From-SVN: r39064
2001-01-16 03:15:49 -08:00
Nathan Sidwell 9607098926 exception_support.cc (__cp_pop_exception): Fix uninitialized thinko in last change.
* libsupc++/exception_support.cc (__cp_pop_exception): Fix
	uninitialized thinko in last change.

From-SVN: r39063
2001-01-16 09:45:03 +00:00
Jeff Law b6dfc391cb Daily bump.
From-SVN: r39062
2001-01-16 01:45:08 -07:00
Mark Mitchell 40acfbeace exception_support.cc (__cp_pop_exception): Change prototype.
* libsupc++/exception_support.cc (__cp_pop_exception): Change
	prototype.

From-SVN: r39061
2001-01-16 08:30:20 +00:00
Benjamin Kosnik 9f12c2a693 C++STYLE (classname): Add more existing and stylish patterns.
2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/17_intro/C++STYLE (classname): Add more existing
	and stylish patterns.

	libstdc++/944
	* include/bits/istream.tcc (istream::sentry::sentry()): Set
	failbit if the state of the stream is not good.
	* testsuite/27_io/istream_sentry.cc (test02): Add test.
	* testsuite/27_io/istream_manip.cc (test01): Modify.

	libstdc++/1019
	reported by Paolo Carlini <pcarlini@unitus.it>
	* include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
	* testsuite/21_strings/inserters_extractors.cc (test08): Add test.

	libstdc++/1057
	* include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
	* include/bits/streambuf.tcc (xsputn): Remove outside if clause.
	(xsgetn): Same. Simplify.
	* testsuite/27_io/streambuf.cc (test04): Add testcases.

	reported by Larry Evans <jcampbell3@prodigy.net>
	* include/bits/streambuf.tcc (streambuf::xsputn): Just check for
	equality with eof on returned value from overflow.

From-SVN: r39060
2001-01-16 07:58:40 +00:00
Benjamin Kosnik 13187a454d C++STYLE (classname): Add more existing and stylish patterns.
2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/17_intro/C++STYLE (classname): Add more existing
	and stylish patterns.

	libstdc++/944
	* include/bits/istream.tcc (istream::sentry::sentry()): Set
	failbit if the state of the stream is not good.
	* testsuite/27_io/istream_sentry.cc (test02): Add test.
	* testsuite/27_io/istream_manip.cc (test01): Modify.

	libstdc++/1019
	reported by Paolo Carlini <pcarlini@unitus.it>
	* include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
	* testsuite/21_strings/inserters_extractors.cc (test08): Add test.

	libstdc++/1057
	* include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
	* include/bits/streambuf.tcc (xsputn): Remove outside if clause.
	(xsgetn): Same. Simplify.
	* testsuite/27_io/streambuf.cc (test04): Add testcases.

	reported by Larry Evans <jcampbell3@prodigy.net>
	* include/bits/streambuf.tcc (streambuf::xsputn): Just check for
	equality with eof on returned value from overflow.

From-SVN: r39059
2001-01-16 07:55:26 +00:00
Phil Edwards 6488ac06d9 gcc.c: When -fsyntax-only is given, do not complain about unused libraries.
2001-01-16  Phil Edwards  <pme@sources.redhat.com>

	* gcc.c:  When -fsyntax-only is given, do not complain about
	  unused libraries.

From-SVN: r39058
2001-01-16 06:06:29 +00:00
Toon Moene c5a9e845e5 re PR fortran/1636 (Format strings with identical numbers cause assembler error)
2001-01-15  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.f-torture/execute/20010116.[fx]: New test,
	XFAIL on i?86-*-*.
	* g77.f-torture/compile/20010115.f: Indicate it's
	a test for PR fortran/1636.

From-SVN: r39056
2001-01-15 23:55:39 +00:00
Richard Henderson 4cf12e7e21 i386.c (asm_output_function_prefix): Remove.
* config/i386/i386.c (asm_output_function_prefix): Remove.
        (ix86_asm_file_end): New.
        (load_pic_register): Generate pic_label_name into a
        staticly allocated buffer.
        * config/i386/i386-protos.h: Update.
        * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
        (ASM_FILE_END): New.
        * config/i386/i386afe.h: New file.
        * config.gcc (i?86-*-elf) [tm_file]: Use it.
        (i?86-*-{freebsd,linux*,moss*}): Likewise.
        * config/elfos.h (ASM_FILE_END): Undef before redefinition.
        * config/i386/cygwin.h (ASM_FILE_END): Likewise.
        * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
        * config/i386/sco5.h (ASM_FILE_END): Likewise.
        * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.

From-SVN: r39055
2001-01-15 15:43:10 -08:00
Joseph Myers ad3b5aff7c Makefile.in (install-man): Remove explicit dependency on $(srcdir)/gcc.1.
* Makefile.in (install-man): Remove explicit dependency on
	$(srcdir)/gcc.1.

From-SVN: r39054
2001-01-15 23:34:43 +00:00
Joseph Myers 3f896fc299 texi2pod.pl: Fix regular expression for @r to avoid exponential recursion.
contrib:
	* texi2pod.pl: Fix regular expression for @r to avoid exponential
	recursion.  From Russ Allbery <rra@stanford.edu>.  Remove perl
	version check.

gcc:
	* configure.in, configure: Revert previous patch requiring perl
	5.6.0.

From-SVN: r39053
2001-01-15 23:32:25 +00:00
Aldy Hernandez 3ff5120570 new option to disable guessing of branch prediction
From-SVN: r39052
2001-01-15 22:45:32 +00:00
Phil Blundell 3cf96b52a1 Fix garbled ChangeLog entry
From-SVN: r39051
2001-01-15 22:35:15 +00:00
DJ Delorie b8dea7e010 * gcc.texi (Makefile): Add documentation for Makefile targets.
From-SVN: r39050
2001-01-15 16:12:14 -05:00
Philip Blundell c1163e75d8 arm.c (arm_finalize_pic): New arg "prologue".
2001-01-15  Philip Blundell  <philb@gnu.org>

	* config/arm/arm.c (arm_finalize_pic): New arg "prologue".
	(is_pic): Delete.
	* config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
	(is_pic): Delete declaration.
	* config/arm/arm.h (FINALIZE_PIC): Update call to above.
	(OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
	* config/arm/arm.md (builtin_setjmp_receiver): Likewise.

From-SVN: r39049
2001-01-15 19:54:42 +00:00
John David Anglin 10a0ba8488 * MAINTAINERS: Add myself as vax port maintainer.
From-SVN: r39048
2001-01-15 18:36:00 +00:00
Joseph Myers 64dcdf78ff * gcc.dg/c90-float-1.c, gcc.dg/c99-float-1.c: New tests.
From-SVN: r39047
2001-01-15 18:22:31 +00:00
Richard Earnshaw 9b598fa08b arm.c (use_return_insn): Don't try to determine the function type until after reload has completed.
* arm.c (use_return_insn): Don't try to determine the function type
until after reload has completed.
(arm_output_epilogue): Don't adjust the sp value recovered from the
stack.
(emit_multi_reg_push): Don't record dwarf information for the pc.
* arm.md (eh_epilogue): The function type may have changed, so it
needs to be recalculated.
* arm/netbsd.h (DWARF2_UNWIND_INFO): Can now use dwarf2 unwind tables
on arm/netbsd.

From-SVN: r39046
2001-01-15 18:13:26 +00:00
Kaveh R. Ghazi c2b31703ba warn_summary (stageNfilter): Update for recent changes in bootstrap logic.
* warn_summary (stageNfilter): Update for recent changes in
	bootstrap logic.

From-SVN: r39045
2001-01-15 17:53:57 +00:00
Jason Merrill da4ac6f859 comment
From-SVN: r39044
2001-01-15 12:06:49 -05:00
Mark Mitchell 611081b288 com.c (ffecom_lookup_label): Set DECL_CONTEXT for FORMAT label to current_function_decl.
2001-01-15  Mark Mitchell  <mark@codesourcery.com>

	* com.c (ffecom_lookup_label): Set DECL_CONTEXT for FORMAT
	label to current_function_decl.

From-SVN: r39042
2001-01-15 16:52:49 +00:00
Toon Moene 9f1630a988 20010115.f: New test.
2001-01-15  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.f-torture/compile/20010115.f: New test.

From-SVN: r39041
2001-01-15 16:48:35 +00:00
Nathan Sidwell 11b810f116 pt.c (check_nontype_parm): Rename to ...
* pt.c (check_nontype_parm): Rename to ...
	(invalid_nontype_parm_type_p): ... here.
	(process_template_parm): Adjust.
	(convert_template_argument): Adjust.

From-SVN: r39040
2001-01-15 16:18:43 +00:00
Richard Earnshaw 6c98269caa arm.md (cbranchsi4): Correct calculation of branch ranges.
* arm.md (cbranchsi4): Correct calculation of branch ranges.
(negated_cbranchsi4): Likewise.

From-SVN: r39039
2001-01-15 16:17:08 +00:00
Richard Earnshaw b3c5b2be07 Fix ommision from previous ChangeLog entry.
From-SVN: r39038
2001-01-15 14:35:55 +00:00
Richard Earnshaw fa13446b1f semi.h (SUBTARGET_EXTRA_SPECS): Define.
* config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define.
(SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
(ASM_SPEC): Call subtarget_extra_asm_spec.
* config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define.
(SUBTARGET_EXTRA_ASM_SPEC): Define to empty string.
(ASM_SPEC): Call subtarget_extra_asm_spec.

From-SVN: r39037
2001-01-15 14:30:38 +00:00
Andreas Jaeger 77ebd4356e i386.c (ix86_init_builtins): Make i size_t to remove warnings.
2001-01-15  Andreas Jaeger  <aj@suse.de>

	* config/i386/i386.c (ix86_init_builtins): Make i size_t to remove warnings.
	(ix86_expand_builtin): Likewise.

	* gencodes.c (output_predicate_decls): Make i size_t to avoid
	warning about comparison between signed and unsigned.

From-SVN: r39036
2001-01-15 14:19:31 +01:00
Geoffrey Keating 998a298e1e * expr.c (do_jump): Treat VOIDmode CONST_DOUBLEs like CONST_INTs.
From-SVN: r39035
2001-01-15 12:03:36 +00:00
Nathan Sidwell db3f4e4eff pt.c (check_nontype_parm): New function.
cp:
	* pt.c (check_nontype_parm): New function.
	(process_template_parm): Use it.
	(convert_template_argument): Use it.
	(convert_nontype_argument, RECORD_TYPE): Assert it's a ptr to
	member.
testsuite:
	* g++.old-deja/g++.pt/nontype5.C: New test.

From-SVN: r39034
2001-01-15 09:30:03 +00:00
Jeff Law eeb9ab559d Daily bump.
From-SVN: r39033
2001-01-15 01:45:17 -07:00
Alexandre Petit-Bianco 2feccc205e All files with updated copyright.
2001-01-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	All files with updated copyright.
	* prims.cc (class _Jv_PrimClass): Removed.
	(init_prim_class): New function.
	(DECLARE_PRIM_TYPE): Rewritten. `java::lang::Class' replaces
	`_Jv_PrimClass' in primitive type declarations. Assign to the
	value returned by `init_prim_class.'
	* gcj/array.h: `java::lang::Class' replaces `_Jv_PrimClass' in
	primitive type declarations.
	(JvPrimClass): Cast to `jclass' removed.
	* java/lang/Class.h (Class): New constructor.
	(Class): New copy constructor.
	(initializePrim): New prototype.
	(_Jv_PrimClass): Field removed.
	* java/lang/Object.h (struct _JvObjectPrefix): New virtuals
	nacd_1 and nacd_2 (for compatibility with the new C++ ABI.)
	(class java::lang::Object): `finalize' moved up front.
	* java/lang/natClass.cc
	(isAssignableFrom): Turned outline.
	(isInstance): Likewise.
	(isInterface): Likewise, fixed indentation.
	(initializePrim): New function.

(New C++ ABI compatibility patch:
 http://sources.redhat.com/ml/java-patches/2001-q1/msg00065.html)

From-SVN: r39032
2001-01-15 00:11:40 -08:00
Alexandre Petit-Bianco dc08e60389 All files with updated copyright when applicable.
2001-01-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	All files with updated copyright when applicable.
	* Make-lang.in (JVGENMAIN_OBS): Removed java/mangle.o.
	* class.c (mangle_class_field): Function removed.
	(append_gpp_mangled_type, mangle_static_field, mangle_field): Likewise.
	(utf8_cmp, cxx_keyword_p): Moved to lex.c.
	(build_class_ref): Call `java_mangle_class_field' instead of
	`mangle_class_field.'
	(build_dtable_decl): Rewritten to call `java_mangle_vtable.'
	(layout_class): Call `java_mangle_decl' instead of
	`mangle_static_field.'
	(cxx_keywords): Initialized static array moved to `lex.c.'
	(layout_class_method): Changed leading comment. Simplified to
	call `java_mangle_decl.' Local `ptr' moved in for loop body.
	* decl.c (lang_mark_tree): Mark field `package_list.'
	* java-tree.h (TYPE_PACKAGE_LIST): New macro.
	(struct lang_type): New field `package_list.'
	(unicode_mangling_length): Prototype removed.
	(append_gpp_mangled_name, append_gpp_mangled_classtype,
	emit_unicode_mangled_name): Likewise.
	(cxx_keyword_p): New prototype.
	(java_mangle_decl, java_mangle_class_field,
	java_mangle_class_field_from_string, java_mangle_vtable): Likewise.
	* jcf-parse.c (jcf_parse_source): Constify `file' argument to
	`build_expr_wfl.'
	* jvgenmain.c (main_method_prefix): Global variable removed.
	(main_method_suffix): Likewise.
	(do_mangle_classname): New function.
	(main): Call it. Format changed to accomodate new mangling scheme.
	* lex.c: (utf8_cmp): Conditionally prototyped.
	(cxx_keywords): Moved from class.c, conditionally defined.
	(utf8_cmp, cxx_keyword_p): Likewise.
	* mangle.c (obstack.h, ggc.h): Included.
	(mangle_field_decl): New function.
	(mangle_method_decl, mangle_type, mangle_pointer_type,
	mangle_array_type, mangle_record_type,
	find_compression_pointer_match, find_compression_array_match,
	find_compression_record_match,
	find_compression_array_template_match, set_type_package_list,
	entry_match_pointer_p, emit_compression_string, init_mangling,
	finish_mangling, compression_table_add, mangle_member_name): Likewise.
	(mangle_obstack): New global.
	(MANGLE_RAW_STRING): New macro.
	(unicode_mangling_length): Turned static.
	(append_unicode_mangled_name): Renamed from
	`emit_unicode_mangled_name.'  Turned static. `mangle_obstack'
	replaces `obstack', removed from the parameter list.
	(append_gpp_mangled_name): Turned static. `mangle_obstack'
	replaces parameter `obstack', removed from the parameter list. Call
	`append_unicode_mangled_name' instead of `emit_unicode_mangled_name.
	(append_gpp_mangled_classtype): Removed.
	(compression_table, compression_next): New static variables.
	* parse.y (temporary_obstack): Extern declaration removed.

(This is the new C++ ABI compatibility patch:
  http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01225.html)

From-SVN: r39031
2001-01-15 00:01:22 -08:00
Mark Wielaard b9333bff58 URLDecoder.java: Thanks Edgar Villanueva (edgarvil@home.com)
* java/net/URLDecoder.java: Thanks Edgar Villanueva (edgarvil@home.com)
   (decode): Merge comments with Classpath, don't throw Exception

From-SVN: r39030
2001-01-15 07:58:16 +00:00
Neil Booth f617c7a36c if-2.c: Comment out occasionally bogus test; we have an equivalent working one below it.
* gcc.dg/cpp/if-2.c: Comment out occasionally bogus test; we
        have an equivalent working one below it.

From-SVN: r39029
2001-01-15 07:51:18 +00:00
Ralf Baechle 1b26cad749 linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change SUBTARGET_CPP_SPEC apropriatly.
* config/mips/linux.h (SUBTARGET_CPP_SPEC): Default ABI is 32; change
        SUBTARGET_CPP_SPEC apropriatly.

From-SVN: r39028
2001-01-15 06:56:14 +01:00
Jeffrey Oldham e5aed4e145 instantiate2.C: Add explanatory comment.
2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>

	* g++.old-deja/g++.ext/instantiate2.C: Add explanatory comment.
	* g++.old-deja/g++.ext/instantiate3.C: Likewise.

From-SVN: r39027
2001-01-15 04:30:35 +00:00
Mark Mitchell e3406b2a3d * varasm.c (make_decl_rtl): Fix typo in last change.
From-SVN: r39026
2001-01-15 04:15:04 +00:00
Fergus Henderson 357c6a4b51 * MAINTAINERS: Add myself as Mercury front-end maintainer.
From-SVN: r39025
2001-01-15 04:00:09 +00:00
Jeffrey Oldham e3585d4f86 ecos.exp (conpr-1.C): XFAIL if compile emits message containing "init_priority".
2001-01-14  Jeffrey Oldham  <oldham@codesourcery.com>

	* g++.dg/special/ecos.exp (conpr-1.C): XFAIL if compile emits
	message containing "init_priority".
	(conpr-2.C): Likewise.
	(conpr-3.C): Likewise.
	* g++.old-deja/g++.ext/initp1.C: XFAIL for Irix.

From-SVN: r39024
2001-01-15 03:56:07 +00:00