Commit Graph

32112 Commits

Author SHA1 Message Date
Rodney Brown
0b749da1b8 * getopt.h obstack.h: Standarize copyright statement.
From-SVN: r38086
2000-12-06 18:54:13 -07:00
Jeff Law
ff08da301e machmode.def: Use correct definition for BITSIZE on targets where BITS_PER_UNIT != 8.
* machmode.def: Use correct definition for BITSIZE on targets where
	BITS_PER_UNIT != 8.

From-SVN: r38085
2000-12-06 18:47:31 -07:00
Ralf Corsepius
68c9c61a01 * thr-rtems.c: New file. Stub to compile.
From-SVN: r38084
2000-12-06 18:40:42 -07:00
Bruce Korb
6047d50309 Make the fixinc/Makefile.* files more similar
From-SVN: r38083
2000-12-07 01:32:11 +00:00
J. David Anglin
becf164798 pa.c: Include expr.h before c-tree.h.
* pa.c: Include expr.h before c-tree.h.
        (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
        instead of reverse_condition.
        (print_operand): Correct predicates for GT, GE, LT and LE.  Add
        predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
        ORDERED.
        (cmpib_comparison_operator): Add GEU and LTU codes.
        * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
        * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
        bordered): New float conditional branch patterns.

From-SVN: r38082
2000-12-06 18:06:47 -07:00
Tom Tromey
b2d98afe06 GridBagConstraints.java: Filled in values for static final fields.
* java/awt/GridBagConstraints.java: Filled in values for static
	final fields.

From-SVN: r38081
2000-12-07 00:46:13 +00:00
J"orn Rennecke
2a84158850 * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
From-SVN: r38080
2000-12-07 00:13:23 +00:00
Phil Edwards
f84ef7fb01 acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test whether the cached result is present.
2000-12-06  Phil Edwards  <pme@sources.redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*):  Pre-test
	  whether the cached result is present.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.
	* Makefile.in:  Regenerate.
	* libio/Makefile.in:  Regenerate.
	* libmath/Makefile.in:  Regenerate.
	* libsupc++/Makefile.in:  Regenerate.
	* src/Makefile.in:  Regenerate.

From-SVN: r38079
2000-12-06 21:44:50 +00:00
Tom Tromey
308d7d2b3b * java/util/BitSet.java: Updated copyright notice.
From-SVN: r38078
2000-12-06 21:26:32 +00:00
Tom Tromey
c9e99de581 Removed erroneous ChangeLog line
From-SVN: r38077
2000-12-06 21:23:00 +00:00
Tom Tromey
ef9508c093 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (awt_java_source_files): Added new file.
	* java/awt/GridBagConstraints.java: New file.

From-SVN: r38076
2000-12-06 21:22:23 +00:00
Tom Tromey
456ffe4c68 Collator.java (decomposeCharacter, [...]): Now package-private, not protected.
* java/text/Collator.java (decomposeCharacter, decmp, strength):
	Now package-private, not protected.
	* java/text/DateFormatSymbols.java (equals): Now private.
	* java/text/DecimalFormatSymbols.java (safeGetChar): Now private.
	* java/util/BitSet.java: Class no longer final.
	* java/util/Set.java (toArray(Object[])): New method.

From-SVN: r38075
2000-12-06 21:14:14 +00:00
Richard Earnshaw
f0bffd9921 configure.target (*-*-freebsd, *-*-netbsd): Correct paths to os_include_dir.
* configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
os_include_dir.

From-SVN: r38074
2000-12-06 21:04:19 +00:00
Neil Booth
176cb77883 * gcc.dg/cpp/backslash2.c
From-SVN: r38073
2000-12-06 20:14:32 +00:00
Sylvain Pion
c673abe457 cpplex.c (skip_escaped_newlines): Don't warn for spaces between backslash and newline, when inside a comment.
* cpplex.c (skip_escaped_newlines): Don't warn for spaces between
        backslash and newline, when inside a comment.

From-SVN: r38072
2000-12-06 20:12:59 +00:00
Alexandre Petit-Bianco
46142b263c parse.y (end_artificial_method_body): Fixed typo.
2000-12-06  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (end_artificial_method_body): Fixed typo.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00320.html)

