]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
23 years agoc-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
Rodney Brown [Thu, 7 Dec 2000 02:31:47 +0000 (02:31 +0000)] 
c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.

    * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
    * collect2.c (scan_libraries): Remove unused `ch'.
    (COFF specific stuff): Prototype ldgetname.  Declare and prototype
    ldbtread and ldclose.

From-SVN: r38092

23 years agocontrib.texi: Fix my email address.
Jeffrey A Law [Thu, 7 Dec 2000 02:26:59 +0000 (02:26 +0000)] 
contrib.texi: Fix my email address.

        * contrib.texi: Fix my email address.  Update Per's
        list of contributions.

From-SVN: r38091

23 years ago* gcc.c-torture/execute/ieee/hugeval.x: New.
J. David Anglin [Thu, 7 Dec 2000 02:05:33 +0000 (02:05 +0000)] 
* gcc.c-torture/execute/ieee/hugeval.x: New.

From-SVN: r38090

23 years agoForgot to commit with last change.
Jeff Law [Thu, 7 Dec 2000 02:01:22 +0000 (19:01 -0700)] 
Forgot to commit with last change.

From-SVN: r38089

23 years agoosf.h: Standarize copyright statement.
Rodney Brown [Thu, 7 Dec 2000 01:58:25 +0000 (01:58 +0000)] 
osf.h: Standarize copyright statement.

* config/alpha/osf.h: Standarize copyright statement.
* config/arc/arc.h: Likewise.
* config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
* config/arm/arm.c config/arm/arm.h: Likewise.
* config/elxsi/elxsi.h: Likewise.
* config/i386/sco.h: Likewise.
* config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
* config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
* config/m68k/sun3.h: Likewise.
* config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
* config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
* config/romp/romp.h: Likewise.
* config/rs6000/aix41.h: Likewise.
* config/sparc/sysv4.h: Likewise.
* config/we32k/we32k.c config/we32k/we32k.h: Likewise.
* fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
* cpplib.h cppexp.c cselib.h profile.c: Likewise.
* longlong.h: Likewise.
* libgcc2.c: Likewise.

From-SVN: r38088

23 years agoactions.h: Standarize copyright statement.
Rodney Brown [Thu, 7 Dec 2000 01:55:52 +0000 (01:55 +0000)] 
actions.h: Standarize copyright statement.

        * actions.h: Standarize copyright statement.
        * except.c inout.c lang.c lex.c lex.h loop.c nloop.c: Likewise.
        * parse.c tasking.c tasking.h timing.c xtypeck.c: Likewise.

From-SVN: r38087

23 years ago* getopt.h obstack.h: Standarize copyright statement.
Rodney Brown [Thu, 7 Dec 2000 01:54:13 +0000 (01:54 +0000)] 
* getopt.h obstack.h: Standarize copyright statement.

From-SVN: r38086

23 years agomachmode.def: Use correct definition for BITSIZE on targets where BITS_PER_UNIT ...
Jeff Law [Thu, 7 Dec 2000 01:47:31 +0000 (18:47 -0700)] 
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

23 years ago* thr-rtems.c: New file. Stub to compile.
Ralf Corsepius [Thu, 7 Dec 2000 01:40:42 +0000 (01:40 +0000)] 
* thr-rtems.c: New file. Stub to compile.

From-SVN: r38084

23 years agoMake the fixinc/Makefile.* files more similar
Bruce Korb [Thu, 7 Dec 2000 01:32:11 +0000 (01:32 +0000)] 
Make the fixinc/Makefile.* files more similar

From-SVN: r38083

23 years agopa.c: Include expr.h before c-tree.h.
J. David Anglin [Thu, 7 Dec 2000 01:06:47 +0000 (01:06 +0000)] 
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

23 years agoGridBagConstraints.java: Filled in values for static final fields.
Tom Tromey [Thu, 7 Dec 2000 00:46:13 +0000 (00:46 +0000)] 
GridBagConstraints.java: Filled in values for static final fields.

* java/awt/GridBagConstraints.java: Filled in values for static
final fields.

From-SVN: r38081

23 years ago* final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
J"orn Rennecke [Thu, 7 Dec 2000 00:13:23 +0000 (00:13 +0000)] 
* final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.

From-SVN: r38080

23 years agoacinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test whether the cached result...
Phil Edwards [Wed, 6 Dec 2000 21:44:50 +0000 (21:44 +0000)] 
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

23 years ago* java/util/BitSet.java: Updated copyright notice.
Tom Tromey [Wed, 6 Dec 2000 21:26:32 +0000 (21:26 +0000)] 
* java/util/BitSet.java: Updated copyright notice.

From-SVN: r38078

23 years agoRemoved erroneous ChangeLog line
Tom Tromey [Wed, 6 Dec 2000 21:23:00 +0000 (21:23 +0000)] 
Removed erroneous ChangeLog line

From-SVN: r38077

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Wed, 6 Dec 2000 21:22:23 +0000 (21:22 +0000)] 
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new file.
* java/awt/GridBagConstraints.java: New file.

From-SVN: r38076

23 years agoCollator.java (decomposeCharacter, [...]): Now package-private, not protected.
Tom Tromey [Wed, 6 Dec 2000 21:14:14 +0000 (21:14 +0000)] 
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

23 years agoconfigure.target (*-*-freebsd, *-*-netbsd): Correct paths to os_include_dir.
Richard Earnshaw [Wed, 6 Dec 2000 21:04:19 +0000 (21:04 +0000)] 
configure.target (*-*-freebsd, *-*-netbsd): Correct paths to os_include_dir.

* configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
os_include_dir.

From-SVN: r38074

23 years ago* gcc.dg/cpp/backslash2.c
Neil Booth [Wed, 6 Dec 2000 20:14:32 +0000 (20:14 +0000)] 
* gcc.dg/cpp/backslash2.c

From-SVN: r38073

23 years agocpplex.c (skip_escaped_newlines): Don't warn for spaces between backslash and newline...
Sylvain Pion [Wed, 6 Dec 2000 20:12:59 +0000 (21:12 +0100)] 
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

23 years agoparse.y (end_artificial_method_body): Fixed typo.
Alexandre Petit-Bianco [Wed, 6 Dec 2000 20:02:02 +0000 (20:02 +0000)] 
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

23 years ago[multiple changes]
Alexandre Petit-Bianco [Wed, 6 Dec 2000 18:55:42 +0000 (10:55 -0800)] 
[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

23 years agoinvoke.texi: Use @table @samp instead of @itemize @minus for table of language standards.
Joseph Myers [Wed, 6 Dec 2000 18:50:49 +0000 (18:50 +0000)] 
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

23 years agogcse.c (compute_pre_data): Kill trapping expressions in destination blocks of abnorma...
Michael Matz [Wed, 6 Dec 2000 18:45:31 +0000 (18:45 +0000)] 
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

23 years agolang-specs.h (c++): When invoking the stand-alone preprocessor for -save-temps...
Alexandre Oliva [Wed, 6 Dec 2000 17:19:32 +0000 (17:19 +0000)] 
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

23 years agoRebuilt again, something went wrong last time
Alexandre Oliva [Wed, 6 Dec 2000 17:16:32 +0000 (17:16 +0000)] 
Rebuilt again, something went wrong last time

From-SVN: r38066

23 years agostdio-opt-1.c: Add more checks.
Kaveh R. Ghazi [Wed, 6 Dec 2000 13:05:28 +0000 (13:05 +0000)] 
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

23 years agoDaily bump.
Jeff Law [Wed, 6 Dec 2000 08:45:14 +0000 (01:45 -0700)] 
Daily bump.

From-SVN: r38064

23 years agoRegenerate to pick up libtool fix. Per Alexandre Oliva.
Robert Lipe [Wed, 6 Dec 2000 04:06:15 +0000 (04:06 +0000)] 
Regenerate to pick up libtool fix.   Per Alexandre Oliva.

From-SVN: r38063

23 years agomn10300.c (mn10300_print_reg_list): Added.
Richard Sandiford [Wed, 6 Dec 2000 03:56:43 +0000 (03:56 +0000)] 
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

23 years agoconfigure.target (hpux): Set os_include_dir.
Jeffrey A Law [Wed, 6 Dec 2000 03:23:34 +0000 (03:23 +0000)] 
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

23 years agobuiltins.c (expand_builtin_setjmp_setup): Set current_function_has_nonlocal_label.
Jeffrey A Law [Wed, 6 Dec 2000 03:09:49 +0000 (03:09 +0000)] 
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

23 years agoMakefile.am (libstdc++.INC): Revert for libjava builds.
Alexandre Petit-Bianco [Wed, 6 Dec 2000 03:05:12 +0000 (19:05 -0800)] 
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

23 years agoacinclude.m4 (EXTRA_CXX_FLAGS): And here.
Benjamin Kosnik [Wed, 6 Dec 2000 02:35:27 +0000 (02:35 +0000)] 
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

23 years agocppfiles.c (stack_include_file): Push zero-length buffers in case of failure.
Neil Booth [Tue, 5 Dec 2000 23:42:43 +0000 (23:42 +0000)] 
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

23 years agoacinclude.m4: Change up to reflect new directory organization.
Benjamin Kosnik [Tue, 5 Dec 2000 23:30:12 +0000 (23:30 +0000)] 
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

23 years agoacinclude.m4: Change up to reflect new directory organization.
Benjamin Kosnik [Tue, 5 Dec 2000 23:25:08 +0000 (23:25 +0000)] 
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

23 years agoacinclude.m4: Change up to reflect new directory organization.
Benjamin Kosnik [Tue, 5 Dec 2000 23:06:32 +0000 (23:06 +0000)] 
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

23 years agosched-vis.c (visual_tbl_line_length): New variable.
Alexandre Oliva [Tue, 5 Dec 2000 22:53:33 +0000 (22:53 +0000)] 
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

23 years agotexi2pod.pl: Restructure for comprehensibility, add comments.
Zack Weinberg [Tue, 5 Dec 2000 22:12:42 +0000 (22:12 +0000)] 
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

23 years agoacinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for lldiv_t.
Benjamin Kosnik [Tue, 5 Dec 2000 22:03:19 +0000 (22:03 +0000)] 
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

23 years agoglobal.c (global_conflicts): Allow for a REG_UNUSED note with a different mode to...
Geoffrey Keating [Tue, 5 Dec 2000 19:12:20 +0000 (19:12 +0000)] 
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

23 years agoMakefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
Kaveh R. Ghazi [Tue, 5 Dec 2000 18:46:56 +0000 (18:46 +0000)] 
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

23 years agomkfixinc.sh (*-gnu*): activate fixinc for GNU/Hurd and GNU/Linux.
Richard Earnshaw [Tue, 5 Dec 2000 18:08:09 +0000 (18:08 +0000)] 
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

23 years agocp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled name before allocatin...
Jason Merrill [Tue, 5 Dec 2000 17:29:12 +0000 (12:29 -0500)] 
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

23 years agoFix building on non-INSN_SCHEDULING targets, and fix a small bug in rgn_print_insn.
Bernd Schmidt [Tue, 5 Dec 2000 16:51:13 +0000 (16:51 +0000)] 
Fix building on non-INSN_SCHEDULING targets, and fix a small bug in rgn_print_insn.

From-SVN: r38042

23 years agoModification to define_label and finish_case_label in decl.c to handle
Will Cohen [Tue, 5 Dec 2000 16:21:54 +0000 (16:21 +0000)] 
Modification to define_label and finish_case_label in decl.c to handle
scoping correctly.

From-SVN: r38041

23 years agocp-tree.h (IDENTIFIER_VIRTUAL_P): Document.
Nathan Sidwell [Tue, 5 Dec 2000 15:50:06 +0000 (15:50 +0000)] 
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

23 years agotypeck.c (get_delta_difference): If via a virtual base, return zero.
Nathan Sidwell [Tue, 5 Dec 2000 15:35:59 +0000 (15:35 +0000)] 
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

23 years agoenable fixincludes for BeOS
Bruce Korb [Tue, 5 Dec 2000 14:54:02 +0000 (14:54 +0000)] 
enable fixincludes for BeOS

From-SVN: r38038

23 years agoctype_base.h: Update comments about other BSD variants.
Richard Earnshaw [Tue, 5 Dec 2000 14:09:53 +0000 (14:09 +0000)] 
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

23 years ago*.h: Move here from config/os/bsd/bits.
Richard Earnshaw [Tue, 5 Dec 2000 14:05:34 +0000 (14:05 +0000)] 
*.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

23 years agorevert cloning patch
Jason Merrill [Tue, 5 Dec 2000 13:32:35 +0000 (08:32 -0500)] 
revert cloning patch

From-SVN: r38035

23 years agoalso tweak comment
Jason Merrill [Tue, 5 Dec 2000 13:28:46 +0000 (08:28 -0500)] 
also tweak comment

From-SVN: r38034

23 years agoatomicity.h: Add support for compiling Thumb code.
Richard Earnshaw [Tue, 5 Dec 2000 10:36:33 +0000 (10:36 +0000)] 
atomicity.h: Add support for compiling Thumb code.

* config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
code.

From-SVN: r38033

23 years agoSupport for NetBSD.
Richard Earnshaw [Tue, 5 Dec 2000 10:29:47 +0000 (10:29 +0000)] 
Support for NetBSD.

* aclocal.m4: Add test for NetBSD's ctype support.
* configure: Regenerate.
* configure.target: Support NetBSD.
* config/os/netbsd/bits/ctype_base.h: New file.
* config/os/netbsd/bits/ctype_inline.h: New file.
* config/os/netbsd/bits/ctype_noinline.h: New file.
* config/os/netbsd/bits/os_defines.h: New file.

From-SVN: r38032

23 years agoDaily bump.
Jeff Law [Tue, 5 Dec 2000 08:45:08 +0000 (01:45 -0700)] 
Daily bump.

From-SVN: r38031

23 years ago* stmt.c (warn_if_unused_value): Move side effects test earlier.
Richard Henderson [Tue, 5 Dec 2000 08:16:15 +0000 (00:16 -0800)] 
* stmt.c (warn_if_unused_value): Move side effects test earlier.

From-SVN: r38030

23 years agoNew test.
Richard Henderson [Tue, 5 Dec 2000 08:13:27 +0000 (00:13 -0800)] 
New test.

From-SVN: r38029

23 years agobb-reorder.c (reorder_basic_blocks): Do check for EH edges even when using sjlj.
Alan Modra [Tue, 5 Dec 2000 08:00:32 +0000 (08:00 +0000)] 
bb-reorder.c (reorder_basic_blocks): Do check for EH edges even when using sjlj.

        * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
        when using sjlj.

From-SVN: r38028

23 years agoflow.c (calculate_global_regs_live): Only force stack pointer live before reload.
Richard Henderson [Tue, 5 Dec 2000 07:58:18 +0000 (23:58 -0800)] 
flow.c (calculate_global_regs_live): Only force stack pointer live before reload.

        * flow.c (calculate_global_regs_live): Only force stack pointer
        live before reload.  Force pic register live before reload.
        (insn_dead_p): Don't protect pic references from deletion.

From-SVN: r38027

23 years agoparse.y (patch_method_invocation): Pick the correct enclosing context when creating...
Alexandre Petit-Bianco [Tue, 5 Dec 2000 07:08:56 +0000 (07:08 +0000)] 
parse.y (patch_method_invocation): Pick the correct enclosing context when creating inner class instances.

2000-12-04  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (patch_method_invocation): Pick the correct enclosing
context when creating inner class instances.
Fixes gcj/332.

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

From-SVN: r38026

23 years agocomplex.cc (pow): Remove definitions for explicit specializations.
Gabriel Dos Reis [Tue, 5 Dec 2000 04:01:46 +0000 (04:01 +0000)] 
complex.cc (pow): Remove definitions for explicit specializations.

* src/complex.cc (pow): Remove definitions for explicit
specializations.
* libmath/mathconf.h: Remove declarations for c_log, c_logf,
c_logl.
* libmath/complex-stub.h: Remove declarations for cpow, cpowf,
cpowl.
* libmath/cpow.c: Remove.
* libmath/cpowf.c: Remove.
* libmath/cpowl.c: Remove.
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
cpowl,
(EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
* libmath/Makefile.in: Regenarate.
* libmath/c_log.c: Remove
* libmath/c_logf.c: Likewise.
* libmath/c_logl.c: Likewise.
* libmath/carg.c: Likewise.
* libmath/cargf.c: Likewise.
* libmath/cargl.c: Likewise.
* include/bits/std_complex.h (pow): Define primary templates.
(complex<>): Remove friend declarations for pow<>().
* acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
cargf.
* aclocal.m4: Regenarate.
* configure: Regenarate.

From-SVN: r38025

23 years agoinvoke.texi: Add support for using texi2pod.pl.
Joseph Myers [Tue, 5 Dec 2000 01:40:43 +0000 (01:40 +0000)] 
invoke.texi: Add support for using texi2pod.pl.

* invoke.texi: Add support for using texi2pod.pl.  Don't use
@multitable.

From-SVN: r38024

23 years agoRemove spurious test of XScale and HARD_FLOAT floags
Nick Clifton [Tue, 5 Dec 2000 01:17:18 +0000 (01:17 +0000)] 
Remove spurious test of XScale and HARD_FLOAT floags

From-SVN: r38023

23 years ago* error.c (dump_tree): Use output_add_string not OB_PUTS.
Richard Henderson [Tue, 5 Dec 2000 00:18:23 +0000 (16:18 -0800)] 
* error.c (dump_tree): Use output_add_string not OB_PUTS.

From-SVN: r38021

23 years ago* demangle.h: Change "new_abi" to "v3" everywhere.
Richard Henderson [Mon, 4 Dec 2000 23:46:57 +0000 (15:46 -0800)] 
* demangle.h: Change "new_abi" to "v3" everywhere.

From-SVN: r38020

23 years agovirtual9.C: New test.
Neil Booth [Mon, 4 Dec 2000 23:44:51 +0000 (23:44 +0000)] 
virtual9.C: New test.

* g++.old-deja/g++.other/virtual9.C: New test.
* g++.old-deja/g++.pt/crash61.C: New test.
* gcc.c-torture/execute/loop-9.c: New test.

From-SVN: r38019

23 years agoFix bogons from XScale contribution
Nick Clifton [Mon, 4 Dec 2000 23:35:10 +0000 (23:35 +0000)] 
Fix bogons from XScale contribution

From-SVN: r38018

23 years agoDo not create interworking functions if the target architecture does not
Nick Clifton [Mon, 4 Dec 2000 23:05:17 +0000 (23:05 +0000)] 
Do not create interworking functions if the target architecture does not
support Thumb instructions.

From-SVN: r38017

23 years agoONEWS: New file with the current contents of NEWS up to EGCS 1.1.
Joseph Myers [Mon, 4 Dec 2000 23:03:07 +0000 (23:03 +0000)] 
ONEWS: New file with the current contents of NEWS up to EGCS 1.1.

gcc:
* ONEWS: New file with the current contents of NEWS up to EGCS
1.1.
* NEWS: Generate automatically from online release notes from EGCS
1.0 to GCC 2.95.2, using ../contrib/gennews.

contrib:
* gennews: New script.

From-SVN: r38016

23 years agoRemove spurious CYGNUS LOCAL markers
Nick Clifton [Mon, 4 Dec 2000 23:00:26 +0000 (23:00 +0000)] 
Remove spurious CYGNUS LOCAL markers

From-SVN: r38015

23 years ago* gcc.dg/cpp/extratokens.c: Forgotten file.
Neil Booth [Mon, 4 Dec 2000 22:54:46 +0000 (22:54 +0000)] 
* gcc.dg/cpp/extratokens.c: Forgotten file.

From-SVN: r38014

23 years agoinstan1.C, instan2.C: Move to...
Neil Booth [Mon, 4 Dec 2000 22:51:59 +0000 (22:51 +0000)] 
instan1.C, instan2.C: Move to...

* g++.old-deja/g++.other/instan1.C, instan2.C: Move to...
* g++.old-deja/g++.pt/instantiate1.C, instantiate2.C: ...here.
* gcc.dg/cpp/19960224-2.c, endif.c, if-6.c: Move into...
* gcc.dg/cpp/extratokens.c: ...here.

From-SVN: r38013

23 years agoassert_trad1.c, [...]: New tests.
Neil Booth [Mon, 4 Dec 2000 22:06:41 +0000 (22:06 +0000)] 
assert_trad1.c, [...]: New tests.

        * gcc.dg/cpp/assert_trad1.c, assert_trad2.c, assert_trad3.c:
        New tests.

From-SVN: r38012

23 years agotradcif.y: Move lexptr to top of file.
Neil Booth [Mon, 4 Dec 2000 22:05:19 +0000 (22:05 +0000)] 
tradcif.y: Move lexptr to top of file.

        * tradcif.y: Move lexptr to top of file.  Add rule to handle
        assertions in conditional expressions.
        * tradcpp.c (parse_answer): Assertions do not need to go to
        end of line in conditional directives.
        (parse_assertion): Get first character of identifiers correct.
        (test_assertion): New function.
        * tradcpp.h (test_assertion): New prototype.

From-SVN: r38011

23 years agoconfig.gcc: Fix typo for UnixWare 7.
Rodney Brown [Mon, 4 Dec 2000 20:20:23 +0000 (20:20 +0000)] 
config.gcc: Fix typo for UnixWare 7.

2000-12-01  Rodney Brown  <RodneyBrown@mynd.com>

    * config.gcc: Fix typo for UnixWare 7.

From-SVN: r38010

23 years agotypo
DJ Delorie [Mon, 4 Dec 2000 18:42:59 +0000 (13:42 -0500)] 
typo

From-SVN: r38009

23 years agoinvoke.texi: Replace `pedwarns' with clearer text.
Phil Edwards [Mon, 4 Dec 2000 18:40:14 +0000 (18:40 +0000)] 
invoke.texi: Replace `pedwarns' with clearer text.

2000-12-03  Phil Edwards  <pme@sources.redhat.com>

* invoke.texi:  Replace `pedwarns' with clearer text.

