platform/upstream/linaro-gcc.git
23 years agoFormatting and coment changes
aoliva [Thu, 23 Nov 2000 05:40:27 +0000 (05:40 +0000)]
Formatting and coment changes

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

23 years ago2000-11-23 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Thu, 23 Nov 2000 05:18:41 +0000 (05:18 +0000)]
2000-11-23  Bryce McKinlay  <bryce@albatross.co.nz>

* java/util/Vector.java: Improve exception messages.
(Vector): Check initialCapacity for IllegalArgumentException.
(tromToSize): Don't check for elementCount == elementData.length
case.
(toArray): Don't try to set null marker if target array is the same
length as the vector.

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

23 years ago * include/bits/ios_base.h (ios_base::failure::~failure,
gdr [Thu, 23 Nov 2000 04:53:40 +0000 (04:53 +0000)]
* include/bits/ios_base.h (ios_base::failure::~failure,
ios_base::failure::what): Move defintion to ...

* src/ios.cc (ios_base::failure::~failure): ... here.
src/ios.cc (ios::failure::what): Likewise.

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

23 years ago* config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
aoliva [Thu, 23 Nov 2000 04:22:48 +0000 (04:22 +0000)]
* config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
Moved most register-number #defines...
* config/sh/sh.md (define_constants): ... here.  Use macros to
refer to registers and unspecs.
* config/sh/sh.c: Likewise.

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

23 years ago2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 23 Nov 2000 03:25:47 +0000 (03:25 +0000)]
2000-11-22  Benjamin Kosnik  <bkoz@redhat.com>

Make deprecated strstream header consistent with new and new.h.
* include/backward/strstream.h: Add. Use using declarations to
scope strstreambuf, istrstream, ostrstream, strstream to global
scope.
* include/backward/strstream: Remove using declarations.
* src/Makefile.am (base_headers): Add strstream.
* src/Makefile.in: Regenerate.

* include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
to be consistent with other headers.

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

23 years ago2000-11-22 Richard Henderson <rth@redhat.com>
bkoz [Thu, 23 Nov 2000 03:03:33 +0000 (03:03 +0000)]
2000-11-22  Richard Henderson  <rth@redhat.com>

* config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.

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

23 years ago gcc toplevel:
amylaar [Thu, 23 Nov 2000 02:22:03 +0000 (02:22 +0000)]
gcc toplevel:

* Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
(rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
(alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
(splay-tree.o, hash.o): Likewise.
GCONFIG_H: New.
(rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
(bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
(hashtab.o): Likewise.
(gcov.o): Depend on $(CONFIG_H).
* configure.in: #include insn-codes.h in tm.h.

f:

* Make-lang.in (g77spec.o): Depend on $(CONFIG_H).

java:

* Make-lang.in (jvspec.o): Depend on $(CONFIG_H).

cp:

* Make-lang.in (g++spec.o, cxxmain.o): Depend on $(CONFIG_H).

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

23 years ago * cplus-dem.c (main): Handle gnat_demangling.
hp [Wed, 22 Nov 2000 23:57:50 +0000 (23:57 +0000)]
* cplus-dem.c (main): Handle gnat_demangling.

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

23 years ago * mangle.c (mangle_conv_op_name_for_type): Don't use `__op'
mmitchel [Wed, 22 Nov 2000 23:53:03 +0000 (23:53 +0000)]
* mangle.c (mangle_conv_op_name_for_type): Don't use `__op'
prefix.

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

23 years agoFix typo
nickc [Wed, 22 Nov 2000 23:30:37 +0000 (23:30 +0000)]
Fix typo

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

23 years ago * g++.old-deja/g++.other/decl4.C: Tweak so that it fails with the
mmitchel [Wed, 22 Nov 2000 23:24:43 +0000 (23:24 +0000)]
* g++.old-deja/g++.other/decl4.C: Tweak so that it fails with the
new ABI, too.

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

23 years ago2000-11-22 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 22 Nov 2000 23:23:53 +0000 (23:23 +0000)]
2000-11-22  Phil Edwards  <pme@sources.redhat.com>

* porting.texi:  Minor tweaks to vocabulary.

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

23 years ago * g++.old-deja/g++.mike/p6610a.C: This test no longer fails.
mmitchel [Wed, 22 Nov 2000 23:10:04 +0000 (23:10 +0000)]
* g++.old-deja/g++.mike/p6610a.C: This test no longer fails.
* g++.old-deja/g++.robertl/eb55.C: Likewise.

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

23 years ago * pt.c (do_decl_instantiate): Explicitly clone constructors and
mmitchel [Wed, 22 Nov 2000 22:43:49 +0000 (22:43 +0000)]
* pt.c (do_decl_instantiate): Explicitly clone constructors and
destructors that haven't already been cloned.

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

23 years agoMake 'newstr' a const char * to avoid a compile time warning.
nickc [Wed, 22 Nov 2000 20:51:18 +0000 (20:51 +0000)]
Make 'newstr' a const char * to avoid a compile time warning.

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

23 years agoDefine symbolic names for the link register, last integer register and the
nickc [Wed, 22 Nov 2000 20:46:40 +0000 (20:46 +0000)]
Define symbolic names for the link register, last integer register and the
fake CC register.  Update patterns to use these symbolic names.

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

23 years ago * gcc.gd/cpp/Wtrigraphs.c: New test.
neil [Wed, 22 Nov 2000 20:37:44 +0000 (20:37 +0000)]
* gcc.gd/cpp/Wtrigraphs.c: New test.

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

23 years ago * cpplex.c (trigraph_ok): Ensure we don't warn twice.
neil [Wed, 22 Nov 2000 20:36:10 +0000 (20:36 +0000)]
* cpplex.c (trigraph_ok): Ensure we don't warn twice.
* cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.

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

23 years ago * haifa-sched.c (sched_analyze_1): Don't special-case calls
rth [Wed, 22 Nov 2000 19:22:58 +0000 (19:22 +0000)]
    * haifa-sched.c (sched_analyze_1): Don't special-case calls
        for clobbering registers.
        (sched_analyze_2): Likewise.
        (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.

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

23 years ago * gcc.c (validate_switches): Validate multiple switches named
neil [Wed, 22 Nov 2000 19:17:14 +0000 (19:17 +0000)]
    * gcc.c (validate_switches): Validate multiple switches named
        in '|' (or) expressions in specs.
        (handle_braces): If more than 1 alternative in a '|' spec
        matches, call do_spec1 just once.

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

23 years agoCompensate for V3 changes
mmitchel [Wed, 22 Nov 2000 19:05:42 +0000 (19:05 +0000)]
Compensate for V3 changes

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

23 years agoAdd blank lines between function comment and function return type.
amylaar [Wed, 22 Nov 2000 18:50:41 +0000 (18:50 +0000)]
Add blank lines between function comment and function return type.

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

23 years agoComment typo fix.
amylaar [Wed, 22 Nov 2000 18:49:02 +0000 (18:49 +0000)]
Comment typo fix.

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

23 years ago2000-11-22 Loren J. Rittle <ljrittle@acm.org>
bkoz [Wed, 22 Nov 2000 18:31:25 +0000 (18:31 +0000)]
2000-11-22  Loren J. Rittle  <ljrittle@acm.org>

        * ltcf-cxx.sh: Support creation of C++ shared libraries on
        recent versions of FreeBSD (release 3 or later).
        * ltconfig: On FreeBSD, -lc must not be provided when building
        a shared library or else the standard -pthread gcc option is
        rendered worthless to later users of the built library.

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

23 years ago2000-11-22 Loren J. Rittle <ljrittle@acm.org>
bkoz [Wed, 22 Nov 2000 18:16:29 +0000 (18:16 +0000)]
2000-11-22  Loren J. Rittle  <ljrittle@acm.org>

        * g++.old-deja/g++.robertl/eb39.C: Don't include libio.h.

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

23 years agoPaper over problem with -frename-registers; Provide help for options
meissner [Wed, 22 Nov 2000 18:07:05 +0000 (18:07 +0000)]
Paper over problem with -frename-registers; Provide help for options

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

23 years ago2000-11-22 Loren J. Rittle <ljrittle@acm.org>
bkoz [Wed, 22 Nov 2000 18:06:53 +0000 (18:06 +0000)]
2000-11-22  Loren J. Rittle  <ljrittle@acm.org>

        * include/backward/strstream.h: Reinstate the `using'
        statements.

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

23 years ago2000-11-22 Loren J. Rittle <ljrittle@acm.org>
bkoz [Wed, 22 Nov 2000 17:55:06 +0000 (17:55 +0000)]
2000-11-22  Loren J. Rittle  <ljrittle@acm.org>

* src/Makefile.am (base_headers): Add missing backwards headers.
* src/Makefile.in: Regenerate.

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

23 years ago2000-11-21 scott snyder <snyder@fnal.gov>
bkoz [Wed, 22 Nov 2000 17:41:48 +0000 (17:41 +0000)]
2000-11-21  scott snyder  <snyder@fnal.gov>

        * config/c_io_stdio.cc (seekoff): Fix return value.
        (seekpos): Likewise.
        (sys_seek): Likewise.

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

23 years ago * gcc.c-torture/execute/ieee/20001122-1.c: New test.
jakub [Wed, 22 Nov 2000 16:37:24 +0000 (16:37 +0000)]
* gcc.c-torture/execute/ieee/20001122-1.c: New test.

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

23 years ago * Make-lang.in: Add $(build_exeext) to f/fini target
law [Wed, 22 Nov 2000 14:31:56 +0000 (14:31 +0000)]
    * Make-lang.in:  Add $(build_exeext) to f/fini target

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

23 years ago2000-11-16 Fred Fish <fnf@be.com>
law [Wed, 22 Nov 2000 14:27:56 +0000 (14:27 +0000)]
2000-11-16  Fred Fish  <fnf@be.com>

* configure.in (enable_libstdcxx_v3): Fix typo,
libstd++ -> libstdc++.

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

23 years ago * pa.c (hppa_encode_label): Account for addition of encoding
law [Wed, 22 Nov 2000 13:40:53 +0000 (13:40 +0000)]
    * pa.c (hppa_encode_label): Account for addition of encoding
        character when allocating persistent space for the new label
        name.

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

23 years ago * gcc_update: Update a comment as we now require bison for CVS users.
gerald [Wed, 22 Nov 2000 13:11:44 +0000 (13:11 +0000)]
* gcc_update: Update a comment as we now require bison for CVS users.

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

23 years ago2000-11-22 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Wed, 22 Nov 2000 11:59:59 +0000 (11:59 +0000)]
2000-11-22  Bryce McKinlay  <bryce@albatross.co.nz>

* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added Collections.java.
* java/util/List.java: Merged from classpath.
* java/util/Vector.java: Ditto.
* java/util/Collections.java: From classpath.
* java/util/ArrayList.java (addAll(Collection)): Call
addAll(int,Collection) instead of duplicating code.
(indexOf): Clean up int initialization.
(clear): Set cleared array entries to null, to allow garbage
collection.
* java/util/List.java: Minor formatting fixes.
* java/util/SimpleTimeZone.java: ditto.

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

23 years agoDaily bump.
law [Wed, 22 Nov 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

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

23 years agogcc:
zack [Wed, 22 Nov 2000 08:32:26 +0000 (08:32 +0000)]
gcc:
        * Makefile.in, config.gcc, configure.in: Expunge remaining
        traces of facility for running MD files through C preprocessor.

libiberty:
        * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
        (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
        * configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
        argument form of AC_DEFINE in dummy definitions block.  Use
        AC_DEFINE_NOAUTOHEADER for real definitions of things defined
        in dummy block.  Preload cache variables instead of bypassing
        tests, where possible.
        * acconfig.h: Removed.

        * xmalloc.c (xmalloc_failed): New function, does error
        reporting on failed allocation.
        (xmalloc, xcalloc, xrealloc): Use it.
        * libiberty.h: Move #includes to top.  Prototype xmalloc_failed.

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

23 years agogcc:
jsm28 [Wed, 22 Nov 2000 08:29:32 +0000 (08:29 +0000)]
gcc:
* gcov.texi: Add magic comments for texi2pod.pl.
* Makefile.in: Add rules to generate and install gcov.1.
* gcov.1: New (generated) file.

contrib:
* gcc_update: Add gcov.1 to the list of generated files.

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

23 years ago2000-11-21 scott snyder <snyder@fnal.gov>
bkoz [Wed, 22 Nov 2000 06:37:34 +0000 (06:37 +0000)]
2000-11-21  scott snyder  <snyder@fnal.gov>

        * config/c_io_stdio.cc (seekoff): Fix return value.
        (seekpos): Likewise.
        (sys_seek): Likewise.

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

23 years ago2000-11-21 Loren J. Rittle <ljrittle@acm.org>
bkoz [Wed, 22 Nov 2000 06:37:14 +0000 (06:37 +0000)]
2000-11-21  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in (explanation): Retain output of all failing
        compiles.  Don't add gratuitous space to the log file.

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

23 years ago2000-11-22 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Wed, 22 Nov 2000 05:47:26 +0000 (05:47 +0000)]
2000-11-22  Bryce McKinlay  <bryce@albatross.co.nz>

* jcf-parse.c (get_constant): Call UT8_CHAR_LENGTH on `utf8', not the
scratch buffer.

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

23 years ago2000-10-31 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 22 Nov 2000 05:25:15 +0000 (05:25 +0000)]
2000-10-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (outer_field_access_p): Inherited fields aren't
consider outer fields.
(maybe_build_thisn_access_method): Use
PURE_INNER_CLASS_TYPE_P instead of INNER_CLASS_TYPE_P.
(resolve_expression_name): Trigger an error if a static field
is being accessed as an outer field.

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

       * parse.h (INNER_ENCLOSING_SCOPE_CHECK): Check inherited type in
       scope.

(http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01217.html)

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

23 years ago * regrename.c (scan_rtx_reg): Terminate the chain rather than
rth [Wed, 22 Nov 2000 03:19:34 +0000 (03:19 +0000)]
    * regrename.c (scan_rtx_reg): Terminate the chain rather than
        abort on mark_read with NO_REGS.

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

23 years ago * MAINTAINERS: Add self to Write After Approval list.
lerdsuwa [Wed, 22 Nov 2000 02:45:51 +0000 (02:45 +0000)]
* MAINTAINERS: Add self to Write After Approval list.

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

23 years ago * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
mrs [Wed, 22 Nov 2000 02:34:18 +0000 (02:34 +0000)]
* fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
compilation with older compilers, such as /bin/cc on SunOS.
* fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
Fix build errors on SunOS 4.1.4.

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

23 years ago * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
mrs [Wed, 22 Nov 2000 02:23:40 +0000 (02:23 +0000)]
* fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
compilation with older compilers, such as /bin/cc on SunOS.
* fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
Fix one problem with bootstrap on SunOS 4.1.4 system.

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

23 years ago2000-11-21 Loren J. Rittle <ljrittle@acm.org>
bkoz [Wed, 22 Nov 2000 02:19:07 +0000 (02:19 +0000)]
2000-11-21  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in (explanation): Retain output of all failing
        compiles.  Don't add gratuitous space to the log file.

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

23 years ago2000-11-21 Loren J. Rittle <ljrittle@acm.org>
bkoz [Wed, 22 Nov 2000 02:15:49 +0000 (02:15 +0000)]
2000-11-21  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in (explanation): Retain output of all failing
        compiles.  Don't add gratuitous space to the log file.

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

23 years ago * varasm.c (record_constant): Pad the constructed
rth [Wed, 22 Nov 2000 01:52:14 +0000 (01:52 +0000)]
    * varasm.c (record_constant): Pad the constructed
        constant_descriptor appropriately.

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

23 years agoFix typo in scan-assembler-dem-not
hp [Wed, 22 Nov 2000 01:50:15 +0000 (01:50 +0000)]
Fix typo in scan-assembler-dem-not

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

23 years ago * lib/gcc-dg.exp: load_lib scanasm.exp.
hp [Wed, 22 Nov 2000 01:40:49 +0000 (01:40 +0000)]
* lib/gcc-dg.exp: load_lib scanasm.exp.
(scan-assembler, scan-assembler-not): Break out to scanasm.exp.
* lib/g++-dg.exp: load_lib scanasm.exp.
* lib/scanasm.exp: New.
(scan-assembler, scan-assembler-not): Add optional arguments to
test name, or if not present, the pattern name.
(scan-assembler-dem, scan-assembler-demnot): New.

* g++.dg/dg.exp: New.

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

23 years ago * rtl.h (traverse_md_constants): Declare.
amylaar [Wed, 22 Nov 2000 01:22:02 +0000 (01:22 +0000)]
* rtl.h (traverse_md_constants): Declare.
(struct md_constant): Define.
* Makefile.in (HOST_RTL): Add hashtab.o .
(OBJS): Add hashtab.o .
(hashtab.o): New rule.
(rtl.o): Depends on HASHTAB_H.
* rtl.c (hashtab.h): #include.
(md_constants): New static variable.
(def_hash, def_name_eq_p, read_constants): New static functions.
(traverse_md_constants): New function.
(read_name): Do constant expansion.
(read_rtx): Recognize define_constants.
* gencodes.c (print_md_constant): New function.
(main): Emit #defines for all constant definitions encountered.
* md.texi (Constant Definitions): New node.
* gensupport.c (xcalloc): New function.

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

23 years ago * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
rth [Wed, 22 Nov 2000 00:59:12 +0000 (00:59 +0000)]
    * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
        * config/alpha/alpha-protos.h: Declare it.
        * config/alpha/alpha.md (abstf_internal): Use it.
        (negtf_internal): Likewise.
        (andnotdi3): Unstar the name.
        (movtf_internal): Add o/G alternative.

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

23 years ago * stringpool.c (stringpool_statistics): Also report number and
zack [Wed, 22 Nov 2000 00:18:18 +0000 (00:18 +0000)]
* stringpool.c (stringpool_statistics): Also report number and
percentage of entries which are identifiers.

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

23 years ago2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Wed, 22 Nov 2000 00:05:16 +0000 (00:05 +0000)]
2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* src/strstream.cc: Adjust includes.
* src/Makefile.am (base_headers): Remove std_strstream.h, add
backwards/strstream.h.
(std_headers): Remove strstream.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am (headers): Remove new.h
* libsupc++/Makefile.in: Regenerate.
* include/std/strstream: Remove.
* include/backward/strstream.h: Replace with...
* include/bits/std_strstream.h: ...this. Move.
* include/backward/complex.h: Remove SGIisms.
* include/backward/streambuf.h: Same.
* include/backward/stream.h: Same.
* include/backward/ostream.h: Same.
* include/backward/istream.h: Same.
* include/backward/iostream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/fstream.h: Same.
* libsupc++/new.h: Add using declarations for bad_alloc,
nothrow_t, and nothrow, move to ...
* include/backward/new.h: ...here.

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

23 years ago2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Tue, 21 Nov 2000 23:44:50 +0000 (23:44 +0000)]
2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* include/backward/strstream.h: Replace with...
* include/bits/std_strstream.h: ...this. Move.
* include/backward/complex.h: Remove SGIisms.
* include/backward/streambuf.h: Same.
* include/backward/stream.h: Same.
* include/backward/ostream.h: Same.
* include/backward/istream.h: Same.
* include/backward/iostream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/fstream.h: Same.
* libsupc++/new.h: Add using declarations for bad_alloc,
nothrow_t, and nothrow, move to ...
* include/backward/new.h: ...here.

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

23 years ago * porting.texi: New file.
mmitchel [Tue, 21 Nov 2000 22:59:13 +0000 (22:59 +0000)]
* porting.texi: New file.

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

23 years ago * Put changelog in wrong ChangeLog.
neil [Tue, 21 Nov 2000 22:54:57 +0000 (22:54 +0000)]
* Put changelog in wrong ChangeLog.

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

23 years ago2000-11-21 Branko Cibej <brankoe@xbc.nu>
bkoz [Tue, 21 Nov 2000 21:58:28 +0000 (21:58 +0000)]
2000-11-21  Branko Cibej  <brankoe@xbc.nu>

        * config/os/solaris/solaris2.6/bits/os_defines.h: Define
        _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
        __off64_t and __ssize_t.
* config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
same configuration as above.

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

23 years ago2000-11-21 Diego Novillo <dnovillo@redhat.com>
dnovillo [Tue, 21 Nov 2000 21:00:20 +0000 (21:00 +0000)]
2000-11-21  Diego Novillo  <dnovillo@redhat.com>

* gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
visited before visiting it.

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

23 years ago2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Tue, 21 Nov 2000 20:53:36 +0000 (20:53 +0000)]
2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
* aclocal.m4: Regenerate.
* configure: Renerate.

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

