Commit Graph

22583 Commits

Author SHA1 Message Date
Nathan Sidwell
6ab5c7408e 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
1999-05-28 01:56:31 +00:00
Jeff Law
9cb15ab62f Daily bump.
From-SVN: r27208
1999-05-27 18:45:03 -06:00
Mark Mitchell
f30c84c966 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
1999-05-28 00:20:07 +00:00
Jeff Law
6f82ce7097 Trivial change to test new features in the script to update the online docs.
From-SVN: r27206
1999-05-27 17:44:43 -06:00
H.J. Lu
870a0c2c34 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
1999-05-27 06:11:03 -06:00
H.J. Lu
aa2c277143 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
1999-05-27 06:10:59 -06:00
Andreas Schwab
2bd21a021e 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
1999-05-26 20:33:58 -06:00
Andreas Schwab
8eba681fa5 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
1999-05-26 20:33:56 -06:00
Jeffrey A Law
dd559f4efe 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
1999-05-26 20:01:30 -06:00
J"orn Rennecke
2485126f2d * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
From-SVN: r27194
1999-05-26 19:46:21 -06:00
Franz Sirl
b040e3a22c * gcc.c-torture/compile/990527-1.c: New test.
From-SVN: r27193
1999-05-26 19:44:02 -06:00
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