Commit Graph

41497 Commits

Author SHA1 Message Date
Ulrich Weigand 6a4e49c11d s390.md (reload_insi, [...]): Change mode of scratch register to DImode / TImode.
* config/s390/s390.md (reload_insi, reload_indi): Change mode of
	scratch register to DImode / TImode.
	config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
	register used does not overlap the target.

From-SVN: r50652
2002-03-12 14:32:37 +00:00
Bryce McKinlay acf8bc2567 * jcf-write.c (write_classfile): Improve error strings.
From-SVN: r50649
2002-03-12 10:32:38 +00:00
GCC Administrator 85559bd41b Daily bump.
From-SVN: r50648
2002-03-12 08:18:17 +00:00
Roger Sayle 56f4537eac * gcc.dg/20020312-1.c: New test case.
From-SVN: r50640
2002-03-12 08:53:40 +01:00
Eric Blake 36e5138325 re PR java/5913 (Core dump for String constant instanceof)
2002-03-12  Eric Blake  <ebb9@email.byu.edu>

	* libjava.compile/PR5913.java: Expand test.

From-SVN: r50638
2002-03-12 07:40:46 +00:00
Eric Blake 76a43492ea re PR java/5902 (Gcj fails to parse float)
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	* libjava.compile/PR5902.java: New file.
	* libjava.compile/PR5913.java: New file.
	* libjava.compile/PR5913.xfail: New file.

From-SVN: r50637
2002-03-12 07:23:25 +00:00
Kaveh R. Ghazi 54b6670a15 Makefile.in (debug.o): Depend on debug.h.
* Makefile.in (debug.o): Depend on debug.h.
	* dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
	* debug.c (do_nothing_debug_hooks): Likewise.
	* debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
	sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
	dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
	* dwarf2out.c (dwarf2_debug_hooks): Likewise.
	* dwarfout.c (dwarf_debug_hooks): Likewise.
	* integrate.c (output_inline_function): Likewise.
	* objc/objc-act.c (synth_module_prologue): Likewise.
	* sdbout.c (sdb_debug_hooks): Likewise.
	* toplev.c (debug_hooks): Likewise.
	* vmsdbgout.c (vmsdbg_debug_hooks): Likewise.

From-SVN: r50635
2002-03-12 05:40:36 +00:00
Kaveh R. Ghazi 2465bf7657 1750a.h, [...] (POINTER_SIZE): Delete.
* 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
	dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
	m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
	ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
	v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
	* defaults.h (POINTER_SIZE): Define.
	* doc/tm.texi (POINTER_SIZE): Document default.

From-SVN: r50634
2002-03-12 05:28:21 +00:00
Kaveh R. Ghazi 53f3e9ca98 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
From-SVN: r50633
2002-03-12 05:23:24 +00:00
Eric Blake e0b1c206b8 re PR java/5902 (Gcj fails to parse float)
2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	* lex.c: Adjust comments to GNU standards.

2002-03-11  Eric Blake  <ebb9@email.byu.edu>

	Fix for PR java/5902:
	* lex.c (java_lex): Fix parsing of literals.

From-SVN: r50630
2002-03-12 03:45:57 +00:00
Richard Henderson 44d3eb5b56 toplev.c (rest_of_compilation): Call purge_all_dead_edges if rebuild_label_notes_after_reload.
* toplev.c (rest_of_compilation): Call purge_all_dead_edges
        if rebuild_label_notes_after_reload.

From-SVN: r50629
2002-03-11 19:12:18 -08:00
Benjamin Kosnik 31f93f905f acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
	* aclocal.m4: Regenerate.
	* config.h.in: Regenerate.
	* configure: Regenerate.
	* include/c_std/std_cwctype.h: Guard.

From-SVN: r50628
2002-03-12 02:42:11 +00:00
Hans-Peter Nilsson 4a085d2edd cris.c (cris_target_asm_function_prologue): Do not emit pic register load if "internal" visibility.
* config/cris/cris.c (cris_target_asm_function_prologue):  Do not
	emit pic register load if "internal" visibility.
	(cris_print_operand): Avoid traditional-warning for 0xffffffff.
	(cris_expand_builtin_va_arg): Do all computations on trees.

From-SVN: r50627
2002-03-12 02:17:30 +00:00
Chris Demetriou cdfda6686e acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
2002-03-11  Chris Demetriou  <cgd@broadcom.com>

	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
	whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r50626
2002-03-12 01:45:50 +00:00
Benjamin Kosnik c2b1bb034b stl_bvector.h: Fix warning.
2002-03-11  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_bvector.h: Fix warning.

From-SVN: r50625
2002-03-12 01:43:44 +00:00
Aldy Hernandez 55a21c32e7 altivec-1.c: Cleanup and use altivec.h.
2002-03-11  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-1.c: Cleanup and use altivec.h.