23 years agoAllow ARM configurations with --with-cpu=arm9 or --with-cpu=arm9tdmi or
nickc [Tue, 21 Nov 2000 19:34:14 +0000 (19:34 +0000)]
Allow ARM configurations with --with-cpu=arm9 or --with-cpu=arm9tdmi or
--with-cpu=strongarm110 or --with-cpu=strongarm1100

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

23 years ago * gcc_build: Remove code to put information in a log file.
mmitchel [Tue, 21 Nov 2000 19:16:45 +0000 (19:16 +0000)]
* gcc_build: Remove code to put information in a log file.

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

23 years ago * c-common.c (c_unsafe_for_reeval): New function.
rth [Tue, 21 Nov 2000 19:09:38 +0000 (19:09 +0000)]
    * c-common.c (c_unsafe_for_reeval): New function.
        (add_c_tree_codes): Register it.
        * c-common.h: Declare it.
        * tree.c (lang_unsafe_for_reeval): New hook.
        (unsafe_for_reeval): Call it.
        * tree.h: Declare it.

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

23 years ago * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
rth [Tue, 21 Nov 2000 19:05:59 +0000 (19:05 +0000)]
    * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
        references as well.

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

23 years ago * gcc.dg/cpp/integrated1.c: Remove.
neil [Tue, 21 Nov 2000 18:30:13 +0000 (18:30 +0000)]
    * gcc.dg/cpp/integrated1.c: Remove.

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

