Commit Graph

41782 Commits

Author SHA1 Message Date
Tom Tromey
1f3f6dadcb mauve.exp (test_mauve): Use correct stderr redirection code.
* libjava.mauve/mauve.exp (test_mauve): Use correct stderr
	redirection code.

From-SVN: r51405
2002-03-26 20:51:19 +00:00
David Edelsohn
7032923ba3 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
From-SVN: r51402
2002-03-26 15:13:45 -05:00
Bob Wilson
8be562758e * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
From-SVN: r51400
2002-03-26 19:32:18 +00:00
Tom Tromey
c8c21a8cd0 re PR java/5942 (tree check failure when compiling Classpath with strictfp StrictMath class)
Fix for PR java/5942:
	* parse.y (init_src_parse): Added sanity check.
	* parse.h (struct parser_ctxt) [modifier_ctx]: Array has 12
	elements, not 11.

From-SVN: r51398
2002-03-26 18:59:04 +00:00
Mark Mitchell
46ff504727 re PR c++/4884 (g++ 3.0.2 problem with -fvolatile)
PR c++/4884.
	* init.c (build_new_1): Allow for the fact the result of
	build_function_call may be a COMPOUND_EXPR.

	* g++.dg/init/new1.C: New test.

From-SVN: r51396
2002-03-26 18:37:56 +00:00
Nathan Sidwell
6d4c57a0a4 re PR c++/5682 (ICE in build_secondary_vtable)
cp:
	PR c++/5682
	* cp-tree.h (BINFO_PRIMARY_P): Explain meaning better.
	(dfs_skip_nonprimary_vbases_unmarkedp): Remove.
	(dfs_skip_nonprimary_vbases_markedp): Remove.
	* search.c (get_shared_vbase_if_not_primary): Remove.
	(dfs_skip_nonprimary_vbases_unmarkedp): Remove.
	(dfs_skip_nonprimary_vbases_markedp): Remove.
	(dfs_unmarked_real_bases_queue_p): Just get the canonical binfo.
	(dfs_marked_real_bases_queue_p): Likewise.
testsuite:
	* g++.dg/abi/vbase9.C: New test.

From-SVN: r51392
2002-03-26 18:16:26 +00:00
Richard Earnshaw
fc4a714bd5 * gcc.dg/arm-asm.c: New test.
From-SVN: r51390
2002-03-26 17:59:00 +00:00
Richard Earnshaw
56fbb855b6 re PR target/5621 (ARM compiler aborts with asm "m" constraint)
PR target/5621
* arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
"Add a pool_range attribute", which was lost during the ARM/Thumb
merge.

From-SVN: r51389
2002-03-26 17:34:22 +00:00
Bob Wilson
3437320b81 xtensa.c (xtensa_valid_move): Allow move from a register into the MAC16 accumulator.
* config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
        a register into the MAC16 accumulator.

From-SVN: r51388
2002-03-26 17:16:52 +00:00
Andrew Cagney
173028e5ab Add -Wswitch-enum. Document.
Fix PR c/5044.