From-SVN: r50624
2002-03-12 01:24:42 +00:00
Richard Henderson bc204393c8 rtlanal.c: Include recog.h.
* rtlanal.c: Include recog.h.
        (keep_with_call_p): Fix thinko.
        * Makefile.in (rtlanal.o): Update dependencies.

From-SVN: r50623
2002-03-11 17:08:11 -08:00
Richard Henderson 63adb4ff83 * Makefile.in (.NOTPARALLEL): Add fake tag.
From-SVN: r50622
2002-03-11 16:48:36 -08:00
Chris Meyer 6b8b9d7bd4 genflags.c (gen_insn): Use IS_VSPACE.
* genflags.c (gen_insn): Use IS_VSPACE.
        * genoutput.c (output_insn_data): Likewise.
        (process_template): Likewise.

From-SVN: r50616
2002-03-11 14:39:35 -08:00
Richard Henderson 172f7610ae * include/bits/stl_bvector.h (_Bit_type): New. Use throughout.
From-SVN: r50615
2002-03-11 14:36:30 -08:00
Tom Tromey e1b56469bf * ChangeLog.gcj: Imported 1.1.4, while preserving local changes.
From-SVN: r50612
2002-03-11 22:11:18 +00:00
Richard Henderson 932b4e3e24 Mark change for PR 5693.
From-SVN: r50610
2002-03-11 14:05:41 -08:00
Tom Tromey 682b8f4ab7 Initial revision
From-SVN: r50606
2002-03-11 21:53:27 +00:00
Tom Tromey 2eb018ff2c Dummy commit in preparation for import
From-SVN: r50605
2002-03-11 21:50:08 +00:00
Richard Henderson 6c40858f8e * toplev.c (rest_of_compilation): Don't compile if we've had errors.
From-SVN: r50604
2002-03-11 13:49:26 -08:00
Neil Booth 40adaa2797 Makefile.in: Update.
* Makefile.in: Update.
doc:
	* cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
	Update documentation.
	* gcc.texi: Include cppopts.texi and cppenv.texi.
	* cpp.texi: Include cppopts.texi and cppenv.texi.

From-SVN: r50599
2002-03-11 21:11:36 +00:00
Phil Edwards abd3d6007c libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles): New function.
2002-03-11  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles):
	New function.  Build the list of tests to run in testsuite_files.
	* testsuite/libstdc++-v3.dg/dg.exp:  Use it.

From-SVN: r50598
2002-03-11 21:11:07 +00:00
Phil Edwards 72c9b0629d capacity.cc: Only explicitly instantiate on platforms with no weak support.
2002-03-11  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
	platforms with no weak support.
	* testsuite/27_io/ios_init.cc:  Likewise.

From-SVN: r50597
2002-03-11 21:08:06 +00:00
Nathan Sidwell ab04e34bff Revert 2001-03-26 Nathan Sidwell <nathan@codesourcery.com>, DR209 is now not a defect.
cp:
	Revert 2001-03-26  Nathan Sidwell  <nathan@codesourcery.com>,
	DR209 is now not a defect.
	* cp-tree.h (skip_type_access_control): Remove.
	* decl.c (grokdeclarator): Do type access control for friend
	declarations.
	* semantics.c (decl_type_access_control): Don't reset
	current_type_lookups.
	(save_type_access_control): Always save the lookups.
	(skip_type_access_control): Remove.
	(finish_class_definition): Don't change type_lookups.
testsuite:
	* testsuite/g++.old-deja/g++.other/friend9.C: Revert DR 209 changes.
	* testsuite/g++.old-deja/g++.robertl/eb56.C: Likewise.

From-SVN: r50595
2002-03-11 20:51:00 +00:00
Zack Weinberg 049b03f488 texi2pod.pl: Handle @include, @ftable, @vtable.
* contrib/texi2pod.pl: Handle @include, @ftable, @vtable.
	Reformat some code for clarity.
	* gcc/Makefile.in: Give texi2pod its input file as a command
	line argument, not on stdin.

From-SVN: r50592
2002-03-11 20:37:13 +00:00
Nathan Sidwell 999cc24c08 Revert 2000-12-01 Nathan Sidwell <nathan@codesourcery.com>, It is incorrect.
cp:
	Revert 2000-12-01  Nathan Sidwell  <nathan@codesourcery.com>,
	It is incorrect.
	* typeck.c (build_static_cast): Compare non-qualified types
	with pointer to member conversions.
testsuite:
	* testsuite/g++.dg/overload/pmf1.C: New test.

From-SVN: r50591
2002-03-11 20:34:51 +00:00
Dan Nicolaescu 61eece67a6 C++ alias analysis improvement.
2002-03-06  Dan Nicolaescu  <dann@ics.uci.edu>
            Daniel Berlin  <dan@dberlin.org>

        C++ alias analysis improvement.
	* alias.c (record_component_aliases): Record aliases for base
        classes too.
	* cp/cp-lang.c (ok_to_generate_alias_set_for_type): New function.
	(cxx_get_alias_set): Use it.