23 years ago * do_includes: Revert to using cpp_read_file.
neil [Tue, 21 Nov 2000 18:27:49 +0000 (18:27 +0000)]
    * do_includes: Revert to using cpp_read_file.

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

23 years agoFix consec_sets_giv bug.
bernds [Tue, 21 Nov 2000 18:24:42 +0000 (18:24 +0000)]
Fix consec_sets_giv bug.

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

23 years ago * gcc.c-torture/execute/20001121-1.c: New test.
jakub [Tue, 21 Nov 2000 17:32:08 +0000 (17:32 +0000)]
* gcc.c-torture/execute/20001121-1.c: New test.

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

23 years agoMore accurate insn class attributes
bernds [Tue, 21 Nov 2000 17:29:49 +0000 (17:29 +0000)]
More accurate insn class attributes

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

23 years ago * tradcpp.c (output_line_command): Mark system headers as such in
ghazi [Tue, 21 Nov 2000 15:55:08 +0000 (15:55 +0000)]
* tradcpp.c (output_line_command): Mark system headers as such in
`line' commands.

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

23 years ago * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
jakub [Tue, 21 Nov 2000 12:50:52 +0000 (12:50 +0000)]
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
support in as as well.
* configure: Regenerate.

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

24 years agoUpdate my entries in the MAINTAINERS file.
bernds [Tue, 21 Nov 2000 11:40:05 +0000 (11:40 +0000)]
Update my entries in the MAINTAINERS file.

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

24 years ago * g77.texi (Floating-point Exception Handling): Use feenableexcept
aj [Tue, 21 Nov 2000 11:12:22 +0000 (11:12 +0000)]
* g77.texi (Floating-point Exception Handling): Use feenableexcept
in example.
(Floating-point precision): Change to match above change.

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

24 years ago * cplus-dem.c (cplus_demangle): Fix formatting.
hp [Tue, 21 Nov 2000 10:47:30 +0000 (10:47 +0000)]
* cplus-dem.c (cplus_demangle): Fix formatting.
(grow_vect): Ditto.
(ada_demangle): Ditto.
(internal_cplus_demangle): Ditto.
(mop_up): Ditto.

* cplus-dem.c (main): Handle java_demangling.

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

24 years agoNew test.
rth [Tue, 21 Nov 2000 09:09:45 +0000 (09:09 +0000)]
New test.

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

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

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

24 years agoAdded.
ovidiu [Tue, 21 Nov 2000 08:32:12 +0000 (08:32 +0000)]
Added.

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

24 years agoNew test.
rth [Tue, 21 Nov 2000 07:41:32 +0000 (07:41 +0000)]
New test.

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

24 years ago * cp/parse.y (yyparse_1): Rename the parser entry point.
rth [Tue, 21 Nov 2000 07:39:52 +0000 (07:39 +0000)]
    * cp/parse.y (yyparse_1): Rename the parser entry point.

        * c-lex.c (orig_filename): New variable.
        (init_c_lex): Set it.  Move call to cpp_start_read ...
        (yyparse): ... here.  New function.
        * c-parse.in (yyparse_1): Rename the parser entry point.
        * c-tree.h: Declare it.

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

24 years ago2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 21 Nov 2000 07:32:03 +0000 (07:32 +0000)]
2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>

* mkcheck.in (explanation): Don't paste output of passing compiles
into log file. Use -static. Get version info.

* testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.

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

24 years ago * expr.c (do_compare_and_jump): If op0 was replaced by promoted
jakub [Tue, 21 Nov 2000 06:55:42 +0000 (06:55 +0000)]
* expr.c (do_compare_and_jump): If op0 was replaced by promoted
integer constant, use type of op1 for comparison.

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

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

24 years ago2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 21 Nov 2000 06:17:15 +0000 (06:17 +0000)]
2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>

* mkcheck.in (explanation): Don't paste output of passing compiles
into log file.

* testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.

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

24 years ago * mangle.c (write_name): Use <unscoped-name> for names directly in
samuel [Tue, 21 Nov 2000 04:38:08 +0000 (04:38 +0000)]
* mangle.c (write_name): Use <unscoped-name> for names directly in
function scope.
(write_unscoped_name): Accept names directly in function scope.

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

24 years ago * POTFILES.in: Add config/rs6000/xm-darwin.h.
shebs [Tue, 21 Nov 2000 03:04:44 +0000 (03:04 +0000)]
   * POTFILES.in: Add config/rs6000/xm-darwin.h.

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

24 years ago * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
shebs [Tue, 21 Nov 2000 03:02:09 +0000 (03:02 +0000)]
    * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
        * config/rs6000/x-darwin: New file, Darwin host fragment.
        * config.gcc (powerpc-*-darwin*): New host.
        * system.h (HAVE_DESIGNATED_INITIALIZERS):  Allow this to be
        overridden by a config file.

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

24 years ago2000-11-21 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Tue, 21 Nov 2000 00:08:02 +0000 (00:08 +0000)]
2000-11-21  Gabriel Dos Reis  <gdr@codesourcery.com>

* include/bits/std_complex.h (complex<double>): Constructor
complex<double>::complex(const complex<float>&) is not explicit;
since it is a promotion.
(complex<long double>): Constructors taking complex<float> and
complex<double> are not explicit.

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

24 years ago*** empty log message ***
dlindsay [Tue, 21 Nov 2000 00:05:05 +0000 (00:05 +0000)]
*** empty log message ***

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

24 years ago * gcc.dg/cpp/paste2.c: Update test.
neil [Tue, 21 Nov 2000 00:00:50 +0000 (00:00 +0000)]
    * gcc.dg/cpp/paste2.c: Update test.
        * objc/execute/paste.m: New test.

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

24 years ago * cppmacro.c (paste_tokens): Rename from paste_payloads.
neil [Mon, 20 Nov 2000 23:59:26 +0000 (23:59 +0000)]
    * cppmacro.c (paste_tokens): Rename from paste_payloads.
        Change token type after pasting spellings.
        (paste_all_tokens): Use it.

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

24 years ago * jv-scan.c (help): Document --complexity.
tromey [Mon, 20 Nov 2000 22:56:14 +0000 (22:56 +0000)]
* jv-scan.c (help): Document --complexity.
(options): Added --complexity.
(flag_complexity): New global.
(main): Call `report'.
* parse-scan.y (complexity): New global.
(if_then_statement, if_then_else_statement,
if_then_else_statement_nsi, switch_block_statement_group,
while_expression, do_statement, for_begin, continue_statement,
throw_statement, catch_clause, finally, method_invocation,
conditional_and_expression, conditional_or_expression,
conditional_expression): Update complexity.
(reset_report): Reset complexity.
(report): New function.

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