From-SVN: r38071
2000-12-06 12:02:02 -08:00
Alexandre Petit-Bianco
c7303e411e [multiple changes]
2000-10-18  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-write.c (OP1): Update `last_bc'.
        (struct jcf_block): Fixed indentation and typo in comments.  New
        field `last_bc'.
        (generate_bytecode_insns): Insert `nop' if `jsr' immediately
        follows `monitorenter'.
        * parse.y (patch_synchronized_statement): New local `tmp'. Call
        `patch_string'.
        Fixes gcj/232.

2000-10-13  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * check-init.c (check_init): Fixed leading comment. Use
        LOCAL_FINAL_P.
        * decl.c (push_jvm_slot): Use MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC.
        (give_name_to_locals): Likewise.
        (lang_mark_tree): Handle FIELD_DECL. Register `am' and `wfl'
        fields in lang_decl_var.
        * java-tree.h (DECL_FUNCTION_SYNTHETIC_CTOR,
        DECL_FUNCTION_ALL_FINAL_INITIALIZED): New macros.
        (FIELD_INNER_ACCESS): Removed ugly cast, macro rewritten.
        (FIELD_INNER_ACCESS_P, DECL_FIELD_FINAL_IUD, DECL_FIELD_FINAL_LIIC,
        DECL_FIELD_FINAL_IERR, DECL_FIELD_FINAL_WFL): New macros.
        (LOCAL_FINAL): Rewritten.
        (LOCAL_FINAL_P, FINAL_VARIABLE_P, CLASS_FINAL_VARIABLE_P
        MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): New macros.
        (struct lang_decl): Fixed comments. Added `synthetic_ctor' and
        `init_final' fields.
        (struct lang_decl_var): Fixed leading comment. Added `am', `wfl',
        `final_uid', `final_liic', `final_ierr' and `local_final' fields.
        (TYPE_HAS_FINAL_VARIABLE): New macro.
        (struct lang_type): Added `afv' field.
        * parse.y (check_static_final_variable_assignment_flag): New function.
        (reset_static_final_variable_assignment_flag): Likewise.
        (check_final_variable_local_assignment_flag): Likewise.
        (reset_final_variable_local_assignment_flag): Likewise.
        (check_final_variable_indirect_assignment): Likewise.
        (check_final_variable_global_assignment_flag): Likewise.
        (add_inner_class_fields): Use LOCAL_FINAL_P.
        (register_fields): Handle local finals and final variables.
        (craft_constructor): Set DECL_FUNCTION_SYNTHETIC_CTOR.
        (declare_local_variables): Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC.
        (source_start_java_method): Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC
        on local finals.
        (java_complete_expand_methods): Loop to set
        TYPE_HAS_FINAL_VARIABLE. Call
        `reset_final_variable_local_assignment_flag' and
        `check_final_variable_local_assignment_flag' accordingly before
        and after constructor expansion. Call
        `reset_static_final_variable_assignment_flag'
        before expanding <clinit> and after call
        `check_static_final_variable_assignment_flag' if the
        current_class isn't an interface. After all methods have been
        expanded, call `check_final_variable_global_assignment_flag' and
        `check_static_final_variable_assignment_flag' if the current class
        is an interface.
        (maybe_yank_clinit): Fixed typo in comment.
        (build_outer_field_access_methods): Removed old sanity check. Use
        FIELD_INNER_ACCESS_P. Call MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC.
        Don't create access methods for finals.
        (resolve_field_access): Use `CLASS_FINAL_VARIABLE_P'.
        (java_complete_tree): Likewise. Reset DECL_FIELD_FINAL_IUD if
        existing DECL_INIT has been processed.
        (java_complete_lhs): Likewise.
        (check_final_assignment): Filter input on `lvalue''s TREE_CODE.
        Test for COMPONENT_REF to get to the FIELD_DECL. Implemented new
        logic.
        (patch_assignment): Use LOCAL_FINAL_P.
        (fold_constant_for_init): Reset DECL_FIELD_FINAL_IUD if
        DECL_INITIAL is nullified.
        Fixes gcj/163.