From-SVN: r38008

23 years agodo not clean autogenerated fixinc files
Bruce Korb [Mon, 4 Dec 2000 18:16:04 +0000 (18:16 +0000)] 
do not clean autogenerated fixinc files

From-SVN: r38007

23 years agoCapitalization fix.
DJ Delorie [Mon, 4 Dec 2000 17:24:14 +0000 (12:24 -0500)] 
Capitalization fix.

From-SVN: r38006

23 years ago* md.texi: Add overview, clarify match_dup and define_expand.
DJ Delorie [Mon, 4 Dec 2000 17:23:34 +0000 (12:23 -0500)] 
* md.texi: Add overview, clarify match_dup and define_expand.

From-SVN: r38005

23 years agoprint-tree.c (print_node): target-specific builtins print numbers, not names.
DJ Delorie [Mon, 4 Dec 2000 17:21:42 +0000 (12:21 -0500)] 
print-tree.c (print_node): target-specific builtins print numbers, not names.

* print-tree.c (print_node): target-specific builtins print
numbers, not names.

From-SVN: r38004

23 years agostor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, MODE_VECTOR_FLOAT.
Jason Merrill [Mon, 4 Dec 2000 17:14:16 +0000 (12:14 -0500)] 
stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT, MODE_VECTOR_FLOAT.

        * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
        MODE_VECTOR_FLOAT.

        * diagnostic.c (report_problematic_module): s/function/module/.

        * c-lex.h: Remove decl for check_newline.