24 years ago * lex.c (yylex): Added STRICT_TK case.
tromey [Mon, 20 Nov 2000 22:37:22 +0000 (22:37 +0000)]
* lex.c (yylex): Added STRICT_TK case.
* parse.y (STRICT_TK): Added.
* parse-scan.y (STRICT_TK): Added.
* Make-lang.in ($(srcdir)/java/keyword.h): Added missing `\' and
`;'.  Use 4, not 3, with -k option.  Correctly rename resulting
file.
* keyword.h: Rebuilt.
* keyword.gperf (strictfp): Added.

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

24 years ago * lex.c (yylex): Recognize floating point constants with leading
tromey [Mon, 20 Nov 2000 22:32:40 +0000 (22:32 +0000)]
* lex.c (yylex): Recognize floating point constants with leading
0.

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

24 years ago * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
rth [Mon, 20 Nov 2000 21:40:30 +0000 (21:40 +0000)]
    * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
        dwarf_subscr_data_formats bits.
        * dwarfout.c (simple_type_size_in_bits): Handle a type with
        no computed size as size zero.
        (field_byte_offset): Likewise.
        (subscript_data_attribute): Handle a range with no upper bound.

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

24 years ago2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 20 Nov 2000 21:13:45 +0000 (21:13 +0000)]
2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
* src/complex.cc: Remove cmath include, formatting tweaks, remove
dead code.
* include/c/bits/std_cmath.h: Formatting tweaks.
* testsuite/26_numerics/complex_value.cc: New file, for catching
bits gleaned from libstdc++/106.