From-SVN: r51386
2002-03-26 15:36:37 +00:00
Richard Earnshaw
e14365a738 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
(reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
(reload_muladdsi_compare0_scratch): Delete.

From-SVN: r51385
2002-03-26 13:52:50 +00:00
Loren J. Rittle
46fc709d67 * doc/install.texi (*-*-freebsd*): Update.
From-SVN: r51384
2002-03-26 12:35:20 +00:00
Loren J. Rittle
b4a19310cd * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
From-SVN: r51383
2002-03-26 11:26:13 +00:00
Richard Henderson
8e5fe23fb3 alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK types from the normal argument frame.
* config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
        types from the normal argument frame.

From-SVN: r51380
2002-03-26 01:07:10 -08:00
Richard Henderson
82cf684b41 expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
* expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
        (SUB_PARM_SIZE): Cast DEC to ssizetype.

From-SVN: r51379
2002-03-26 01:06:11 -08:00
Richard Henderson
f36dea3c92 sparc.c (function_arg_pass_by_reference): Pass variable sized objects by reference.
* config/sparc/sparc.c (function_arg_pass_by_reference): Pass
        variable sized objects by reference.
        (sparc_va_arg): Receive them by reference too.

From-SVN: r51378
2002-03-26 00:59:39 -08:00
Richard Henderson
43f2b30807 20020307-2.c (main): Pass a variable sized structure.
* gcc.c-torture/execute/20020307-2.c (main): Pass a variable sized
        structure.

From-SVN: r51376
2002-03-26 00:53:14 -08:00
Hartmut Penner
1447dc6909 s390.c (s390_emit_epilogue): Change epilogue code to not restoring global registers.
* config/s390/s390.c (s390_emit_epilogue): Change epilogue
        code to not restoring global registers.

From-SVN: r51374
2002-03-26 08:44:47 +00:00
GCC Administrator
f2a8c7f078 Daily bump.
From-SVN: r51373
2002-03-26 08:17:37 +00:00
Neil Booth
4f0ade925d Makefile.in (ggc-common.o): Update.
* Makefile.in (ggc-common.o): Update.
	* c-decl.c (lang_mark_tree): Rename c_mark_tree.
	* c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
	* c-tree.h (c_mark_tree): New.
	* ggc-common.c: Include langhooks.h.
	(gcc_mark_trees): Use new langhook.
	* ggc-callbacks.c: Delete file.
	* ggc.h (lang_mark_tree): Remove.
	* langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
	(LANG_HOOKS_INITIALIZER): Update.
	* langhooks.h (struct lang_hooks): New hook.
ada:
	* misc.c (LANG_HOOKS_MARK_TREE): Redefine.
	(lang_mark_tree): Make static, rename.
cp:
	* cp-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
	* cp-tree.h (cxx_mark_tree): New.
	* decl.c (lang_mark_tree): Rename cxx_mark_tree.
f:
	* com.c (LANG_HOOKS_MARK_TREE): Redefine.
	(lang_mark_tree): Rename ffe_mark_tree, make static.
java:
	* decl.c (lang_mark_tree): Rename java_mark_tree.
	* java-tree.h (java_mark_tree): New.
	* java-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
objc:
	* objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.

From-SVN: r51369
2002-03-26 07:16:01 +00:00
Andrew Haley
90b2d2afa1 configure.in, configure: enable dwarf2-exception-style exception handling on IA-64.
* configure.in, configure: enable dwarf2-exception-style
	exception handling on IA-64.
	* include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
	(INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
	Add FIXME comment.

From-SVN: r51367
2002-03-26 03:42:54 +00:00
Zack Weinberg
caba570b31 cpp.texi: Exclude entire Top node from printed manual.
* doc/cpp.texi: Exclude entire Top node from printed manual.
	Move option index after directive index.  Insert page breaks
	before GFDL and concept index.  Index environment variables
	with command line options.
	* doc/cppenv.texi: Use @vtable for environment variable list.
	Add paragraph explaining semantics of empty elements in path
	variables.  Exclude a cross-reference to Fishkill from the
	manpage.  Remove an unnecessary cross-reference of the entry
	right above the referer.  Don't use @anchor in text that goes
	into manpage.
	* doc/cppopts.texi: Cross-reference the environment variables
	section, not the specific environment variable, for consistency.

From-SVN: r51365
2002-03-26 03:25:05 +00:00
Zack Weinberg
28852cc64a * texi2pod.pl: Handle @end ftable and @end vtable.
From-SVN: r51364
2002-03-26 03:04:41 +00:00
Tom Tromey
5c00920976 Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
* Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
	(jv_convert_LDFLAGS): Likewise.
	(gij_LDFLAGS): Likewise.
	(rmic_LDFLAGS): Likewise.
	(rmiregistry_LDFLAGS): Likewise.
	* configure.in (THREADLDFLAGS): New subst; set correctly for
	*BSD.

From-SVN: r51363
2002-03-26 00:54:41 +00:00
Paolo Carlini
81b1b8c29d 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
Richard Henderson  <rth@redhat.com>

	* testsuite/22_locale/codecvt_members_unicode_char.cc
	(test01, test02): make sure that the i_lit_base array
	is sufficiently aligned.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r51359
2002-03-26 00:36:19 +00:00
Richard Henderson
6b2e80b7b4 recog.c (peephole2_optimize): Distribute EH_REGION -1 notes anywhere in the block.
* recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
        anywhere in the block.  Don't refer to insns that have been
        removed from the chain.  Iterate backward through the new insns.
        Don't refer to edges that have been removed.

From-SVN: r51357
2002-03-25 16:30:35 -08:00
Benjamin Kosnik
9ad6276f02 ctype_noninline.h (ctype::classic): Set to _ctype_.
2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>

        * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to
        _ctype_.

From-SVN: r51354
2002-03-25 23:36:47 +00:00
Loren J. Rittle
ed47971a35 gcconfig.h: Change all likely references to linker script synthesized symbols to use this...
* include/private/gcconfig.h: Change all likely references
	to linker script synthesized symbols to use this idiom:
	extern int etext[]; etext

From-SVN: r51352
2002-03-25 23:20:31 +00:00
Paolo Carlini
b7d5968dfc 2002-03-25 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/collate_byname.cc
	(test01): compare the result of collate::compare with
	that of collate::transform + string::compare, not with
	that of collate::transform + collate::compare; values
	returned by collate::compare are normalized, therefore
	test against +-1.

From-SVN: r51351
2002-03-25 23:19:47 +00:00
Alan Modra
67e469d71a combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct test for overflow of constant.
* combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
	test for overflow of constant.

From-SVN: r51349
2002-03-26 09:33:13 +10:30
Richard Henderson
bbffa101d1 20001013-1.c: Add -mcpu=ultrasparc.
* gcc.dg/20001013-1.c: Add -mcpu=ultrasparc.  Only run on
        sparcv9 systems.

From-SVN: r51347
2002-03-25 14:33:43 -08:00
Richard Earnshaw
f235639360 re PR target/2623 ([ARM/2.95] Wrong code when accessing unsigned short in a structure.)
PR target/2623
* arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
(loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
these patterns on arm_archv4.

From-SVN: r51345
2002-03-25 22:22:35 +00:00
Tom Tromey
f695acf69c For PR libgcj/5303:
* gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
	and --version.
	(help): New method.
	(version): Likewise.
	* gnu/gcj/convert/Convert.java (version): Removed extraneous
	"GNU".
	* gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
	"GNU".

From-SVN: r51343
2002-03-25 22:08:27 +00:00
Danny Smith
355426abb3 mingw32.h (WINT_TYPE): Define as "short unsigned int".
* config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
	int".

From-SVN: r51340
2002-03-25 21:23:55 +00:00
Richard Henderson
8018b36d0b 20011119-1.c (xxx): New.
* gcc.c-torture/compile/20011119-1.c (xxx): New.
        * gcc.c-torture/compile/20011119-2.c (xxx): New.

From-SVN: r51337
2002-03-25 12:55:20 -08:00
Zack Weinberg
15e5ad7698 toplev.c: Don't include setjmp.h.
* toplev.c: Don't include setjmp.h.  Kill float_handler_set,
	float_handled, float_handler, float_signal, set_float_handler,
	and do_float_handler.  Set handler for SIGFPE to crash_signal.
	* toplev.h: Don't prototype do_float_handler.

	* c-lex.c: Fold parse_float into lex_number.  Make warning
	about portability of hex float constants more informative, and
	don't issue it on top of a syntax error.
	* fold-const.c: Fold const_binop_1 and fold_convert_1 into
	their callers.
	* real.h: Define REAL_VALUE_ABS here...
	* simplify-rtx.c: ... not here.  Fold check_fold_consts,
	simplify_unary_real, simplify_binary_real, and
	simplify_binary_is2orm1 into their callers.
	* tree.c: Fold build_real_from_int_cst_1 into caller.

	* doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.

	* tsystem.h: Include float.h here...
	* libgcc2.c: ... not here.

java:
	* lex.c: Change java_perform_atof to take normal parameters
	instead of a pointer to a parameter block.  Call it directly
	from java_lex.

testsuite:
	* gcc.dg/c90-hexfloat-1.c: Adjust error regexps.

From-SVN: r51336
2002-03-25 20:52:28 +00:00
Benjamin Kosnik
99ffa1e37a messages_members.h: Correct conditional.
2002-03-25  Benjamin Kosnik  <bkoz@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>

	* config/locale/gnu/messages_members.h: Correct conditional.
	* config/locale/gnu/messages_members.cc: Same.
	* config/locale/gnu/time_members.cc: Same.

From-SVN: r51332
2002-03-25 20:20:34 +00:00
Neil Booth
7b3e519838 * cp-lang.c (LANG_HOOKS_MAYBE_BUILD_CLEANUP): Redefine.
From-SVN: r51329
2002-03-25 19:30:31 +00:00
Mark Wielaard
caaabaa1f2 re PR java/5368 (gcj-3.0.3 segfaults with 20 line program)
Fix for PR java/5368:
	* parse.y (resolve_qualified_expression_name): Use decl not field_decl
	when printing error message.

From-SVN: r51327
2002-03-25 19:23:37 +00:00
Nick Clifton
56ae94053e Fixes for PR bootstrap/3591, target/5676:
* configure.in (mcore-pe): Disable the configuration of
  libstdc++-v3 since exceptions are not supported.
* config/mcore/mcore.h (CC1_SPEC): Define only if not already
  defined.  Do not disable exceptions or rtti.
* config/mcore/mcore-pe.h (CC1_SPEC): Define before including
  mcore.h.  Disable exceptions and rtti, since they are not
  supported by EPOC.

From-SVN: r51326
2002-03-25 19:17:40 +00:00
Neil Booth
c88770e9df c-decl.c (maybe_build_cleanup): Remove.
* c-decl.c (maybe_build_cleanup): Remove.
	* expr.c (expand_expr): Use langhook.
	* langhooks-def.h (lhd_return_null_tree,
	LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
	(LANGHOOKS_INITIALIZER): Update.
	* langhooks.c (lhd_return_null_tree): New.
	* langhooks.h (struct lang_hooks): New hook.
	* tree-inline.c (initialize_inlined_parameters): Use langhook.
	* tree.h (maybe_build_cleanup): Remove.
ada:
	* misc.c (maybe_build_cleanup): Remove.
cp:
	* cp-tree.h (cxx_maybe_build_cleanup): New.
	* decl.c (destroy_local_var, hack_incomplete_structures): Update.
	(maybe_build_cleanup): Rename cxx_maybe_build_cleanup.
	* tree.c (build_target_expr): Update.
f:
	* com.c (maybe_build_cleanup): Remove.
java:
	* decl.c (maybe_build_cleanup): Remove.

From-SVN: r51324
2002-03-25 19:11:13 +00:00
Paolo Carlini
2188d04d14 Fix typo in last Changelog.
From-SVN: r51322
2002-03-25 18:17:51 +00:00
Jeff Sturm
fd28f67b2f * linux_threads.c (GC_get_nprocs): Close file descriptor.
From-SVN: r51321
2002-03-25 18:08:57 +00:00
Bob Wilson
813b848cf2 thunk3.C: Add xtensa-*-* to list of targets using generic thunk support.
* g++.old-deja/g++.jason/thunk3.C: Add xtensa-*-* to list of
        targets using generic thunk support.

From-SVN: r51320
2002-03-25 17:57:03 +00:00
Ulrich Weigand
9cc737e8da 2002-03-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/locale/codecvt_members_unicode_char.cc
	(test01, test02): Fix i_lit_base arrays, making them
	independent from the endianness of the platform.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>

From-SVN: r51314
2002-03-25 13:22:20 +00:00
Jakub Jelinek
2ed1f154c1 regrename.c (build_def_use): Move recog_memoized before extract_insn.
* regrename.c (build_def_use): Move recog_memoized
	before extract_insn.

From-SVN: r51313
2002-03-25 13:51:49 +01:00
Jakub Jelinek
6ddae61286 re PR target/6043 (IICE on ia64 for Blitz config test for C++ complex math)
PR target/6043
	* expr.c (emit_group_store): Handle storing into CONCAT.

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

From-SVN: r51311
2002-03-25 12:34:11 +01:00
GCC Administrator
9035ec7952 Daily bump.
From-SVN: r51309
2002-03-25 08:17:42 +00:00
Jakub Jelinek
ea475b235e regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and corresponding MATCH_DUP.
* regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
	corresponding MATCH_DUP.

	* gcc.c-torture/compile/20020323-1.c: New test.

From-SVN: r51305
2002-03-25 08:45:30 +01:00
Tom Tromey
9b95cee697 Component.java (processEvent): Check ComponentEvent after KeyEvent.
* java/awt/Component.java (processEvent): Check ComponentEvent
	after KeyEvent.

From-SVN: r51301
2002-03-25 06:45:23 +00:00