2000-10-09  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (pop_current_osb): New function.
        (array_type:): Use `dims:', changed actions
        accordingly. Suggested by Anthony Green.
        (array_creation_expression:): Used pop_current_osb.
        (cast_expression:): Likewise.
        (search_applicable_method_list): Fixed indentation.

2000-10-08  Anthony Green  <green@redhat.com>

        * parse.y (array_type_literal): Remove production.
        (type_literals): Refer to array_type, not array_type_literal.

(http://gcc.gnu.org/ml/gcc-patches/2000-12/msg00317.html)

From-SVN: r38070
2000-12-06 10:55:42 -08:00
Joseph Myers
ee4570050a invoke.texi: Use @table @samp instead of @itemize @minus for table of language standards.
* invoke.texi: Use @table @samp instead of @itemize @minus for
	table of language standards.  Fix use of @pxref.  From Zack
	Weinberg.  Also exclude specs documentation from generated
	manpage, and create separate ENVIRONMENT section.

From-SVN: r38069
2000-12-06 18:50:49 +00:00
Michael Matz
b614171efe gcse.c (compute_pre_data): Kill trapping expressions in destination blocks of abnormal edges.
* gcse.c (compute_pre_data): Kill trapping expressions in
        destination blocks of abnormal edges.

From-SVN: r38068
2000-12-06 10:45:31 -08:00
Alexandre Oliva
8954e858e6 lang-specs.h (c++): When invoking the stand-alone preprocessor for -save-temps...
* lang-specs.h (c++): When invoking the stand-alone preprocessor
for -save-temps, pass all relevant -Defines to it, and then don't
pass them to cc1plus.

From-SVN: r38067
2000-12-06 17:19:32 +00:00
Alexandre Oliva
03391b53b5 Rebuilt again, something went wrong last time
From-SVN: r38066
2000-12-06 17:16:32 +00:00
Kaveh R. Ghazi
a903143d21 stdio-opt-1.c: Add more checks.
* testsuite/gcc.c-torture/execute/stdio-opt-1.c: Add more checks.
	* testsuite/gcc.c-torture/execute/stdio-opt-2.c: New test.

From-SVN: r38065
2000-12-06 13:05:28 +00:00
Jeff Law
5fbf4574d4 Daily bump.
From-SVN: r38064
2000-12-06 01:45:14 -07:00
Robert Lipe
162f5967da Regenerate to pick up libtool fix. Per Alexandre Oliva.
From-SVN: r38063
2000-12-06 04:06:15 +00:00
Richard Sandiford
f6cd7c62a1 mn10300.c (mn10300_print_reg_list): Added.
2000-12-05  Richard Sandiford  <r.sandiford@redhat.com>

	* config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
	(mn10300_get_live_callee_saved_regs): Likewise.
	(mn10300_gen_multiple_store): Likewise.
	(store_multiple_operation): Likewise.
	(expand_prologue): Use mn10300_gen_multiple_store().
	* config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
	(mn10300_get_live_callee_saved_regs): Likewise.
	(mn10300_gen_multiple_store): Likewise.
	(store_multiple_operation): Likewise.
	* config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
	tied to store_multiple_operation().

From-SVN: r38062
2000-12-05 20:56:43 -07:00
Jeffrey A Law
598730fe6e configure.target (hpux): Set os_include_dir.
* configure.target (hpux): Set os_include_dir.
        * config/os/hpux/bits/ctype_base.h: New file
        * config/os/hpux/bits/ctype_inline.h: New file
        * config/os/hpux/bits/ctype_noinline.h: New file
        * config/os/hpux/bits/os_defines.h: New file

Forgot to commit last week...

From-SVN: r38061
2000-12-05 20:23:34 -07:00
Jeffrey A Law
dfb2c798ab builtins.c (expand_builtin_setjmp_setup): Set current_function_has_nonlocal_label.
* builtins.c (expand_builtin_setjmp_setup): Set
        current_function_has_nonlocal_label.

From-SVN: r38060
2000-12-05 20:09:49 -07:00
Alexandre Petit-Bianco
239a3da093 Makefile.am (libstdc++.INC): Revert for libjava builds.
2000-12-05  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* src/Makefile.am (libstdc++.INC): Revert for libjava builds.
	* src/Makefile.in: Regenerate.

From-SVN: r38059
2000-12-06 03:05:12 +00:00
Benjamin Kosnik
a767e3837f acinclude.m4 (EXTRA_CXX_FLAGS): And here.
2000-12-05  Benjamin Kosnik  <bkoz@haight.redhat.com>

	* acinclude.m4 (EXTRA_CXX_FLAGS): And here.
	* include/c/bits/std_cstdlib.h (std ): Change macro to
	_GLIBCPP_NEED_LLDIV_T.
	* acconfig.h: Remove unused MBSTATE_T bits.
	* configure.in: Same.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.

From-SVN: r38058
2000-12-06 02:35:27 +00:00
Neil Booth
3cf3593fad cppfiles.c (stack_include_file): Push zero-length buffers in case of failure.
* cppfiles.c (stack_include_file): Push zero-length buffers
        in case of failure.  Return void, as we don't fail any more.
        (read_include_file): Check for files we shouldn't re-read.
        Don't return an error code; errors are implied by marking the
        file NEVER_REREAD.
        (_cpp_execute_include): Move the recursion and in-macro checks
        here.  Update for stack_include_file not failing.
        * cpplib.c (cpp_push_buffer): Always succeed, since
        _cpp_execute_include performs the recursion check.  Tidy up.
        * cpplib.h (cpp_push_buffer): Update prototype.

From-SVN: r38057
2000-12-05 23:42:43 +00:00
Benjamin Kosnik
d53c4221af acinclude.m4: Change up to reflect new directory organization.
2000-12-05  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

	* acinclude.m4: Change up to reflect new directory organization.
	Add in bits for NetBSD.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config/os/bsd: New directory.
	* config/os/netbsd: Move to...
	* config/os/bsd/netbsd: ...here.
	* config/os/freebsd: Move to...
	* config/os/bsd/freebsd: ...here.

From-SVN: r38056
2000-12-05 23:30:12 +00:00
Benjamin Kosnik
f502ff4fc8 acinclude.m4: Change up to reflect new directory organization.
2000-12-05  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

	* acinclude.m4: Change up to reflect new directory organization.
	Add in bits for NetBSD.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config/os/bsd: New directory.
	* config/os/netbsd: Move to...
	* config/os/bsd/netbsd: ...here.
	* config/os/freebsd: Move to...
	* config/os/bsd/freebsd: ...here.

From-SVN: r38055
2000-12-05 23:25:08 +00:00
Benjamin Kosnik
350138ba1d acinclude.m4: Change up to reflect new directory organization.
2000-12-05  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

	* acinclude.m4: Change up to reflect new directory organization.
	Add in bits for NetBSD.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config/os/bsd: New directory.
	* config/os/netbsd: Move to...
	* config/os/bsd/netbsd: ...here.
	* config/os/freebsd: Move to...
	* config/os/bsd/freebsd: ...here.

From-SVN: r38054
2000-12-05 23:06:32 +00:00
Alexandre Oliva
4c42e347ee sched-vis.c (visual_tbl_line_length): New variable.
* sched-vis.c (visual_tbl_line_length): New variable.
(get_visual_tbl_length): Set it.
(visualize_stall_cycles): Don't let stalls overrun
visual_tbl_line_length.

From-SVN: r38053
2000-12-05 22:53:33 +00:00
Zack Weinberg
b75d998f0e texi2pod.pl: Restructure for comprehensibility, add comments.
* texi2pod.pl: Restructure for comprehensibility, add
	comments.  Merge handling of @ignore and @ifxxx.  Handle a
	whole bunch more Texinfo commands.  Use consistent formatting
	style.

From-SVN: r38052
2000-12-05 22:12:42 +00:00
Benjamin Kosnik
f4c79fef19 acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for lldiv_t.
2000-12-05  Benjamin Kosnik  <bkoz@haight.redhat.com>

	* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
	lldiv_t. Allow the use of os-specific defines while checking for
	long-long functions by the inclusion of os_defines.h.
	* aclocal.m4: Regenerate.
	* configure.in: Add comments.
	* configure: Regenerate.
	* acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
	* config.h.in: Regenerate.
	* config/os/gnu-linux/bits/os_defines.h: Fix typos and
	duplications in comments.

From-SVN: r38051
2000-12-05 22:03:19 +00:00
Geoffrey Keating
06a3a6db49 global.c (global_conflicts): Allow for a REG_UNUSED note with a different mode to the REG set in the insn.
* global.c (global_conflicts): Allow for a REG_UNUSED note
with a different mode to the REG set in the insn.

* gcc.c-torture/execute/20001203-2.c: New testcase.

From-SVN: r38046
2000-12-05 19:12:20 +00:00
Kaveh R. Ghazi
9c101f4a0f Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
* Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.

	* fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).

From-SVN: r38045
2000-12-05 18:46:56 +00:00
Richard Earnshaw
1435059ed6 mkfixinc.sh (*-gnu*): activate fixinc for GNU/Hurd and GNU/Linux.
* fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
GNU/Linux.

* fixinc/mkfixinc.sh: Run fixinc on netbsd.
* fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
to cope with aliased copies.
* fixinc/fixincl.x: Regenerate.

From-SVN: r38044
2000-12-05 18:08:09 +00:00
Jason Merrill
b5d1497d5e cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled name before allocating the dyn_string.
* cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
        name before allocating the dyn_string.

From-SVN: r38043
2000-12-05 12:29:12 -05:00
Bernd Schmidt
f56887a78f Fix building on non-INSN_SCHEDULING targets, and fix a small bug in rgn_print_insn.
From-SVN: r38042
2000-12-05 16:51:13 +00:00
Will Cohen
3dc9aec61f Modification to define_label and finish_case_label in decl.c to handle
scoping correctly.

From-SVN: r38041
2000-12-05 16:21:54 +00:00
Nathan Sidwell
cbb409451b cp-tree.h (IDENTIFIER_VIRTUAL_P): Document.
cp:
	* cp-tree.h (IDENTIFIER_VIRTUAL_P): Document.
	(get_matching_virtual): Remove.
	(look_for_overrides): Declare new function.
	* decl.c (grokfndecl): Don't set IDENTIFIER_VIRTUAL_P or
	DECL_VINDEX here.
	* class.c (check_for_override): Move base class iteration code
	to look_for_overrides.
	* search.c (next_baselink): Remove.
	(get_virtuals_named_this): Remove.
	(get_virtual_destructor): Remove.
	(tree_has_any_destructors_p): Remove.
	(struct gvnt_info): Remove.
	(check_final_overrider): Remove `virtual' from error messages.
	(get_matching_virtuals): Remove. Move functionality to ...
	(look_for_overrides): ... here, and ...
	(look_for_overrides_r): ... here. Set DECL_VIRTUAL_P, if found
	to be overriding.