* testsuite/23_containers/vector_ctor.cc (test02): Add test from
libstdc++/102.

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

24 years ago * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
ghazi [Mon, 20 Nov 2000 21:09:25 +0000 (21:09 +0000)]
* gansidecl.h (const): Check __STDC__ before undef'ing `const'.

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

24 years ago * c-typeck.c (build_conditional_expr): When merging type
jsm28 [Mon, 20 Nov 2000 19:06:19 +0000 (19:06 +0000)]
* c-typeck.c (build_conditional_expr): When merging type
qualifiers for conditional expressions between a pointer and a
pointer to a void type, merge the qualifiers on the target types
rather than the pointer type.  Remove obsolete conditioned out
code.

testsuite:
* gcc.dg/c99-condexpr-1.c: New test.

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

24 years ago * gcc.dg/cpp/macsyntx.c: Use correct command line option.
neil [Mon, 20 Nov 2000 18:28:43 +0000 (18:28 +0000)]
* gcc.dg/cpp/macsyntx.c: Use correct command line option.

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

24 years ago * c-lang.c (lang_init_options): Update call to
neil [Mon, 20 Nov 2000 18:27:32 +0000 (18:27 +0000)]
* c-lang.c (lang_init_options): Update call to
cpp_reader_init.
* cppmain.c (main): Similarly.
* fix-header.c (read_scan_file): Similarly.
* cp/lex.c (lang_init_options): Similarly.
* objc/objc-act.c (lang_init_options): Similarly.
* cppexp.c (parse_number): Only warn for unextended C89.
* cppinit.c (set_lang): New function.
(cpp_reader_init): Take a LANG argument and pass it to set_lang.
(COMMAND_LINE_OPTIONS): New option std=c++98.
(cpp_handle_option): Use set_lang.
* cpplib.h (enum_c_lang): New enumeration.  Update comments.

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

24 years ago * Makefile.in: Rebuilt.
tromey [Mon, 20 Nov 2000 18:25:41 +0000 (18:25 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added new files.
* java/lang/reflect/ReflectPermission.java: New class.
* java/io/FileFilter.java: From Classpath
* java/io/FilePermission.java: From Classpath.

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