platform/upstream/linaro-gcc.git
25 years agoSun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
law [Sun, 30 May 1999 13:33:11 +0000 (13:33 +0000)]
Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
        * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
        * function.h (cleanup_label, frame_offset): Declare.
        (tail_recursion_label, tail_recursion_reentry): Likewise.
        (arg_pointer_save_area, rtl_expr_chain): Likewise.
        * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
        (tail_recursion_label, tail_recursion_reentry): Likewise.
        (arg_pointer_save_area, rtl_expr_chain): Likewise.

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

25 years ago * libio/dgux.mt: New file for DG/UX configuration of libio
law [Sun, 30 May 1999 13:25:28 +0000 (13:25 +0000)]
    * libio/dgux.mt: New file for DG/UX configuration of libio

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

25 years agoSat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
nickc [Sun, 30 May 1999 12:04:01 +0000 (12:04 +0000)]
Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
* config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
defined.
* config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
(MAX_OFILE_ALIGNMENT): Likewise.

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

25 years agoDaily bump.
law [Sun, 30 May 1999 00:45:32 +0000 (00:45 +0000)]
Daily bump.

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

25 years agodocs, prep
burley [Sat, 29 May 1999 10:41:23 +0000 (10:41 +0000)]
docs, prep

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

25 years agodocs
burley [Sat, 29 May 1999 07:59:18 +0000 (07:59 +0000)]
docs

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

25 years agodocs
burley [Sat, 29 May 1999 05:16:59 +0000 (05:16 +0000)]
docs

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

25 years agoDaily bump.
law [Sat, 29 May 1999 00:45:33 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoput development docs on mainline for now
burley [Fri, 28 May 1999 23:17:04 +0000 (23:17 +0000)]
put development docs on mainline for now

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

25 years agoReplace local include scheme with #include of system.h
korbb [Fri, 28 May 1999 21:43:32 +0000 (21:43 +0000)]
Replace local include scheme with #include of system.h

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

25 years agofixinc.dgux: Use modified _int_varargs.h
korbb [Fri, 28 May 1999 21:33:05 +0000 (21:33 +0000)]
fixinc.dgux:  Use modified _int_varargs.h

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

25 years ago * java/net/DatagramSocket.java (laddr): Removed.
warrenl [Fri, 28 May 1999 19:29:53 +0000 (19:29 +0000)]
* java/net/DatagramSocket.java (laddr): Removed.
(DatagramSocket): Removed attempts to get or set laddr if null.
(getLocalAddress): Reimplemented per spec.
* java/net/MulticastSocket.java (setTimeToLive): Throw exception
when ttl is 0.
(joinGroup): Throw NullPointerException if any argument is null.
(leaveGroup): ditto.
* java/net/PlainDatagramSocketImpl.java: Updated comments.
* java/net/PlainSocketImpl.java (timeout): Added.
(getInputStream): Added FIXME comment on how to support timeouts
for TCP.
* java/net/ServerSocket.java (ServerSocket): Added FIXME comment.
* java/net/Socket.java: Added FIXME comments to identify
conflicting specs between the JCL and JDK 1.2 documents.
* java/net/natPlainDatagramSocketImpl.cc (bind): Use INADDR_ANY
if host is null.  Get localport value resolved by kernel if bind
lport is 0.
(receive): Implemented support for timeouts in UDP.
(setOption): Implemented based on natPlainSocketImpl version.
(getOption): ditto.
* java/net/natPlainSocketImpl.cc (bind): Get localport value
resolved by kernel if bind lport is 0.
(connect): Get localport value resolved by kernel if bind wasn't
done to set localport.
(accept): Implemented support for timeouts for ServerSocket.
(setOption): Save value for SO_TIMEOUT.
(getOption): Return timeout for SO_TIMEOUT.

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

25 years agoFri May 28 18:22:45 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Fri, 28 May 1999 19:26:08 +0000 (19:26 +0000)]
Fri May 28 18:22:45 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (lookup_field_wrapper): Unified returned value to NULL
          or the searched field decl.