testsuite:
	* g++.old-deja/g++.h/spec6.C: Remove some of the XFAILS.
	* g++.old-deja/g++.other/virtual10.C: New test.

From-SVN: r38040
2000-12-05 15:50:06 +00:00
Nathan Sidwell
61402b802a typeck.c (get_delta_difference): If via a virtual base, return zero.
cp:
	* typeck.c (get_delta_difference): If via a virtual base,
	return zero.
	* cvt.c (cp_convert_to_pointer): If via a virtual base, do no
	adjustment.
testsuite:
	* g++.old-deja/g++.mike/pmf5.C: Remove test.

From-SVN: r38039
2000-12-05 15:35:59 +00:00
Bruce Korb
4839149c4c enable fixincludes for BeOS
From-SVN: r38038
2000-12-05 14:54:02 +00:00
Richard Earnshaw
c87e46884b ctype_base.h: Update comments about other BSD variants.
* config/os/freebsd/bits/ctype_base.h: Update comments about other
BSD variants.

From-SVN: r38037
2000-12-05 14:09:53 +00:00
Richard Earnshaw
0b971613de *.h: Move here from config/os/bsd/bits.
* config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
* aclocal.m4: Adjust accordingly.
* configure.target: Likewise.
* configure: Regenerate.

From-SVN: r38036
2000-12-05 14:05:34 +00:00
Jason Merrill
23bea145a4 revert cloning patch
From-SVN: r38035
2000-12-05 08:32:35 -05:00
Jason Merrill
85c64f78c6 also tweak comment
From-SVN: r38034
2000-12-05 08:28:46 -05:00
Richard Earnshaw
529dec15d8 atomicity.h: Add support for compiling Thumb code.
* config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
code.

From-SVN: r38033
2000-12-05 10:36:33 +00:00