From-SVN: r38003

23 years agocp-demangle.c: s/new_abi/v3/.
Jason Merrill [Mon, 4 Dec 2000 17:11:17 +0000 (12:11 -0500)] 
cp-demangle.c: s/new_abi/v3/.

        * cp-demangle.c: s/new_abi/v3/.
        * cplus-dem.c: Likewise.
        (current_demangling_style): Now auto_demangling.
        (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
        (main): Use standard symbol chars for auto_demangling.

From-SVN: r38002

23 years ago* sstream: Backport libstdc++-V3 sstream to V2.
Magnus Fromreide [Mon, 4 Dec 2000 17:03:27 +0000 (18:03 +0100)] 
* sstream: Backport libstdc++-V3 sstream to V2.

From-SVN: r38000

23 years agomangle.c (write_type): Mangle VECTOR_TYPE with "U8__vector".
Jason Merrill [Mon, 4 Dec 2000 17:00:04 +0000 (12:00 -0500)] 
mangle.c (write_type): Mangle VECTOR_TYPE with "U8__vector".

        * mangle.c (write_type): Mangle VECTOR_TYPE with "U8__vector".
        (write_builtin_type): Pass intSI_type_node and the like through
        type_for_mode.
        * method.c (process_overload_item): Mangle VECTOR_TYPEs with 'o'.
        Pass intSI_type_node and the like through type_for_mode.
        * decl2.c (arg_assoc_type): Handle VECTOR_TYPE like COMPLEX_TYPE.
        * pt.c (tsubst, unify): Likewise.
        * tree.c (walk_tree): Likewise.
        * error.c (dump_type): Likewise.
        (dump_type_prefix, dump_type_suffix): Don't bother with VECTOR_TYPE.

        * Make-lang.in: Tweak top comment for emacs.
        (cp/TAGS): Restore.

        * except.c (expand_throw): Use push_throw_library_fn for _Jv_Throw.

        * pt.c (tsubst_decl): Call clone_function_decl here.
        (do_decl_instantiation): Not here.
        * class.c (clone_function_decl): Robustify.

        * decl.c (store_bindings): Only search in the non modified
        old_bindings for duplicates.

From-SVN: r37999

23 years agofix typo
Jason Merrill [Mon, 4 Dec 2000 16:56:47 +0000 (11:56 -0500)] 
fix typo

From-SVN: r37998

23 years agofix typo
Jason Merrill [Mon, 4 Dec 2000 16:36:19 +0000 (11:36 -0500)] 
fix typo

From-SVN: r37997

23 years agoerror.c (dump_function_decl): Use DECL_VIRTUAL_P, not TYPE_POLYMORPHIC_P.
Nathan Sidwell [Mon, 4 Dec 2000 16:36:04 +0000 (16:36 +0000)] 
error.c (dump_function_decl): Use DECL_VIRTUAL_P, not TYPE_POLYMORPHIC_P.

cp:
* error.c (dump_function_decl): Use DECL_VIRTUAL_P, not
TYPE_POLYMORPHIC_P.

* typeck.c (build_static_cast): Remove unused variable.

From-SVN: r37996

23 years ago* README.APOLLO: Remove obsolete file.
Gerald Pfeifer [Mon, 4 Dec 2000 11:57:51 +0000 (12:57 +0100)] 
* README.APOLLO: Remove obsolete file.

From-SVN: r37995

23 years agoTimeZone.java (getAvailableIDs): Activated commented out code dependent on compiler...
Warren Levy [Mon, 4 Dec 2000 10:24:38 +0000 (10:24 +0000)] 
TimeZone.java (getAvailableIDs): Activated commented out code dependent on compiler and library changes.

* java/util/TimeZone.java (getAvailableIDs): Activated commented
out code dependent on compiler and library changes.

From-SVN: r37994

23 years agoFilePermission.java: Made class final per spec.
Warren Levy [Mon, 4 Dec 2000 10:20:00 +0000 (10:20 +0000)] 
FilePermission.java: Made class final per spec.

* java/io/FilePermission.java: Made class final per spec.
* java/text/DecimalFormatSymbols.java (setCurrencySymbol): Changed
method name to match spec (fixed typo).
* java/util/LinkedList.java: Implements List.

From-SVN: r37993

23 years agoDaily bump.
Jeff Law [Mon, 4 Dec 2000 08:45:08 +0000 (01:45 -0700)] 
Daily bump.

From-SVN: r37992

23 years agonatDouble.cc: Include fdlibm.h, not mprec.h.
Bryce McKinlay [Mon, 4 Dec 2000 08:22:34 +0000 (08:22 +0000)] 
natDouble.cc: Include fdlibm.h, not mprec.h.

* java/lang/natDouble.cc: Include fdlibm.h, not mprec.h. From
Edgar Villanueva <edgarvil@home.com>.

From-SVN: r37991

23 years ago* cppinternals.texi: New file.
Neil Booth [Mon, 4 Dec 2000 07:34:21 +0000 (07:34 +0000)] 
* cppinternals.texi: New file.

From-SVN: r37990

23 years agocppfiles.c (cpp_make_system_header): Take 2 booleans, and operate on current buffer.
Neil Booth [Mon, 4 Dec 2000 07:32:04 +0000 (07:32 +0000)] 
cppfiles.c (cpp_make_system_header): Take 2 booleans, and operate on current buffer.

        * cppfiles.c (cpp_make_system_header): Take 2 booleans,
        and operate on current buffer.
        (cpp_read_file): Rename _cpp_read_file.
        * cpplib.c (do_line, do_pragma_system_header): Update calls to
        cpp_make_system_header.
        * fix-header.c: Similarly.
        * cpphash.h (_cpp_read_file): Move from...
        * cpplib.h: ... here.
        * cppinit.c (do_includes, cpp_start_read): Update appropriately.

From-SVN: r37989

23 years agoPoint2D.java: Added protected constructor.
Tom Tromey [Mon, 4 Dec 2000 02:27:21 +0000 (02:27 +0000)] 
Point2D.java: Added protected constructor.

* java/awt/geom/Point2D.java: Added protected constructor.
(equals): New method.
(Float.setLocation(float,float)): New method.
* java/awt/geom/Dimension2D.java: Added protected constructor.
* java/awt/geom/AffineTransform.java: Made all constants public.
(concatenate): Fixed typo in name.
* java/awt/event/WindowAdapter.java: Class now abstract.
* java/awt/event/KeyEvent.java (CHAR_UNDEFINED): Now final.
* java/awt/event/FocusEvent.java: Extend ComponentEvent, not
AWTEvent.

From-SVN: r37988

23 years agoAWTError.java: Extend Error, not IllegalStateException.
Tom Tromey [Mon, 4 Dec 2000 01:54:34 +0000 (01:54 +0000)] 
AWTError.java: Extend Error, not IllegalStateException.

* java/awt/AWTError.java: Extend Error, not
IllegalStateException.

From-SVN: r37987