Fri May 28 11:34:05 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (fold_constant_for_init): Convert numerical constant
        values to the type of the assigned field.
Thu May 27 19:57:40 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * expr.c (lookup_field): Relaxed the test on class loading error
        detection.
        * parse.y (fold_constant_for_init): Enabeled old code.
Wed May 26 18:06:02 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (valid_ref_assignconv_cast_p): Let `_Jv_CheckCast'
        decide the validity of the cast of a java.lang.Cloneable reference
        to an array.
        (patch_conditional_expr): Fixed first argument passed to
        binary_numeric_promotion.

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

25 years agofix thinko
burley [Fri, 28 May 1999 14:52:41 +0000 (14:52 +0000)]
fix thinko

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

25 years ago"New" testsuite entries approved by Jeff on 5/23.
robertl [Fri, 28 May 1999 13:26:49 +0000 (13:26 +0000)]
"New" testsuite entries approved by Jeff on 5/23.

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

25 years ago * putenv.c: Include ansidecl.h to define `const'.
ghazi [Fri, 28 May 1999 07:34:48 +0000 (07:34 +0000)]
    * putenv.c: Include ansidecl.h to define `const'.
        * setenv.c: Likewise.

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

25 years ago * i386/t-dgux (EXTRA_PARTS): Add crti.o
law [Fri, 28 May 1999 02:54:05 +0000 (02:54 +0000)]
    * i386/t-dgux (EXTRA_PARTS): Add crti.o
        (crti.o): Add build rule and dependencies.

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

25 years ago * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
law [Fri, 28 May 1999 02:49:16 +0000 (02:49 +0000)]
    * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
        (LIB_LINUX_SPEC): Likewise.
        (LIB_LINUX_SPEC): Add support for -pthread
        (CPP_OS_LINUX_SPEC): Likewise.
        (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
        specified

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

25 years ago * decl.c (add_binding): Don't complain about a redeclaration of a
mmitchel [Fri, 28 May 1999 02:37:13 +0000 (02:37 +0000)]
* decl.c (add_binding): Don't complain about a redeclaration of a
semantically identical typedef in a local scope.

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

25 years ago * makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.
law [Fri, 28 May 1999 02:10:39 +0000 (02:10 +0000)]
* makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.

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

25 years ago * decl.c (complete_array_type): Allocate off same obstack. Fix
nathan [Fri, 28 May 1999 01:56:31 +0000 (01:56 +0000)]
* decl.c (complete_array_type): Allocate off same obstack. Fix
DO_DEFAULT comment to match reality.
* friend.c (make_friend_class): Fix diagnostic typo.

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

25 years agoDaily bump.
law [Fri, 28 May 1999 00:45:03 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * decl.c (lookup_namespace_name): Handle getting a
mmitchel [Fri, 28 May 1999 00:20:07 +0000 (00:20 +0000)]
* decl.c (lookup_namespace_name): Handle getting a
TEMPLATE_ID_EXPR.
(expand_static_init): Don't call pushdecl for implicitly declared
`atexit' used to register destructors.

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

25 years agoTrivial change to test new features in the script to update the online docs.
law [Thu, 27 May 1999 23:44:43 +0000 (23:44 +0000)]
Trivial change to test new features in the script to update the online docs.

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

