OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * Makefile.in (distclean): When cleaning, remove testsuite.
mrs [Thu, 7 Dec 2000 22:04:07 +0000 (22:04 +0000)]
* Makefile.in (distclean): When cleaning, remove testsuite.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38116 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Thu, 7 Dec 2000 20:49:10 +0000 (20:49 +0000)]
2000-12-07  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.

* config/os/generic/bits/ctype_noninline.h (ctype): Remove default
arguments in definition.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
* config/os/newlib/bits/ctype_noninline.h (ctype): Same.
* config/os/irix/bits/ctype_noninline.h (ctype): Same.
* config/os/hpux/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
* config/os/aix/bits/ctype_noninline.h (ctype): Same.

* include/bits/locale_facets.h: Tweak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38115 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * flow.c (calculate_global_regs_live): Force the stack pointer live
rth [Thu, 7 Dec 2000 19:29:24 +0000 (19:29 +0000)]
    * flow.c (calculate_global_regs_live): Force the stack pointer live
        after reload as well.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38114 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agouse "exeext" for variables and "build_exeext" for substitution
korbb [Thu, 7 Dec 2000 14:42:39 +0000 (14:42 +0000)]
use "exeext" for variables and "build_exeext" for substitution

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38113 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * class.c (check_field_decls): Don't special case anonymous
nathan [Thu, 7 Dec 2000 14:26:37 +0000 (14:26 +0000)]
* class.c (check_field_decls): Don't special case anonymous
fields in error messages.
(note_name_declared_in_class): Use %D on diagnostic.

* tree.c (pod_type_p): Use strip_array_types.
(cp_valid_lang_attribute): Likewise.
* typeck.c (cp_type_quals): Strip arrays separately, to avoid
multiple evaluations.
(cp_has_mutable_p): Use strip_array_types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38112 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h (sufficient_parms_p): Declare new function.
nathan [Thu, 7 Dec 2000 14:17:53 +0000 (14:17 +0000)]
* cp-tree.h (sufficient_parms_p): Declare new function.
* call.c (sufficient_parms_p): New function, broken out of ...
(add_function_candidate): ... here. Use it.
(add_conv_candidate): Use it.
* decl.c (grok_ctor_properties): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38111 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * optimize.c (copy_body_r): Set STMT_IS_FULL_EXPR_P on EXPR_STMT.
jakub [Thu, 7 Dec 2000 09:19:10 +0000 (09:19 +0000)]
* optimize.c (copy_body_r): Set STMT_IS_FULL_EXPR_P on EXPR_STMT.

