platform/upstream/gcc.git
25 years agoDaily bump.
Jeff Law [Sun, 30 May 1999 00:45:32 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r27244

25 years agodocs, prep
Craig Burley [Sat, 29 May 1999 10:41:23 +0000 (06:41 -0400)]
docs, prep

[[Split portion of a mixed commit.]]

From-SVN: r27238.2

25 years agodocs
Craig Burley [Sat, 29 May 1999 07:59:18 +0000 (03:59 -0400)]
docs

From-SVN: r27237

25 years agodocs
Craig Burley [Sat, 29 May 1999 05:16:59 +0000 (01:16 -0400)]
docs

From-SVN: r27236

25 years agoDaily bump.
Jeff Law [Sat, 29 May 1999 00:45:33 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r27235

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

From-SVN: r27233

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

From-SVN: r27232

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

From-SVN: r27231

25 years agoDatagramSocket.java (laddr): Removed.
Warren Levy [Fri, 28 May 1999 19:29:53 +0000 (19:29 +0000)]
DatagramSocket.java (laddr): Removed.

* 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.

From-SVN: r27230

25 years ago[multiple changes]
Alexandre Petit-Bianco [Fri, 28 May 1999 19:26:08 +0000 (19:26 +0000)]
[multiple changes]

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.

From-SVN: r27229

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

From-SVN: r27223

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

From-SVN: r27222

25 years agoputenv.c: Include ansidecl.h to define `const'.
Kaveh R. Ghazi [Fri, 28 May 1999 07:34:48 +0000 (07:34 +0000)]
putenv.c: Include ansidecl.h to define `const'.

        * putenv.c: Include ansidecl.h to define `const'.
        * setenv.c: Likewise.

From-SVN: r27221

25 years agot-dgux (EXTRA_PARTS): Add crti.o
Eric Raskin [Fri, 28 May 1999 02:54:05 +0000 (02:54 +0000)]
t-dgux (EXTRA_PARTS): Add crti.o

        * i386/t-dgux (EXTRA_PARTS): Add crti.o
        (crti.o): Add build rule and dependencies.

From-SVN: r27218

25 years agosysv4.h (CC1_SPEC): Add support for -profile
Franz Sirl [Fri, 28 May 1999 02:49:16 +0000 (02:49 +0000)]
sysv4.h (CC1_SPEC): Add support for -profile

        * 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

From-SVN: r27217

25 years agodecl.c (add_binding): Don't complain about a redeclaration of a semantically identica...
Mark Mitchell [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...

* decl.c (add_binding): Don't complain about a redeclaration of a
semantically identical typedef in a local scope.

From-SVN: r27213

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

From-SVN: r27212

25 years agodecl.c (complete_array_type): Allocate off same obstack.
Nathan Sidwell [Fri, 28 May 1999 01:56:31 +0000 (01:56 +0000)]
decl.c (complete_array_type): Allocate off same obstack.

* decl.c (complete_array_type): Allocate off same obstack. Fix
DO_DEFAULT comment to match reality.
* friend.c (make_friend_class): Fix diagnostic typo.

From-SVN: r27210

25 years agoDaily bump.
Jeff Law [Fri, 28 May 1999 00:45:03 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r27208

25 years agodecl.c (lookup_namespace_name): Handle getting a TEMPLATE_ID_EXPR.
Mark Mitchell [Fri, 28 May 1999 00:20:07 +0000 (00:20 +0000)]
decl.c (lookup_namespace_name): Handle getting a TEMPLATE_ID_EXPR.

* 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.

From-SVN: r27207

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

From-SVN: r27206

25 years agoi386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for conditional move.
H.J. Lu [Thu, 27 May 1999 12:11:03 +0000 (06:11 -0600)]
i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for conditional move.

@
        * 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.

From-SVN: r27204

25 years agoi386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for conditional move.
H.J. Lu [Thu, 27 May 1999 12:10:59 +0000 (06:10 -0600)]
i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for conditional move.


        * 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.

From-SVN: r27203

25 years agofold-const.c (fold_truthop): Make the field reference unsigned when converting a...
Andreas Schwab [Thu, 27 May 1999 02:33:58 +0000 (20:33 -0600)]
fold-const.c (fold_truthop): Make the field reference unsigned when converting a single bit compare.

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

From-SVN: r27202

25 years agofold-const.c (fold_truthop): Make the field reference unsigned when converting a...
Andreas Schwab [Thu, 27 May 1999 02:33:56 +0000 (20:33 -0600)]
fold-const.c (fold_truthop): Make the field reference unsigned when converting a single bit compare.


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

From-SVN: r27201

25 years agovarasm.c (STRIP_NAME_ENCODING): Remove default definition.
Jeffrey A Law [Thu, 27 May 1999 02:01:30 +0000 (02:01 +0000)]
varasm.c (STRIP_NAME_ENCODING): Remove default definition.

        * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
        * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
        version did.

From-SVN: r27196

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

From-SVN: r27194

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

From-SVN: r27193

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

From-SVN: r27192

25 years agoreload.c (push_reload): Do not call remove_address_replacements when...
Jeff Law [Thu, 27 May 1999 01:19:12 +0000 (19:19 -0600)]
reload.c (push_reload): Do not call remove_address_replacements when...

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

From-SVN: r27191

25 years agoreload.c (push_reload): Do not call remove_address_replacements when...
Jeff Law [Thu, 27 May 1999 01:19:07 +0000 (19:19 -0600)]
reload.c (push_reload): Do not call remove_address_replacements when...


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

From-SVN: r27190

25 years agoDaily bump.
Jeff Law [Thu, 27 May 1999 00:46:03 +0000 (18:46 -0600)]
Daily bump.

From-SVN: r27187

25 years ago[multiple changes]
Warren Levy [Wed, 26 May 1999 17:00:06 +0000 (17:00 +0000)]
[multiple changes]

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.

From-SVN: r27184

25 years agoalpha.h (MASK_FIX, TARGET_FIX): New.
Richard Henderson [Wed, 26 May 1999 16:44:21 +0000 (09:44 -0700)]
alpha.h (MASK_FIX, TARGET_FIX): New.

        * 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.

From-SVN: r27183

25 years agoparse.y (qualify_ambiguous_name): Take into account that a CONVERT_EXPR might specify...
Alexandre Petit-Bianco [Wed, 26 May 1999 15:41:34 +0000 (15:41 +0000)]
parse.y (qualify_ambiguous_name): Take into account that a CONVERT_EXPR might specify a type as a WFL.

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.

From-SVN: r27181

25 years agoupdate derived files
Craig Burley [Wed, 26 May 1999 12:55:46 +0000 (08:55 -0400)]
update derived files

From-SVN: r27178

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

From-SVN: r27176

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

From-SVN: r27174

25 years agoForgot to commit.
Jeff Law [Wed, 26 May 1999 11:35:41 +0000 (05:35 -0600)]
Forgot to commit.

From-SVN: r27172

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

From-SVN: r27170

25 years agofold-const.c (fold): STRIP_NOPS when deciding whether or not something is a candidate...
Mark Mitchell [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...

        * fold-const.c (fold): STRIP_NOPS when deciding whether or not
something is a candidate for optimize_bit_field_compare.

From-SVN: r27169

25 years agogcc.texi (Passes): Document branch-shortening.
Mark Mitchell [Wed, 26 May 1999 09:38:33 +0000 (09:38 +0000)]
gcc.texi (Passes): Document branch-shortening.

* gcc.texi (Passes): Document branch-shortening.
* invoke.texi (Debugging Options): Document the fact that `-dp'
outputs length information for instructions.

From-SVN: r27167

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

From-SVN: r27166

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

From-SVN: r27165

25 years agoMakefile.in (CFILES): Add putenv.c and setenv.c.
Jeff Law [Wed, 26 May 1999 03:13:18 +0000 (21:13 -0600)]
Makefile.in (CFILES): Add putenv.c and setenv.c.

        * 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.

[[Split portion of a mixed commit.]]

From-SVN: r27162.2

25 years agogetcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space using malloc.
Melissa O'Neill [Wed, 26 May 1999 03:04:27 +0000 (21:04 -0600)]
getcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space using malloc.

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

From-SVN: r27161

25 years agogetcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space using malloc.
Melissa O'Neill [Wed, 26 May 1999 03:04:25 +0000 (21:04 -0600)]
getcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space using malloc.


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

From-SVN: r27160

25 years agoarm.h (NEED_PLT_GOT): Fix mistake in last change.
Philip Blundell [Wed, 26 May 1999 01:29:10 +0000 (01:29 +0000)]
arm.h (NEED_PLT_GOT): Fix mistake in last change.


        * 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.

From-SVN: r27156

25 years agoDaily bump.
Jeff Law [Wed, 26 May 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r27153

25 years agoRevert accidental checkin.
Jeff Law [Tue, 25 May 1999 23:18:19 +0000 (17:18 -0600)]
Revert accidental checkin.

From-SVN: r27152

25 years agooutput.h (STRIP_NAME_ENCODING): Provide default definition.
Jeffrey A Law [Tue, 25 May 1999 21:32:01 +0000 (21:32 +0000)]
output.h (STRIP_NAME_ENCODING): Provide default definition.

        * output.h (STRIP_NAME_ENCODING): Provide default definition.
        * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.

From-SVN: r27151

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

From-SVN: r27149

25 years ago[multiple changes]
Alexandre Petit-Bianco [Tue, 25 May 1999 16:36:07 +0000 (16:36 +0000)]
[multiple changes]

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.

From-SVN: r27147

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

From-SVN: r27145

25 years agoclass.c (finish_vtbls): Copy BINFO_VIRTUALs before using it to intialize a vtable.
Mark Mitchell [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.

* 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.

From-SVN: r27144

25 years agoFix dumb mistakes.
Jeff Law [Tue, 25 May 1999 13:53:30 +0000 (07:53 -0600)]
Fix dumb mistakes.

From-SVN: r27143

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

From-SVN: r27142

25 years agoflow.c (mark_set_1): Do not record BLKmode stores as dead store elimination candidates.
Jeffrey A 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.


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

From-SVN: r27140

25 years agoconfig.guess (dummy): Changed to $dummy.
H.J. Lu [Tue, 25 May 1999 13:06:22 +0000 (13:06 +0000)]
config.guess (dummy): Changed to $dummy.

Tue May 25 11:20:46 1999  H.J. Lu  (hjl@gnu.org)
* config.guess (dummy): Changed to $dummy.

From-SVN: r27139

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

* typeck.c (casts_away_constness, casts_away_constness_r): Strip both
parts of pointer to data member types.

From-SVN: r27138

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

From-SVN: r27137

25 years agomips.h (ASM_OUTPUT_DOUBLE_INT): Use 'dword' if TARGET_GAS.
Gavin Romig-Koch [Tue, 25 May 1999 05:57:50 +0000 (05:57 +0000)]
mips.h (ASM_OUTPUT_DOUBLE_INT): Use 'dword' if TARGET_GAS.

* config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
TARGET_GAS.

From-SVN: r27136

25 years agoDaily bump.
Jeff Law [Tue, 25 May 1999 00:45:34 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r27134

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

From-SVN: r27132

25 years agodecl2.c (mark_vtable_entries): Don't make a copy of a function, and then make it...
Mark Mitchell [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'.

* decl2.c (mark_vtable_entries): Don't make a copy of a function,
and then make it look like `abort'.  Just use `abort' instead.

From-SVN: r27131

25 years agoFix aix --with-gnu-ld configuration bug.
Jim 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.

From-SVN: r27130

25 years agolinux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
Jakub Jelinek [Mon, 24 May 1999 16:45:19 +0000 (18:45 +0200)]
linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.

        * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
        (ASM_OUTPUT_DESTRUCTOR): Define.

From-SVN: r27129

25 years agotypeck.c (build_static_cast): Don't allow static_casts that cast away constness.
Mark Mitchell [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.

* typeck.c (build_static_cast): Don't allow static_casts that cast
away constness.
(casts_away_constness_r): New function.
(casts_away_constness): Likewise.

From-SVN: r27128

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

From-SVN: r27127

25 years agoResourceBundle.java (getBundle): Throw NullPointerException if baseName is null.
Tom Tromey [Mon, 24 May 1999 15:00:02 +0000 (15:00 +0000)]
ResourceBundle.java (getBundle): Throw NullPointerException if baseName is null.

* java/util/ResourceBundle.java (getBundle): Throw
NullPointerException if baseName is null.

From-SVN: r27126

25 years agoloop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the last CODE_LABEL...
Jeffrey A 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...

* 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.

From-SVN: r27125

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

From-SVN: r27122

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

From-SVN: r27121

25 years agoanon3.C: New test.
Nathan Sidwell [Mon, 24 May 1999 04:24:30 +0000 (04:24 +0000)]
anon3.C: New test.

* 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).

From-SVN: r27120

25 years agostmt.c (expand_end_bindings): Ignore any elements of VARS that are not VAR_DECLs.
Mark Mitchell [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.

* stmt.c (expand_end_bindings): Ignore any elements of VARS that
are not VAR_DECLs.

From-SVN: r27118

25 years agodecl.c (lookup_tag): Remove code no longer needed after name-lookup improvements.
Mark Mitchell [Mon, 24 May 1999 00:47:01 +0000 (00:47 +0000)]
decl.c (lookup_tag): Remove code no longer needed after name-lookup improvements.

* 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.

From-SVN: r27117

25 years agoDaily bump.
Jeff Law [Mon, 24 May 1999 00:45:33 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r27116

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

From-SVN: r27114

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

From-SVN: r27113

25 years ago[multiple changes]
Jeff Law [Sun, 23 May 1999 19:37:42 +0000 (13:37 -0600)]
[multiple changes]

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.

From-SVN: r27111

25 years agoDaily bump.
Jeff Law [Sun, 23 May 1999 00:45:05 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r27109

25 years agopt.c (for_each_template_parm): Walk into TYPENAME_TYPEs, INDIRECT_REFs, and COMPONENT...
Mark Mitchell [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.

* pt.c (for_each_template_parm): Walk into TYPENAME_TYPEs,
INDIRECT_REFs, and COMPONENT_REFs.  Handle FIELD_DECLs.

From-SVN: r27108

25 years agoexpected
Jason Merrill [Sat, 22 May 1999 18:44:19 +0000 (14:44 -0400)]
expected

From-SVN: r27107

25 years agocollect2.c (main): Only generate import or export file and add to link arguments...
David Edelsohn [Sat, 22 May 1999 18:14:31 +0000 (14:14 -0400)]
collect2.c (main): Only generate import or export file and add to link arguments if non-empty.

        * 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.

From-SVN: r27106

25 years agoZipInputStream.java (fill): New method.
Tom Tromey [Sat, 22 May 1999 18:08:46 +0000 (18:08 +0000)]
ZipInputStream.java (fill): New method.

* 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.

From-SVN: r27105

25 years ago[multiple changes]
Alexandre Petit-Bianco [Sat, 22 May 1999 14:38:13 +0000 (14:38 +0000)]
[multiple changes]

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.

From-SVN: r27104

25 years agocp-tree.h (push_nested_namespace): Declare.
Mark Mitchell [Sat, 22 May 1999 14:26:55 +0000 (14:26 +0000)]
cp-tree.h (push_nested_namespace): Declare.

* 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.

From-SVN: r27103

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

From-SVN: r27101

25 years agoApply patch from Philip Blundell <pb@nexus.co.uk> to fix PIC support for
Philip Blundell [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.

From-SVN: r27100

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

From-SVN: r27099

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

From-SVN: r27098

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

From-SVN: r27097

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

From-SVN: r27096

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

From-SVN: r27095

25 years agoconfig.guess: Handle NEC UX/4800.
Ben Elliston [Sat, 22 May 1999 05:41:47 +0000 (05:41 +0000)]
config.guess: Handle NEC UX/4800.

1999-05-22  Ben Elliston  <bje@cygnus.com>
* config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake
<jiro@din.or.jp>.

From-SVN: r27094

25 years agoconfig.guess: Merge with FSF version.
Ben Elliston [Sat, 22 May 1999 05:17:55 +0000 (05:17 +0000)]
config.guess: Merge with FSF version.

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.

From-SVN: r27093

25 years agocp-tree.h (cplus_expand_constant): Declare.
Mark Mitchell [Sat, 22 May 1999 01:30:11 +0000 (01:30 +0000)]
cp-tree.h (cplus_expand_constant): Declare.

* 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.

From-SVN: r27092

25 years ago* expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
Mark Mitchell [Sat, 22 May 1999 01:24:58 +0000 (01:24 +0000)]
* expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.

From-SVN: r27090

25 years agoDaily bump.
Jeff Law [Sat, 22 May 1999 00:45:33 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r27089

25 years agors6000.c (output_mi_thunk): Enable full support again.
Franz Sirl [Fri, 21 May 1999 18:23:29 +0000 (18:23 +0000)]
rs6000.c (output_mi_thunk): Enable full support again.

Fri May 21 21:19:02 1999  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
        * rs6000.c (output_mi_thunk): Enable full support again.

From-SVN: r27087