25 years ago@
law [Thu, 27 May 1999 12:11:03 +0000 (12:11 +0000)]
@
        * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
        conditional move.
        (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
        (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
        for IEEE math and CC_FCOMI.
        (put_jump_code): No IEEE if CC_FCOMI is set.

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

25 years ago
law [Thu, 27 May 1999 12:10:59 +0000 (12:10 +0000)]

        * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
        conditional move.
        (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
        (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
        for IEEE math and CC_FCOMI.
        (put_jump_code): No IEEE if CC_FCOMI is set.

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

25 years agoh
law [Thu, 27 May 1999 02:33:58 +0000 (02:33 +0000)]
h
        * fold-const.c (fold_truthop): Make the field reference unsigned
        when converting a single bit compare.

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

25 years ago
law [Thu, 27 May 1999 02:33:56 +0000 (02:33 +0000)]

        * fold-const.c (fold_truthop): Make the field reference unsigned
        when converting a single bit compare.

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

25 years ago * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
law [Thu, 27 May 1999 02:01:30 +0000 (02:01 +0000)]
    * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
        * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
        version did.

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

25 years ago * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
law [Thu, 27 May 1999 01:46:21 +0000 (01:46 +0000)]
    * loop.c (strength_reduce): Don't do biv->giv conversion on constants.

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

25 years ago * gcc.c-torture/compile/990527-1.c: New test.
law [Thu, 27 May 1999 01:44:02 +0000 (01:44 +0000)]
    * gcc.c-torture/compile/990527-1.c: New test.

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

25 years ago * gcc.c-torture/execute/990527-1.c: New test.
law [Thu, 27 May 1999 01:24:14 +0000 (01:24 +0000)]
    * gcc.c-torture/execute/990527-1.c: New test.

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

25 years agop
law [Thu, 27 May 1999 01:19:12 +0000 (01:19 +0000)]
p
        * reload.c (push_reload): Do not call remove_address_replacements
        when presented with identical optional reloads.

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

25 years ago
law [Thu, 27 May 1999 01:19:07 +0000 (01:19 +0000)]

        * reload.c (push_reload): Do not call remove_address_replacements
        when presented with identical optional reloads.

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

25 years agoDaily bump.
law [Thu, 27 May 1999 00:46:03 +0000 (00:46 +0000)]
Daily bump.

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

25 years ago1999-05-26 Bryce McKinlay <bryce@albatross.co.nz>
warrenl [Wed, 26 May 1999 17:00:06 +0000 (17:00 +0000)]
1999-05-26  Bryce McKinlay <bryce@albatross.co.nz>
* java/net/DatagramSocket.java (getSoTimeout): Verify class type.
* java/net/DatagramSocketImpl.java (getOption): Made abstract.
(setOption): Made abstract.
* java/net/PlainDatagramSocketImpl.java: Mirror SocketOptions fields
to avoid cpp conflicts in native code.
* java/net/PlainSocketImpl.java: Mirror SocketOptions fields to avoid
cpp conflicts in native code.
* java/net/ServerSocket.java (toString): Prepended "ServerSocket".
* java/net/Socket.java (getLocalAddress): Implemented.
(setTcpNoDelay): Implemented.
(getTcpNoDelay): Implemented.
(setSoLinger): Implemented.
(getSoLinger): Implemented.
(getSoTimeout): Verify class type.
(setSendBufferSize): Implemented.
(getSendBufferSize): Implemented.
(setReceiveBufferSize): Implemented.
(getReceiveBufferSize): Implemented.
(toString): Prepended "Socket".
* java/net/SocketImpl.java (toString): Rewritten.
(getOption): Made abstract.
(setOption): Made abstract.
* java/net/natPlainSocketImpl.cc (connect): Set localport properly.
(setOption): Implemented.
(getOption): Implemented.
1999-05-26  Warren Levy  <warrenl@cygnus.com>
* java/net/DatagramSocket.java (DatagramSocket): Get local host
address when null.  Set SO_REUSEADDR for multicasts.
(getSoTimeout): Implemented.
(setSoTimeout): Implemented.
* java/net/DatagramSocketImpl.java: Implement SocketOptions interface.
* java/net/MulticastSocket.java (getInterface): Implemented.
(setInterface): Implemented.
(setTimeToLive): Check for invalid ttl.
(joinGroup): Verify multicast address and security.
(leaveGroup): Verify multicast address and security.
(send): Implemented.
* java/net/PlainDatagramSocketImpl.java (timeout): Added.
(iface): Added.
(ttl): Added.
(setOption): Added.
(getOption): Added.
(mcastGrp): Added.
(getTTL): Implemented as non-native.
(setTTL): ditto.
(join): ditto.
(leave): ditto.
* java/net/ServerSocket.java (setSoTimeout): Implemented.
(getSoTimeout): Implemented.
(setSocketFactory): Made synchronized.
* java/net/Socket.java (setSoTimeout): Implemented.
(getSoTimeout): Implemented.
(close): Made synchronized.
(setSocketImplFactory): Made synchronized.
* java/net/SocketImpl.java: Implement SocketOptions interface.
* java/net/natInetAddress.cc: Corrected module name at top of file.
* java/net/natPlainDatagramSocketImpl.cc (McastReq): Added union.
(bind): Added FIXME.
(peek): Implemented.
(setTTL): Removed.
(getTTL): Removed.
(join): Removed.
(leave): Removed.
(mcastGrp): Added.
(setOption): Implemented for SO_REUSEADDR.
(getOption): Implemented for SO_REUSEADDR.

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

25 years ago * alpha.h (MASK_FIX, TARGET_FIX): New.
rth [Wed, 26 May 1999 16:44:21 +0000 (16:44 +0000)]
    * alpha.h (MASK_FIX, TARGET_FIX): New.
        (MASK_*): Reorganize constants.
        (CPP_AM_FIX_SPEC): New.
        (TARGET_SWITCHES): Add FIX.
        (EXTRA_SPECS): Likewise.
        (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
        (SECONDARY_MEMORY_NEEDED): Likewise.
        (REGISTER_MOVE_COST): Likewise.
        * alpha.c (override_options): Add FIX support.  Always use
        ALPHA_TP_PROG for ev6.
        * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
        * alpha/elf.h (ASM_FILE_START): Look at FIX too.
        * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.

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

25 years agoWed May 26 15:33:06 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 26 May 1999 15:41:34 +0000 (15:41 +0000)]
Wed May 26 15:33:06 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (qualify_ambiguous_name): Take into account that a
        CONVERT_EXPR might specify a type as a WFL.

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

25 years agoupdate derived files
burley [Wed, 26 May 1999 12:55:46 +0000 (12:55 +0000)]
update derived files

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

25 years agodocument Toon's patch, fix grammo
burley [Wed, 26 May 1999 12:52:30 +0000 (12:52 +0000)]
document Toon's patch, fix grammo

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

25 years agorename version numbers, etc
burley [Wed, 26 May 1999 12:48:41 +0000 (12:48 +0000)]
rename version numbers, etc

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

25 years agoForgot to commit.
law [Wed, 26 May 1999 11:35:41 +0000 (11:35 +0000)]
Forgot to commit.

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

25 years agorename -fsubscript-check to -fbounds-check
burley [Wed, 26 May 1999 09:52:31 +0000 (09:52 +0000)]
rename -fsubscript-check to -fbounds-check

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

25 years ago * fold-const.c (fold): STRIP_NOPS when deciding whether or not
mmitchel [Wed, 26 May 1999 09:50:08 +0000 (09:50 +0000)]
    * fold-const.c (fold): STRIP_NOPS when deciding whether or not
something is a candidate for optimize_bit_field_compare.

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

25 years ago * gcc.texi (Passes): Document branch-shortening.
mmitchel [Wed, 26 May 1999 09:38:33 +0000 (09:38 +0000)]
* gcc.texi (Passes): Document branch-shortening.
* invoke.texi (Debugging Options): Document the fact that `-dp'
outputs length information for instructions.

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

25 years agoRevert previous delta
nickc [Wed, 26 May 1999 08:50:01 +0000 (08:50 +0000)]
Revert previous delta

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

25 years ago Check against frame_pointer_rtx not FRAME_POINTER_REGNUM
nickc [Wed, 26 May 1999 06:05:46 +0000 (06:05 +0000)]
 Check against frame_pointer_rtx not FRAME_POINTER_REGNUM

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

25 years ago * Makefile.in (CFILES): Add putenv.c and setenv.c.
law [Wed, 26 May 1999 03:13:18 +0000 (03:13 +0000)]
    * Makefile.in (CFILES): Add putenv.c and setenv.c.
        * configure.in (funcs): Add putenv and setenv.
        (AC_CHECK_FUNCS): Check for putenv and setenv.
        * configure: Rebuilt.
        * putenv.c setenv.c: New files.

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

25 years agoP
law [Wed, 26 May 1999 03:04:27 +0000 (03:04 +0000)]
P
        * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
        bytes of space using malloc.

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

25 years ago
law [Wed, 26 May 1999 03:04:25 +0000 (03:04 +0000)]

        * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
        bytes of space using malloc.

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

25 years ago
law [Wed, 26 May 1999 01:29:10 +0000 (01:29 +0000)]

        * arm.h (NEED_PLT_GOT): Fix mistake in last change.
        (GOT_PCREL): New macro.  Define to 1 if not already defined.
        * arm/elf.h (GOT_PCREL): Define to 0.
        * arm.c (arm_finalize_pic): Take into account the setting of
        GOT_PCREL.

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

25 years agoDaily bump.
law [Wed, 26 May 1999 00:45:02 +0000 (00:45 +0000)]
Daily bump.

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

25 years agoRevert accidental checkin.
law [Tue, 25 May 1999 23:18:19 +0000 (23:18 +0000)]
Revert accidental checkin.

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

25 years ago * output.h (STRIP_NAME_ENCODING): Provide default definition.
law [Tue, 25 May 1999 21:32:01 +0000 (21:32 +0000)]
    * output.h (STRIP_NAME_ENCODING): Provide default definition.
        * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.

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

25 years agoDelete vestigial FFECOM_FASTER_ARRAY_REFS
burley [Tue, 25 May 1999 21:04:32 +0000 (21:04 +0000)]
Delete vestigial FFECOM_FASTER_ARRAY_REFS

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

25 years agoTue May 25 15:06:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Tue, 25 May 1999 16:36:07 +0000 (16:36 +0000)]
Tue May 25 15:06:13 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * parse.y (patch_assignment): Save the rhs before using it as an
        argument to _Jv_CheckArrayStore.
Tue May 25 11:23:59 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* lex.c (java_parse_doc_section): Fixed `tag' buffer size.
Mon May 24 13:26:00 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * lex.c (java_lex): Accepts `+' or `-' after the beginning of a
        floating point litteral only when the exponent indicator has been
        parsed.

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

25 years agoFix 19990525-0.f
burley [Tue, 25 May 1999 16:25:57 +0000 (16:25 +0000)]
Fix 19990525-0.f

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

25 years ago * class.c (finish_vtbls): Copy BINFO_VIRTUALs before using it to
mmitchel [Tue, 25 May 1999 15:31:38 +0000 (15:31 +0000)]
* class.c (finish_vtbls): Copy BINFO_VIRTUALs before using it to
intialize a vtable.
* cp-tree.h (NAMESPACE_LEVEL): Reformat.
(lang_decl_flags): Document MEMFUNC_POINTER_TO.  Save four bytes
by combining TEMPLATE_INFO and LEVEL into a single union.
(DECL_TEMPLATE_INFO): Reformat.
(DECL_SAVED_TREE): Document.
(DECL_TEMPLATE_INJECT): Remove.
* class.c (finish_struct): Remove code to deal with
DECL_TEMPLATE_INJECT.
* decl.c (maybe_process_template_type_declaration): Handle all new
types in templates uniformly.
* method.c (bulid_overload_identifier): Use CP_DECL_CONTEXT, not
DECL_CONTEXT.
* pt.c (lookup_template_class): Inject template instantiations of
forward-declarations.
(instantiate_class_template): Remove code processing
DECL_TEMPLATE_INJECT.
* pt.c (lookup_template_class): Tweak lookup to find member
templates.
* pt.c (tsubst_expr, case ASM_STMT): Don't tsubst into
ASM_CV_QUAL.
* semantics.c (finish_asm_stmt): Make strings permanent if they're
used in a template.

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

25 years agoFix dumb mistakes.
law [Tue, 25 May 1999 13:53:30 +0000 (13:53 +0000)]
Fix dumb mistakes.

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

25 years ago * gcc.c-torture/execute/990525-2.c: New test.
law [Tue, 25 May 1999 13:31:37 +0000 (13:31 +0000)]
    * gcc.c-torture/execute/990525-2.c: New test.

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

25 years ago
law [Tue, 25 May 1999 13:14:40 +0000 (13:14 +0000)]

        * flow.c (mark_set_1): Do not record BLKmode stores as dead
        store elimination candidates.

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

25 years agoTue May 25 11:20:46 1999 H.J. Lu (hjl@gnu.org)
bje [Tue, 25 May 1999 13:06:22 +0000 (13:06 +0000)]
Tue May 25 11:20:46 1999  H.J. Lu  (hjl@gnu.org)
* config.guess (dummy): Changed to $dummy.

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

25 years ago * typeck.c (casts_away_constness, casts_away_constness_r): Strip both
jason [Tue, 25 May 1999 11:55:58 +0000 (11:55 +0000)]
* typeck.c (casts_away_constness, casts_away_constness_r): Strip both
parts of pointer to data member types.

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

25 years agoExplicitly declare signed bitfields as signed.
nickc [Tue, 25 May 1999 07:16:43 +0000 (07:16 +0000)]
Explicitly declare signed bitfields as signed.

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

25 years ago * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
gavin [Tue, 25 May 1999 05:57:50 +0000 (05:57 +0000)]
* config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
TARGET_GAS.

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

25 years agoDaily bump.
law [Tue, 25 May 1999 00:45:34 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * gcc.c-torture/execute/990525-1.c: New test.
law [Tue, 25 May 1999 00:26:35 +0000 (00:26 +0000)]
    * gcc.c-torture/execute/990525-1.c: New test.

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

25 years ago * decl2.c (mark_vtable_entries): Don't make a copy of a function,
mmitchel [Mon, 24 May 1999 23:38:55 +0000 (23:38 +0000)]
* decl2.c (mark_vtable_entries): Don't make a copy of a function,
and then make it look like `abort'.  Just use `abort' instead.

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

25 years agoFix aix --with-gnu-ld configuration bug.
wilson [Mon, 24 May 1999 20:32:23 +0000 (20:32 +0000)]
Fix aix --with-gnu-ld configuration bug.
* configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
Add use of x-aix41-gld.

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

25 years ago * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
rth [Mon, 24 May 1999 16:45:19 +0000 (16:45 +0000)]
    * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
        (ASM_OUTPUT_DESTRUCTOR): Define.

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

25 years ago * typeck.c (build_static_cast): Don't allow static_casts that cast
mmitchel [Mon, 24 May 1999 15:26:25 +0000 (15:26 +0000)]
* typeck.c (build_static_cast): Don't allow static_casts that cast
away constness.
(casts_away_constness_r): New function.
(casts_away_constness): Likewise.

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

25 years agoTidied up case statements
nickc [Mon, 24 May 1999 15:24:52 +0000 (15:24 +0000)]
Tidied up case statements

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

25 years ago * java/util/ResourceBundle.java (getBundle): Throw
tromey [Mon, 24 May 1999 15:00:02 +0000 (15:00 +0000)]
* java/util/ResourceBundle.java (getBundle): Throw
NullPointerException if baseName is null.

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

25 years ago * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
law [Mon, 24 May 1999 13:43:22 +0000 (13:43 +0000)]
* loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
last CODE_LABEL in a loop if we have previously passed a jump
to the top of the loop.

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

25 years ago * gcc.c-torture/execute/990524-1.c: New test.
law [Mon, 24 May 1999 13:27:14 +0000 (13:27 +0000)]
    * gcc.c-torture/execute/990524-1.c: New test.

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

25 years agoFix blunder made when applying patch to arm.h
nickc [Mon, 24 May 1999 07:58:01 +0000 (07:58 +0000)]
Fix blunder made when applying patch to arm.h

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

25 years ago * g++.old-deja/g++.other/anon3.C: New test.
nathan [Mon, 24 May 1999 04:24:30 +0000 (04:24 +0000)]
* g++.old-deja/g++.other/anon3.C: New test.
* g++.old-deja/g++.other/anon4.C: New test.
* g++.old-deja/g++.ext/anon1.C: Inhibit -pedantic option.
* g++.old-deja/g++.g++.robertl/eb131.C/: Remove unrequired ERROR tag,
after downgrade to warning (cp/ChangeLog: 1999-05-20 Jason
Merrill).

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

25 years ago * stmt.c (expand_end_bindings): Ignore any elements of VARS that
mmitchel [Mon, 24 May 1999 00:58:56 +0000 (00:58 +0000)]
* stmt.c (expand_end_bindings): Ignore any elements of VARS that
are not VAR_DECLs.

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

25 years ago * decl.c (lookup_tag): Remove code no longer needed after
mmitchel [Mon, 24 May 1999 00:47:01 +0000 (00:47 +0000)]
* decl.c (lookup_tag): Remove code no longer needed after
name-lookup improvements.
* decl2.c (handle_class_head): Make error-recovery more robust.
* friend.c (make_friend_class): Reject templated typename types.
* lex.c (is_global): A template parameter isn't global.
* parse.y (class_head): Robustify.
* parse.c: Regenerated.

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

25 years agoDaily bump.
law [Mon, 24 May 1999 00:45:33 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * gcc.dg/990524-1.c: New test.
law [Sun, 23 May 1999 23:12:23 +0000 (23:12 +0000)]
    * gcc.dg/990524-1.c: New test.

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

25 years ago * gcc.c-torture/compile/990523-1.c: New test.
law [Sun, 23 May 1999 21:26:27 +0000 (21:26 +0000)]
    * gcc.c-torture/compile/990523-1.c: New test.

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

25 years agoSun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
law [Sun, 23 May 1999 19:37:42 +0000 (19:37 +0000)]
Sun May 23 20:31:16 1999  Jeffrey A Law  (law@cygnus.com)
        * loop.c (strength_reduce): Grow reg_single_usage as needed.
Sun May 23 10:13:20 1999  David O'Brien <obrien@FreeBSD.org>
        * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
        Also remove a useless comment.
Sun May 23 10:05:23 1999  Jerry Quinn <jquinn@nortelnetworks.com>
        * pa.md (negdf2,negsf2):  Use fneg instead of fsub on pa 2.0.

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

25 years agoDaily bump.
law [Sun, 23 May 1999 00:45:05 +0000 (00:45 +0000)]
Daily bump.

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

25 years ago * pt.c (for_each_template_parm): Walk into TYPENAME_TYPEs,
mmitchel [Sat, 22 May 1999 19:00:23 +0000 (19:00 +0000)]
* pt.c (for_each_template_parm): Walk into TYPENAME_TYPEs,
INDIRECT_REFs, and COMPONENT_REFs.  Handle FIELD_DECLs.

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

25 years agoexpected
jason [Sat, 22 May 1999 18:44:19 +0000 (18:44 +0000)]
expected

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

25 years ago * collect2.c (main): Only generate import or export file and add
dje [Sat, 22 May 1999 18:14:31 +0000 (18:14 +0000)]
    * collect2.c (main): Only generate import or export file and add
        to link arguments if non-empty.  Use xmalloc not alloca.
        (write_{export,import}_file): Delete.
        (write_aix_file): New function.
        (locatelib): Use xmalloc not malloc.
        (GCC_OK_SYMBOL): Do not check type if aix64.

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

25 years ago * java/util/zip/ZipInputStream.java (fill): New method.
tromey [Sat, 22 May 1999 18:08:46 +0000 (18:08 +0000)]
* java/util/zip/ZipInputStream.java (fill): New method.
(compressed_len): New instance variable.
(getNextStream): Set it.
(read): Reset inflater on EOF.  Only read via `super' if entry is
deflated.
(skip): Only skip via `super' if entry is deflated.
* java/util/zip/Deflater.java (last_input_count): Removed.
* java/util/zip/natDeflater.cc (deflate): Return 0 if input array
is length 0.
(needsInput): Don't use last_input_count.
(setInput): Don't set last_input_count.
* java/util/zip/natInflater.cc (getRemaining): Return correct
result.
(inflate): Return 0 if input array is length 0.
(setInput): Don't set last_input_count.
* java/util/zip/Inflater.java (last_input_count): Removed.

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

25 years agoSat May 22 13:54:41 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Sat, 22 May 1999 14:38:13 +0000 (14:38 +0000)]
Sat May 22 13:54:41 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (formal_parameter:): Construct argument tree list
  element even if a yet unsupported final parameter was encountered.
Tue May 18 00:28:58 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (finish_method_declaration): Issue errors for native or
  abstract methods declared with a method body, as well as for non
  native or non abstract methods with no method body.

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

25 years ago * cp-tree.h (push_nested_namespace): Declare.
mmitchel [Sat, 22 May 1999 14:26:55 +0000 (14:26 +0000)]
* cp-tree.h (push_nested_namespace): Declare.
(pop_nested_namespace): Likewise.
* decl.c (push_nested_namespace): New function.
(pop_nested_namespace): Likewise.
* pt.c (instantiate_class_template): Use them.

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

25 years ago * tree.c (mapcar): Handle LVALUE_EXPR.
mmitchel [Sat, 22 May 1999 11:24:43 +0000 (11:24 +0000)]
* tree.c (mapcar): Handle LVALUE_EXPR.

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

25 years agoApply patch from Philip Blundell <pb@nexus.co.uk> to fix PIC support for
nickc [Sat, 22 May 1999 09:40:04 +0000 (09:40 +0000)]
Apply patch from Philip Blundell  <pb@nexus.co.uk> to fix PIC support for
constant tables.

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

25 years agoFix erroneous warning message
nickc [Sat, 22 May 1999 09:11:10 +0000 (09:11 +0000)]
Fix erroneous warning message

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

25 years agooops - omitted from previous delta
nickc [Sat, 22 May 1999 09:07:56 +0000 (09:07 +0000)]
oops - omitted from previous delta

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

25 years agoOnly defined NEED_PLT_GOT if it is not already defined.
nickc [Sat, 22 May 1999 09:07:33 +0000 (09:07 +0000)]
Only defined NEED_PLT_GOT if it is not already defined.

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

25 years agoFix description of a stack element in a PARALLEL generated by FUNCTION_ARG
nickc [Sat, 22 May 1999 07:18:02 +0000 (07:18 +0000)]
Fix description of a stack element in a PARALLEL generated by FUNCTION_ARG

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

25 years agoFix comment (insns -> bytes).
law [Sat, 22 May 1999 05:54:15 +0000 (05:54 +0000)]
Fix comment (insns -> bytes).

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

25 years ago1999-05-22 Ben Elliston <bje@cygnus.com>
bje [Sat, 22 May 1999 05:41:47 +0000 (05:41 +0000)]
1999-05-22  Ben Elliston  <bje@cygnus.com>
* config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake
<jiro@din.or.jp>.

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

25 years ago1999-05-22 Ben Elliston <bje@cygnus.com>
bje [Sat, 22 May 1999 05:17:55 +0000 (05:17 +0000)]
1999-05-22  Ben Elliston  <bje@cygnus.com>
* config.guess: Merge with FSF version. Future changes will be
more accurately recorded in this ChangeLog.
* config.sub: Likewise.

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

25 years ago * cp-tree.h (cplus_expand_constant): Declare.
mmitchel [Sat, 22 May 1999 01:30:11 +0000 (01:30 +0000)]
* cp-tree.h (cplus_expand_constant): Declare.
* cvt.c (convert_to_pointer): Expand PTRMEM_CSTs when they're
converted from one pointer-to-object type to another.
* expr.c (cplus_expand_constant): Don't make it static.
* typeck.c (build_component_ref): Don't crash when presented with
a component which is a TEMPLATE_DECL.
(build_ptrmemfunc): Tidy.  Clarify comment.  Make sure that even a
cast from a pointer-to-member constant to its own type does not
result in a valid non-type template argument.

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