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
Jeff Law [Fri, 28 May 1999 00:45:03 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27208
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
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
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
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
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
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
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
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
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
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
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
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
Jeff Law [Thu, 27 May 1999 00:46:03 +0000 (18:46 -0600)]
Daily bump.
From-SVN: r27187
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
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
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
Craig Burley [Wed, 26 May 1999 12:55:46 +0000 (08:55 -0400)]
update derived files
From-SVN: r27178
Craig Burley [Wed, 26 May 1999 12:52:30 +0000 (12:52 +0000)]
document Toon's patch, fix grammo
From-SVN: r27176
Craig Burley [Wed, 26 May 1999 12:48:41 +0000 (12:48 +0000)]
rename version numbers, etc
From-SVN: r27174
Jeff Law [Wed, 26 May 1999 11:35:41 +0000 (05:35 -0600)]
Forgot to commit.
From-SVN: r27172
Craig Burley [Wed, 26 May 1999 09:52:31 +0000 (09:52 +0000)]
rename -fsubscript-check to -fbounds-check
From-SVN: r27170
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
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
Nick Clifton [Wed, 26 May 1999 08:50:01 +0000 (08:50 +0000)]
Revert previous delta
From-SVN: r27166
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
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
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
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
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
Jeff Law [Wed, 26 May 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27153
Jeff Law [Tue, 25 May 1999 23:18:19 +0000 (17:18 -0600)]
Revert accidental checkin.
From-SVN: r27152
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
Craig Burley [Tue, 25 May 1999 21:04:32 +0000 (21:04 +0000)]
Delete vestigial FFECOM_FASTER_ARRAY_REFS
From-SVN: r27149
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
Craig Burley [Tue, 25 May 1999 16:25:57 +0000 (16:25 +0000)]
Fix
19990525-0.f
From-SVN: r27145
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
Jeff Law [Tue, 25 May 1999 13:53:30 +0000 (07:53 -0600)]
Fix dumb mistakes.
From-SVN: r27143
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
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
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
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
Nick Clifton [Tue, 25 May 1999 07:16:43 +0000 (07:16 +0000)]
Explicitly declare signed bitfields as signed.
From-SVN: r27137
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
Jeff Law [Tue, 25 May 1999 00:45:34 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27134
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
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
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
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
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
Nick Clifton [Mon, 24 May 1999 15:24:52 +0000 (15:24 +0000)]
Tidied up case statements
From-SVN: r27127
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
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
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
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
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
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
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
Jeff Law [Mon, 24 May 1999 00:45:33 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27116
Jeffrey A Law [Sun, 23 May 1999 23:12:23 +0000 (23:12 +0000)]
* gcc.dg/990524-1.c: New test.
From-SVN: r27114
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
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
Jeff Law [Sun, 23 May 1999 00:45:05 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27109
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
Jason Merrill [Sat, 22 May 1999 18:44:19 +0000 (14:44 -0400)]
expected
From-SVN: r27107
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
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
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
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
Mark Mitchell [Sat, 22 May 1999 11:24:43 +0000 (11:24 +0000)]
* tree.c (mapcar): Handle LVALUE_EXPR.
From-SVN: r27101
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
Philip Blundell [Sat, 22 May 1999 09:11:10 +0000 (09:11 +0000)]
Fix erroneous warning message
From-SVN: r27099
Nick Clifton [Sat, 22 May 1999 09:07:56 +0000 (09:07 +0000)]
oops - omitted from previous delta
From-SVN: r27098
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
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
Jeff Law [Sat, 22 May 1999 05:54:15 +0000 (23:54 -0600)]
Fix comment (insns -> bytes).
From-SVN: r27095
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
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
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
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
Jeff Law [Sat, 22 May 1999 00:45:33 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27089
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
Mark Mitchell [Fri, 21 May 1999 15:55:56 +0000 (15:55 +0000)]
Make-lang.in (cc1plus): Make it depend on gxx.gperf.
* Make-lang.in (cc1plus): Make it depend on gxx.gperf.
* cp-tree.h: Fix typo in documentation on pointers-to-members.
(cp_build_qualified_type): Make it a macro.
(cp_build_qualified_type_real): Declare.
* decl.c (grokdeclarator): Remove misleading comment. Avoid
problem with template parameters and restrict-qualification.
* gxx.gperf: Replace NORID with RID_UNUSED throughout.
* hash.h: Regenerated.
* lex.h (rid): Move RID_FIRST_MODIFIER and RID_LAST_MODIFIER into
the enumeration.
(NORID): Remove definition.
* pt.c (tsubst_aggr_type): Use cp_build_qualified_type_real.
(tsubst): Likewise. Remove special handling for FUNCTION_TYPEs.
(fn_type_unification): Check that the function type resulting from
the deduction is legal.
(check_cv_quals_for_unify): Don't handle FUNCTION_TYPEs specially.
(unify): Use cp_build_qualified_type_real.
* tree.c (build_cplus_array_type_1): Handle error_marks as inputs.
(cp_build_qualified_type): Rename to ...
(cp_build_qualified_type_real): Add additional COMPLAIN parameter
and modify appropriately.
Co-Authored-By: Nathan Sidwell <nathan@acm.org>
From-SVN: r27086
Mark Mitchell [Fri, 21 May 1999 15:42:55 +0000 (15:42 +0000)]
typeck.c (build_ptrmemfunc): Handle PTRMEM_CSTs carefully to reveal optimization opportunities.
* typeck.c (build_ptrmemfunc): Handle PTRMEM_CSTs carefully to
reveal optimization opportunities.
From-SVN: r27084
Tom Tromey [Fri, 21 May 1999 13:09:54 +0000 (13:09 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (INCLUDES): Added $(ZINCS).
* configure: Rebuilt.
* configure.in (ZINCS): New subst.
From-SVN: r27083
Joern Rennecke [Fri, 21 May 1999 12:23:23 +0000 (13:23 +0100)]
Typo fix in last patch.
From-SVN: r27082
J"orn Rennecke [Fri, 21 May 1999 12:14:10 +0000 (12:14 +0000)]
* sh.h (BRANCH_COST): Define.
From-SVN: r27081
Mark Mitchell [Fri, 21 May 1999 09:55:50 +0000 (09:55 +0000)]
pt.c (tsubst): Don't issue error messages when we're not complaining...
* pt.c (tsubst): Don't issue error messages when we're not
complaining, even if we see a qualified function type.
(check_cv_quals_for_unify): Don't allow a qualified function
type.
From-SVN: r27080
Andrew Haley [Fri, 21 May 1999 06:03:30 +0000 (06:03 +0000)]
sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added to signal options to allow the same exceptions to be rethrown...
1999-05-21 Andrew Haley <aph@cygnus.com>
* include/sparc-signal.h (INIT_FPE, INIT_SEGV): SA_NODEFER added
to signal options to allow the same exceptions to be rethrown
later.
From-SVN: r27079
Jeff Law [Fri, 21 May 1999 00:45:03 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27077
Stephen L Moshier [Thu, 20 May 1999 22:24:35 +0000 (22:24 +0000)]
Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
* Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
From-SVN: r27074
Jeff Law [Thu, 20 May 1999 22:22:34 +0000 (16:22 -0600)]
[multiple changes]
Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
* Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
* function.c (assign_stack_local): Align stack slot propertly.
(assign_outer_stack_local): Likewise.
From-SVN: r27073
Jason Merrill [Thu, 20 May 1999 20:19:42 +0000 (20:19 +0000)]
class.c (instantiate_type): Downgrade errors for object-dependent memfn refs to pedwarn.
* class.c (instantiate_type): Downgrade errors for object-dependent
memfn refs to pedwarn.
From-SVN: r27072
Mark Mitchell [Thu, 20 May 1999 18:10:28 +0000 (18:10 +0000)]
decl.c (grokdeclarator): Don't treat [] as indicating a zero-sized array in a typedef.
* decl.c (grokdeclarator): Don't treat [] as indicating a
zero-sized array in a typedef.
From-SVN: r27070
Mark Mitchell [Thu, 20 May 1999 17:19:29 +0000 (17:19 +0000)]
call.c (build_object_call): Don't look at DECL_NAME for a type.
* call.c (build_object_call): Don't look at DECL_NAME for a type.
(pt.c): Or CP_TYPE_QUALS for an ERROR_MARK.
(typeck.c): Or TYPE_MAIN_VARIANT for a type.
From-SVN: r27068
Mark Mitchell [Thu, 20 May 1999 17:07:28 +0000 (17:07 +0000)]
Remove duplicate parameter name
From-SVN: r27067
Mark Mitchell [Thu, 20 May 1999 14:58:40 +0000 (14:58 +0000)]
pt.c (for_each_template_parm): Rework to match documentation.
* pt.c (for_each_template_parm): Rework to match documentation.
Don't be fooled by a COMPONENT_REF with no TREE_TYPE.
From-SVN: r27066
Jason Merrill [Thu, 20 May 1999 12:21:53 +0000 (12:21 +0000)]
class.c (finish_struct_1): Still check for ANON_AGGR_TYPE_P.
* class.c (finish_struct_1): Still check for ANON_AGGR_TYPE_P.
* class.c (finish_base_struct): Allow non-COM bases for COM classes
except at the leftmost position.
(modify_one_vtable, fixup_vtable_deltas1, override_one_vtable):
Pass the binfo's class, not the most derived, to skip_rtti_stuff.
* search.c (get_abstract_virtuals, expand_upcast_fixups): Likewise.
From-SVN: r27065
Jason Merrill [Thu, 20 May 1999 12:21:15 +0000 (08:21 -0400)]
new
From-SVN: r27064