Commit Graph

41761 Commits

Author SHA1 Message Date
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
Richard Henderson cd39fc1318 * unroll.c (unroll_loop): Zero label_map.
From-SVN: r51300
2002-03-24 18:49:09 -08:00
Richard Henderson e7d482b9e4 gcse.c: Include except.h.
* gcse.c: Include except.h.
        * Makefile.in (gcse.o): Update.

From-SVN: r51297
2002-03-24 18:30:22 -08:00
Bryce McKinlay 8cf29a474f Based on patch from Intel's ORP team:
* java/io/PushbackInputStream.java (available): Calculate correct
	number of bytes in buffer.
	(read): Remove redundant bound check. Return bytes from both the
	buffer and the stream.

From-SVN: r51296
2002-03-25 02:28:22 +00:00
Bryce McKinlay acf9549ef9 FileInputStream.java (skip): Call fd.getFilePointer() and calculate correct number of bytes skipped.
* java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
	calculate correct number of bytes skipped.

From-SVN: r51293
2002-03-25 02:01:29 +00:00
Bryce McKinlay e89268b691 * java/io/PushbackReader.java: Reformat.
From-SVN: r51291
2002-03-25 01:13:20 +00:00
Richard Henderson 1bd6476f2e varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
* varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
        Do resolve_unique_section before shared data clause.

        * gcc.dg/weak-1.c: Use -fno-common.

From-SVN: r51289
2002-03-24 16:44:36 -08:00
David Billinghurst 479e51f6ed f77-edit-apostrophe-out.f: New test
2002-03-25  David Billinghurst  <David.Billinghurst@riotinto.com>

	* g77.dg/f77-edit-apostrophe-out.f: New test
	* g77.dg/f77-edit-h-out.f: New test
	* g77.dg/f77-edit-t-in.f: New test
	* g77.dg/f77-edit-t-out.f: New test
	* g77.dg/f77-edit-x-out.f: New test
	* g77.dg/f77-edit-slash-out.f: New test
	* g77.dg/f77-edit-colon-out.f: New test
	* g77.dg/f77-edit-s-out.f: New test

From-SVN: r51288
2002-03-25 00:29:38 +00:00
David Billinghurst c1dc83a16d f77-edit-apostrophe-out.f: New test
2002-03-25  David Billinghurst  <David.Billinghurst@riotinto.com>

	* g77.dg/f77-edit-apostrophe-out.f: New test
	* g77.dg/f77-edit-h-out.f: New test
	* g77.dg/f77-edit-t-in.f: New test
	* g77.dg/f77-edit-t-out.f: New test
	* g77.dg/f77-edit-x-out.f: New test
	* g77.dg/f77-edit-slash-out.f: New test
	* g77.dg/f77-edit-colon-out.f: New test
	* g77.dg/f77-edit-s-out.f: New test

From-SVN: r51287
2002-03-25 00:22:35 +00:00
Richard Henderson 2e6c150aa8 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
From-SVN: r51286
2002-03-24 16:18:35 -08:00
Richard Henderson b29afcf833 recog.c (peephole2_optimize): Split blocks when EH insns are generated in the middle of a block.
* recog.c (peephole2_optimize): Split blocks when EH insns are
        generated in the middle of a block.  Do global life update if
        zapped EH edges.

From-SVN: r51285
2002-03-24 16:18:10 -08:00
Richard Henderson 47e87a9314 * objc/execute/formal_protocol-6.x: New XFAIL.
From-SVN: r51284
2002-03-24 16:17:42 -08:00
David Billinghurst 5bcf08f63e weak-1.c: Early return from dg-final on platforms that do not support weak symbols
2002-03-25  David.Billinghurst <David.Billinghurst@riotinto.com>

	* gcc.dg/weak-1.c:  Early return from dg-final on platforms
	that do not support weak symbols

From-SVN: r51280
2002-03-24 23:52:20 +00:00
David Billinghurst 12c3717eaf g++.exp: Fix handling of LD_LIBRARY_PATH et al
2002-03-25  David Billinghurst  <David.Billinghurst@riotinto.com>

	* lib/g++.exp:  Fix handling of LD_LIBRARY_PATH et al
	* lib/g77.exp:  Likewise
	* lib/objc.exp: Likewise

From-SVN: r51279
2002-03-24 23:41:22 +00:00
Tom Tromey e1a0d743f1 TextComponent.java (TextComponent): Editable by default.
* java/awt/TextComponent.java (TextComponent): Editable by
	default.

From-SVN: r51278
2002-03-24 22:49:26 +00:00
Tom Tromey 64165b30e6 MenuItem.java (eventMask): No longer private.
* java/awt/MenuItem.java (eventMask): No longer private.
	* java/awt/Button.java (dispatchEventImpl): Only dispatch to
	superclass if we didn't handle event.
	* java/awt/Checkbox.java (dispatchEventImpl): New method.
	* java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
	* java/awt/Choice.java (dispatchEventImpl): New method.
	* java/awt/List.java (dispatchEventImpl): New method.
	* java/awt/Scrollbar.java (dispatchEventImpl): New method.
	* java/awt/TextComponent.java (dispatchEventImpl): New method.
	* java/awt/TextField.java (dispatchEventImpl): New method.

From-SVN: r51277
2002-03-24 22:37:51 +00:00
Richard Henderson 05ed12966c * mips.c (mips_function_value): Only promote_mode for non-libcalls.
From-SVN: r51276
2002-03-24 13:37:40 -08:00
Mark Wielaard c9be3825b3 [multiple changes]
2002-03-24  Eric Blake  <ebb9@email.byu.edu>

        * java/beans/IntrospectionException.java: Update to 1.4.
        * java/beans/PropertyVetoException.java: Ditto.

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

        * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
        Arrays.equals instead of ArrayHelper.equalsArray.

2002-03-24  C. Brian Jones <cbj@gnu.org>

        * java/beans/Introspector.java: added new static final fields
        introduced in 1.2, lots of other updates remain to be done

2002-03-24  C. Brian Jones <cbj@gnu.org>

        * java/beans/Introspector.java: reformatting

2002-03-24  C. Brian Jones <cbj@gnu.org>

        * java/beans/Introspector.java: default beanInfoSearchPath will
        not include sun.beans.infos given we provide no such package and
        the API doesn't really require it; gnu.java.beans.info is the
        default.

2002-03-24  Mark Wielaard  <mark@klomp.org>

        Thanks to Orp developers
        * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
        switch TRUE and FALSE return values.

From-SVN: r51273
2002-03-24 21:32:14 +00:00
Neil Booth 3ddbb8a977 gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
preprocessor/3951
	* gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
	* cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
	(init_dependency_output): Don't make no_output decision here.

From-SVN: r51272
2002-03-24 21:01:00 +00:00
Andrew Cagney 740b77b675 stmt.c (check_for_full_enumeration_handling): Remove tests of warn_switch.
* stmt.c (check_for_full_enumeration_handling): Remove tests of
warn_switch.  Update description.
(expand_end_case_type): Call check_for_full_enumeration_handling
when warn_switch.

From-SVN: r51270
2002-03-24 19:53:49 +00:00
Stephane Carrez c61f581f32 fix changelog 2002-03-24 Stephane Carrez
From-SVN: r51267
2002-03-24 17:23:53 +01:00
Stephane Carrez 7590cfd0ca m68hc11.c (m68hc11_autoinc_compatible_p): New function.
* config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
	(m68hc11_split_move): Call it to see if the source and destination
	operands use the same direction auto inc/dec mode, otherwise make the
	source an offsetable operand and generate an add.

From-SVN: r51264
2002-03-24 17:09:04 +01:00