* g++.old-deja/g++.other/cleanup4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38110 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
law [Thu, 7 Dec 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38109 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc_update: Don't touch tradcif.c or java/parse.h.
jsm28 [Thu, 7 Dec 2000 08:13:13 +0000 (08:13 +0000)]
* gcc_update: Don't touch tradcif.c or java/parse.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38108 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Changelog: Forgotten commit.
neil [Thu, 7 Dec 2000 08:03:07 +0000 (08:03 +0000)]
* Changelog: Forgotten commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38107 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (warn_format_security): New variable.
jsm28 [Thu, 7 Dec 2000 07:56:44 +0000 (07:56 +0000)]
* c-common.c (warn_format_security): New variable.
(check_format_info): Warn about non-literal formats with no format
arguments if either -Wformat-nonliteral or -Wformat-security is
specified.
(set_Wformat): Set warn_format_security for settings other than 1.
* c-common.h (warn_format_security): Declare.
* c-decl.c (c_decode_option): Decode -Wformat-security and
-Wno-format-security.
* invoke.texi: Document -Wformat-security.
* toplev.c (documented_lang_options): Include -Wformat-security
and -Wno-format-security.

cp:
* decl2.c (lang_decode_option): Handle -Wformat-security.

testsuite:
* format-sec-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38106 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (check_format_info): Warn for non-constant format
jsm28 [Thu, 7 Dec 2000 07:52:20 +0000 (07:52 +0000)]
* c-common.c (check_format_info): Warn for non-constant format
strings with strftime formats if -Wformat-nonliteral.  Where the
format can convert arguments, if the format is not a string
literal and there are no arguments to the format, give a different
warning message from the general non-string-literal case.

testsuite:
* gcc.dg/format-nonlit-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38105 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (format_wanted_type): Add reading_from_flag.
jsm28 [Thu, 7 Dec 2000 07:40:45 +0000 (07:40 +0000)]
* c-common.c (format_wanted_type): Add reading_from_flag.
(print_char_table): Mark %s and %S formats with flag "R".
(check_format_info_main): Set up reading_from_flag appropriately.
If aflag, always set writing_in_flag rather than relying on the
format used being a scanf format and so having it set.
(check_format_types): Check for formats reading through null
pointers.

testsuite:
* gcc.dg/c90-printf-1.c: Add test for printf formats reading
through a null pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38104 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * invoke.texi (-Wformat): Document what format features are
jsm28 [Thu, 7 Dec 2000 07:38:13 +0000 (07:38 +0000)]
* invoke.texi (-Wformat): Document what format features are
checked.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38103 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pt.c (verify_class_unification): New function.
lerdsuwa [Thu, 7 Dec 2000 07:17:09 +0000 (07:17 +0000)]
* pt.c (verify_class_unification): New function.
(get_class_bindings): Use it.
(try_class_unification): Tidy.
(unify): Handle when argument of a template-id is not
template parameter dependent.
(template_args_equal): Handle when TREE_CODE's do not match.

* g++.old-deja/g++.oliva/partspec1.C: Remove XFAIL.
* g++.old-deja/g++.pt/partial4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38102 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (parse_in): Make a cpp_reader *.
neil [Thu, 7 Dec 2000 07:14:42 +0000 (07:14 +0000)]
    * c-common.c (parse_in): Make a cpp_reader *.
        * cppfiles.c (_cpp_fake_include): Remove.
        * cpphash.h: Similarly.
        * cpplib.c (do_line): Don't call _cpp_fake_include.  A valid
        #line always creates a callback; FC_RENAME if there are no
        #line flags.
        * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
        The first EOF must be our get_char buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38101 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-06 Benjamin Kosnik <bkoz@kredhat.com>
bkoz [Thu, 7 Dec 2000 06:44:49 +0000 (06:44 +0000)]
2000-12-06  Benjamin Kosnik  <bkoz@kredhat.com>

* include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
_Ctype and replace with common __ctype_abstract_base.
(ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
* config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
And here.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
* config/os/newlib/bits/ctype_noninline.h (ctype): Same.
* config/os/irix/bits/ctype_noninline.h (ctype): Same.
* config/os/hpux/bits/ctype_noninline.h (ctype): Same.
* config/os/generic/bits/ctype_noninline.h (ctype): Same.
* config/os/aix/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
* src/locale-inst.cc: Clean instantiations.
* src/locale.cc (ctype<char>): Add definitions here.
(ctype<wchar_t>::_M_wmask): Move definitions here.

* config/os/generic/bits/ctype_inline.h (ctype<char>::is):
Implement in a generic way, with only "C" functionality and no
knowlege of the target os.
* config/os/generic/bits/os_defines.h: Change comments to C++ style.
* testsuite/22_locale/ctype_char_members.cc (test01): Add tests.

* include/bits/codecvt.h (ctype_byname): Remove specializations,
as not required.
* include/bits/localefwd.h (codecvt_byname): And here.
* src/codecvt.cc: Remove codecvt_byname specializations.

* include/c/bits/std_cstdio.h: Include c++config.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38100 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.h: Fix formatting.
law [Thu, 7 Dec 2000 03:14:30 +0000 (03:14 +0000)]
    * config/h8300/h8300.h: Fix formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38095 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
law [Thu, 7 Dec 2000 02:42:02 +0000 (02:42 +0000)]
    * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
        h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
        * config.gcc (*-rtems*): Add support for gthr-rtems.h.
        * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
        config/h8300/rtems.h, config/mips/rtems.h: New files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38094 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc: Reorganize handling of *-*-gnu*, to share target
law [Thu, 7 Dec 2000 02:35:41 +0000 (02:35 +0000)]
* config.gcc: Reorganize handling of *-*-gnu*, to share target
specific make details with Linux.  Update comments to clarify
        the distinction between GNU/Linux and GNU/Hurd.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38093 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
law [Thu, 7 Dec 2000 02:31:47 +0000 (02:31 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38092 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * contrib.texi: Fix my email address. Update Per's
law [Thu, 7 Dec 2000 02:26:59 +0000 (02:26 +0000)]
    * contrib.texi: Fix my email address.  Update Per's
        list of contributions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38091 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38090 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoForgot to commit with last change.
law [Thu, 7 Dec 2000 02:01:22 +0000 (02:01 +0000)]
Forgot to commit with last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38089 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/alpha/osf.h: Standarize copyright statement.
law [Thu, 7 Dec 2000 01:58:25 +0000 (01:58 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38088 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * actions.h: Standarize copyright statement.
law [Thu, 7 Dec 2000 01:55:52 +0000 (01:55 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38087 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38086 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * machmode.def: Use correct definition for BITSIZE on targets where
law [Thu, 7 Dec 2000 01:47:31 +0000 (01:47 +0000)]
* machmode.def: Use correct definition for BITSIZE on targets where
BITS_PER_UNIT != 8.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38085 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38084 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38083 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa.c: Include expr.h before c-tree.h.
law [Thu, 7 Dec 2000 01:06:47 +0000 (01:06 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38082 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/awt/GridBagConstraints.java: Filled in values for static
tromey [Thu, 7 Dec 2000 00:46:13 +0000 (00:46 +0000)]
* java/awt/GridBagConstraints.java: Filled in values for static
final fields.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38081 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38080 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-06 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 6 Dec 2000 21:44:50 +0000 (21:44 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38079 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38078 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38077 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in: Rebuilt.
tromey [Wed, 6 Dec 2000 21:22:23 +0000 (21:22 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new file.
* java/awt/GridBagConstraints.java: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38076 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/text/Collator.java (decomposeCharacter, decmp, strength):
tromey [Wed, 6 Dec 2000 21:14:14 +0000 (21:14 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38075 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38074 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38073 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
neil [Wed, 6 Dec 2000 20:12:59 +0000 (20:12 +0000)]
    * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
        backslash and newline, when inside a comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38072 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-06 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 6 Dec 2000 20:02:02 +0000 (20:02 +0000)]
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)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38071 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-10-18 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 6 Dec 2000 18:55:42 +0000 (18:55 +0000)]
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)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38070 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * invoke.texi: Use @table @samp instead of @itemize @minus for
jsm28 [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.  Fix use of @pxref.  From Zack
Weinberg.  Also exclude specs documentation from generated
manpage, and create separate ENVIRONMENT section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38069 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (compute_pre_data): Kill trapping expressions in
rth [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38068 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* lang-specs.h (c++): When invoking the stand-alone preprocessor
aoliva [Wed, 6 Dec 2000 17:19:32 +0000 (17:19 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38067 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38066 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * testsuite/gcc.c-torture/execute/stdio-opt-1.c: Add more checks.
ghazi [Wed, 6 Dec 2000 13:05:28 +0000 (13:05 +0000)]
* testsuite/gcc.c-torture/execute/stdio-opt-1.c: Add more checks.
* testsuite/gcc.c-torture/execute/stdio-opt-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38065 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
law [Wed, 6 Dec 2000 08:45:14 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38064 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38063 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-05 Richard Sandiford <r.sandiford@redhat.com>
law [Wed, 6 Dec 2000 03:56:43 +0000 (03:56 +0000)]
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().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38062 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.target (hpux): Set os_include_dir.
law [Wed, 6 Dec 2000 03:23:34 +0000 (03:23 +0000)]
    * 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...

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38061 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * builtins.c (expand_builtin_setjmp_setup): Set
law [Wed, 6 Dec 2000 03:09:49 +0000 (03:09 +0000)]
    * builtins.c (expand_builtin_setjmp_setup): Set
        current_function_has_nonlocal_label.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38060 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-05 Alexandre Petit-Bianco <apbianco@redhat.com>
bkoz [Wed, 6 Dec 2000 03:05:12 +0000 (03:05 +0000)]
2000-12-05  Alexandre Petit-Bianco  <apbianco@redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38059 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
bkoz [Wed, 6 Dec 2000 02:35:27 +0000 (02:35 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38058 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cppfiles.c (stack_include_file): Push zero-length buffers
neil [Tue, 5 Dec 2000 23:42:43 +0000 (23:42 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38057 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
bkoz [Tue, 5 Dec 2000 23:30:12 +0000 (23:30 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38056 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
bkoz [Tue, 5 Dec 2000 23:25:08 +0000 (23:25 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38055 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
bkoz [Tue, 5 Dec 2000 23:06:32 +0000 (23:06 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38054 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* sched-vis.c (visual_tbl_line_length): New variable.
aoliva [Tue, 5 Dec 2000 22:53:33 +0000 (22:53 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38053 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * texi2pod.pl: Restructure for comprehensibility, add
zack [Tue, 5 Dec 2000 22:12:42 +0000 (22:12 +0000)]
* texi2pod.pl: Restructure for comprehensibility, add
comments.  Merge handling of @ignore and @ifxxx.  Handle a
whole bunch more Texinfo commands.  Use consistent formatting
style.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38052 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
bkoz [Tue, 5 Dec 2000 22:03:19 +0000 (22:03 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38051 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* global.c (global_conflicts): Allow for a REG_UNUSED note
geoffk [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.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38046 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
ghazi [Tue, 5 Dec 2000 18:46:56 +0000 (18:46 +0000)]
* Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38045 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
rearnsha [Tue, 5 Dec 2000 18:08:09 +0000 (18:08 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38044 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
jason [Tue, 5 Dec 2000 17:29:12 +0000 (17:29 +0000)]
    * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
        name before allocating the dyn_string.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38043 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFix building on non-INSN_SCHEDULING targets, and fix a small bug in rgn_print_insn.
bernds [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38042 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoModification to define_label and finish_case_label in decl.c to handle
wcohen [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38041 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Tue, 5 Dec 2000 15:50:06 +0000 (15:50 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38040 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Tue, 5 Dec 2000 15:35:59 +0000 (15:35 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38039 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38038 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/os/freebsd/bits/ctype_base.h: Update comments about other
rearnsha [Tue, 5 Dec 2000 14:09:53 +0000 (14:09 +0000)]
* config/os/freebsd/bits/ctype_base.h: Update comments about other
BSD variants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38037 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
rearnsha [Tue, 5 Dec 2000 14:05:34 +0000 (14:05 +0000)]
* config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
* aclocal.m4: Adjust accordingly.
* configure.target: Likewise.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38036 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agorevert cloning patch
jason [Tue, 5 Dec 2000 13:32:35 +0000 (13:32 +0000)]
revert cloning patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38035 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoalso tweak comment
jason [Tue, 5 Dec 2000 13:28:46 +0000 (13:28 +0000)]
also tweak comment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38034 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
rearnsha [Tue, 5 Dec 2000 10:36:33 +0000 (10:36 +0000)]
* config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38033 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoSupport for NetBSD.
rearnsha [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38032 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
law [Tue, 5 Dec 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38031 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * stmt.c (warn_if_unused_value): Move side effects test earlier.
rth [Tue, 5 Dec 2000 08:16:15 +0000 (08:16 +0000)]
    * stmt.c (warn_if_unused_value): Move side effects test earlier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38030 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoNew test.
rth [Tue, 5 Dec 2000 08:13:27 +0000 (08:13 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38029 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
rth [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38028 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * flow.c (calculate_global_regs_live): Only force stack pointer
rth [Tue, 5 Dec 2000 07:58:18 +0000 (07:58 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38027 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-04 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Tue, 5 Dec 2000 07:08:56 +0000 (07:08 +0000)]
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)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38026 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * src/complex.cc (pow): Remove definitions for explicit
gdr [Tue, 5 Dec 2000 04:01:46 +0000 (04:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38025 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * invoke.texi: Add support for using texi2pod.pl. Don't use
jsm28 [Tue, 5 Dec 2000 01:40:43 +0000 (01:40 +0000)]
* invoke.texi: Add support for using texi2pod.pl.  Don't use
@multitable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38024 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38023 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * error.c (dump_tree): Use output_add_string not OB_PUTS.
rth [Tue, 5 Dec 2000 00:18:23 +0000 (00:18 +0000)]
    * error.c (dump_tree): Use output_add_string not OB_PUTS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38021 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * demangle.h: Change "new_abi" to "v3" everywhere.
rth [Mon, 4 Dec 2000 23:46:57 +0000 (23:46 +0000)]
    * demangle.h: Change "new_abi" to "v3" everywhere.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38020 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * g++.old-deja/g++.other/virtual9.C: New test.
neil [Mon, 4 Dec 2000 23:44:51 +0000 (23:44 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38019 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38018 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDo not create interworking functions if the target architecture does not
nickc [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38017 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agogcc:
jsm28 [Mon, 4 Dec 2000 23:03:07 +0000 (23:03 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38016 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38015 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38014 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * g++.old-deja/g++.other/instan1.C, instan2.C: Move to...
neil [Mon, 4 Dec 2000 22:51:59 +0000 (22:51 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38013 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/cpp/assert_trad1.c, assert_trad2.c, assert_trad3.c:
neil [Mon, 4 Dec 2000 22:06:41 +0000 (22:06 +0000)]
    * gcc.dg/cpp/assert_trad1.c, assert_trad2.c, assert_trad3.c:
        New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38012 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tradcif.y: Move lexptr to top of file. Add rule to handle
neil [Mon, 4 Dec 2000 22:05:19 +0000 (22:05 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38011 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-01 Rodney Brown <RodneyBrown@mynd.com>
robertl [Mon, 4 Dec 2000 20:20:23 +0000 (20:20 +0000)]
2000-12-01  Rodney Brown  <RodneyBrown@mynd.com>

    * config.gcc: Fix typo for UnixWare 7.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38010 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agotypo
dj [Mon, 4 Dec 2000 18:42:59 +0000 (18:42 +0000)]
typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38009 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2000-12-03 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 4 Dec 2000 18:40:14 +0000 (18:40 +0000)]
2000-12-03  Phil Edwards  <pme@sources.redhat.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38008 138bc75d-0d04-0410-961f-82ee72b054a4