Co-Authored-By: Daniel Berlin <dberlin@dberlin.org>

From-SVN: r50587
2002-03-11 13:01:54 -05:00
Ulrich Weigand ff080abaf5 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
From-SVN: r50586
2002-03-11 14:04:51 +00:00
Douglas B Rupp fa2d765a47 * toplev.c (vms_fopen): Remove, not needed.
From-SVN: r50584
2002-03-11 08:27:46 -05:00
Douglas B Rupp 6f1fd286cd * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
From-SVN: r50582
2002-03-11 08:22:57 -05:00
Douglas B Rupp b230e05768 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
From-SVN: r50580
2002-03-11 08:14:12 -05:00
Kazu Hirata 1453ec8cd6 * gcc.c-torture/execute/20020307-1.c: Use long.
From-SVN: r50578
2002-03-11 13:11:10 +00:00
Douglas B Rupp cb9a8e9764 alpha.c (alpha_sa_size, VMS): Don't reserve space for FP, already done later.
* config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
	for FP, already done later.

From-SVN: r50577
2002-03-11 08:09:28 -05:00
Douglas B Rupp 50c7457998 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
From-SVN: r50575
2002-03-11 07:47:53 -05:00
Douglas B Rupp 1682dbb1d7 toplev.c (debug_args): Add entry for VMS_DEBUG.
* toplev.c (debug_args): Add entry for VMS_DEBUG.
	* vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.

From-SVN: r50573
2002-03-11 07:42:08 -05:00
Bryce McKinlay 884523df8d parse.y (patch_assignment): Wrap the right-hand-side with a save_expr to prevent it getting evaluated twice...
* parse.y (patch_assignment): Wrap the right-hand-side with a save_expr
	to prevent it getting evaluated twice in the store checking case.
	* expr.c (build_java_arraystore_check): Unwrap SAVE_EXPR's when
	examining OBJECT.

From-SVN: r50570
2002-03-11 11:15:10 +00:00
Richard Sandiford 3fcaac1d8c defaults.h (LARGEST_EXPONENT_IS_NORMAL, [...]): New.
* defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
	(MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
	LARGEST_EXPONENT_IS_NORMAL for the given mode.
	(MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
	* real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
	(ediv, emul, eldexp, esqrt): Likewise.
	(etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
	(e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
	(saturate): New function.
	(toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
	(make_nan): Use a saturation value instead of a NaN if
	LARGEST_EXPONENT_IS_NORMAL.  Warn when this happens.
	* fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
	inputs if LARGEST_EXPONENT_IS_NORMAL.  Represent subnormals as
	zero if NO_DENORMALS.  Only round to nearest if !ROUND_TOWARDS_ZERO.
	(unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
	(_fpmul_parts, _fpdiv_parts): Only round to nearest if
	!ROUND_TOWARDS_ZERO.
	* doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
	(ROUND_TOWARDS_ZERO): Document.

From-SVN: r50569
2002-03-11 11:13:45 +00:00
Andreas Jaeger d25558bee8 * cfg.c (dump_flow_info): Remove unused variable.
From-SVN: r50568
2002-03-11 12:10:44 +01:00
Hans-Peter Nilsson c71f9ae7d2 mmix.c (mmix_expand_builtin_va_arg): Do all computations on trees.
* config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
	computations on trees.

From-SVN: r50567
2002-03-11 10:44:27 +00:00
Jakub Jelinek 5ddec02e71 re PR rtl-optimization/5844 (Bad code generated for -O2 -mcpu=i586)
PR optimization/5844
	* gcc.dg/20020310-1.c: New test.

From-SVN: r50566
2002-03-11 11:12:03 +01:00
GCC Administrator eb58b2086c Daily bump.
From-SVN: r50564
2002-03-11 08:17:16 +00:00
Bryce McKinlay 60678e476f posix.h: Add multiple include header protection.
* include/posix.h: Add multiple include header protection.
	* java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.

From-SVN: r50559
2002-03-11 04:15:51 +00:00
Adam Megacz 72da3c3e58 natPlainSocketImpl.cc: Added #include <platform.h>.
2002-03-10  Adam Megacz <adam@xwt.org>

        * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.

From-SVN: r50556
2002-03-11 01:34:08 +00:00
Paolo Carlini c15892e05e locale_facets.tcc (time_put::do_put): Consider sizeof(char_type) in allocating the buffer.
2002-03-10  Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/locale_facets.tcc (time_put::do_put):
	Consider sizeof(char_type) in allocating the buffer.

	* include/bits/locale_facets.tcc (collate::do_tranform):
	Remove redundant variable.

From-SVN: r50553
2002-03-10 23:51:31 +00:00
Richard Henderson 561c9153eb reload.c (copy_replacements_1): New.
* reload.c (copy_replacements_1): New.
        (copy_replacements): Use it to recurse through the rtx.

From-SVN: r50552
2002-03-10 15:51:08 -08:00