Commit Graph

22372 Commits

Author SHA1 Message Date
Joern Rennecke
49447b3665 * gcc.c-torture/execute/990527-1.c: New test.
From-SVN: r27192
1999-05-26 19:24:14 -06:00
Jeff Law
b838974e2b 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
1999-05-26 19:19:12 -06:00
Jeff Law
b5c15deb09 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
1999-05-26 19:19:07 -06:00
Jeff Law
27e2b78353 Daily bump.
From-SVN: r27187
1999-05-26 18:46:03 -06:00
Warren Levy
f2ed9e9656 [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
1999-05-26 17:00:06 +00:00
Richard Henderson
de4abb91d1 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
1999-05-26 09:44:21 -07:00
Alexandre Petit-Bianco
2ba1f15fb9 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
1999-05-26 08:41:34 -07:00
Craig Burley
5685ba9013 update derived files
From-SVN: r27178
1999-05-26 08:55:46 -04:00
Craig Burley
677c2af0df document Toon's patch, fix grammo
From-SVN: r27176
1999-05-26 08:52:30 -04:00
Craig Burley
794228803c rename version numbers, etc
From-SVN: r27174
1999-05-26 08:48:41 -04:00
Jeff Law
a7c9637fbf Forgot to commit.
From-SVN: r27172
1999-05-26 05:35:41 -06:00
Craig Burley
bac23dd63d rename -fsubscript-check to -fbounds-check
From-SVN: r27170
1999-05-26 05:52:31 -04:00
Mark Mitchell
b7f2c1fc1b 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
1999-05-26 09:50:08 +00:00
Mark Mitchell
f20b5577f8 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
1999-05-26 09:38:33 +00:00
Nick Clifton
bda435bec7 Revert previous delta
From-SVN: r27166
1999-05-26 08:50:01 +00:00
Nick Clifton
293ecd7d19 Check against frame_pointer_rtx not FRAME_POINTER_REGNUM
From-SVN: r27165
1999-05-26 06:05:46 +00:00
Jeff Law
9eb4080f6f 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
1999-05-25 21:13:18 -06:00
Melissa O'Neill
d05ba2205f 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
1999-05-25 21:04:27 -06:00
Melissa O'Neill
71cce721af 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
1999-05-25 21:04:25 -06:00
Philip Blundell
8430617602 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
1999-05-25 19:29:10 -06:00
Jeff Law
d238a2376d Daily bump.
From-SVN: r27153
1999-05-25 18:45:02 -06:00
Jeff Law
212cf333fb Revert accidental checkin.
From-SVN: r27152
1999-05-25 17:18:19 -06:00
Jeffrey A Law
98577d038c 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
1999-05-25 15:32:01 -06:00
Craig Burley
b962215a47 Delete vestigial FFECOM_FASTER_ARRAY_REFS
From-SVN: r27149
1999-05-25 17:04:32 -04:00
Alexandre Petit-Bianco
dc4e6ccfe5 [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
1999-05-25 09:36:07 -07:00
Craig Burley
47d98fa268 Fix 19990525-0.f
From-SVN: r27145
1999-05-25 12:25:57 -04:00
Mark Mitchell
3ebc5c52e8 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
1999-05-25 15:31:38 +00:00
Jeff Law
c9b2595a77 Fix dumb mistakes.
From-SVN: r27143
1999-05-25 07:53:30 -06:00
Jeffrey A Law
73951da827 * gcc.c-torture/execute/990525-2.c: New test.
From-SVN: r27142
1999-05-25 07:31:37 -06:00
Jeffrey A Law
3ce7c5a21d 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
1999-05-25 07:14:40 -06:00
H.J. Lu
c2c08b29b9 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
1999-05-25 23:06:22 +10:00
Jason Merrill
3e0b47108c 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
1999-05-25 07:55:58 -04:00
Nick Clifton
b7e48b2d29 Explicitly declare signed bitfields as signed.
From-SVN: r27137
1999-05-25 07:16:43 +00:00
Gavin Romig-Koch
d89ccde6a8 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
1999-05-25 05:57:50 +00:00
Jeff Law
e83e9d6a0e Daily bump.
From-SVN: r27134
1999-05-24 18:45:34 -06:00
Jeffrey A Law
d3e82013f9 * gcc.c-torture/execute/990525-1.c: New test.
From-SVN: r27132
1999-05-24 18:26:35 -06:00
Mark Mitchell
5e65d3ee9a 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
1999-05-24 23:38:55 +00:00
Jim Wilson
590e30e761 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
1999-05-24 13:32:23 -07:00
Jakub Jelinek
9fc0706f3e linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
* sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
        (ASM_OUTPUT_DESTRUCTOR): Define.

From-SVN: r27129
1999-05-24 09:45:19 -07:00
Mark Mitchell
af7b990290 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
1999-05-24 15:26:25 +00:00
Nick Clifton
671d0648e0 Tidied up case statements
From-SVN: r27127
1999-05-24 15:24:52 +00:00
Tom Tromey
a81eb01077 ResourceBundle.java (getBundle): Throw NullPointerException if baseName is null.
* java/util/ResourceBundle.java (getBundle): Throw
	NullPointerException if baseName is null.

From-SVN: r27126
1999-05-24 15:00:02 +00:00
Jeffrey A Law
ae188a870e 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
1999-05-24 07:43:22 -06:00
Jeffrey A Law
79d6c91640 * gcc.c-torture/execute/990524-1.c: New test.
From-SVN: r27122
1999-05-24 07:27:14 -06:00
Nick Clifton
687f77a15c Fix blunder made when applying patch to arm.h
From-SVN: r27121
1999-05-24 07:58:01 +00:00
Nathan Sidwell
569c1d8ba0 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
1999-05-24 04:24:30 +00:00
Mark Mitchell
e97b5c125c 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
1999-05-24 00:58:56 +00:00
Mark Mitchell
8bcc97de27 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
1999-05-24 00:47:01 +00:00
Jeff Law
480e228634 Daily bump.
From-SVN: r27116
1999-05-23 18:45:33 -06:00
Jeffrey A Law
35676551af * gcc.dg/990524-1.c: New test.
From-SVN: r27114
1999-05-23 17:12:23 -06:00