Commit Graph

22404 Commits

Author SHA1 Message Date
Mark Mitchell
3e41d13b03 decl.c (start_decl): Move checks on initialization to ...
* decl.c (start_decl): Move checks on initialization to ...
	(cp_finish_decl): Here.  Tidy formatting slightly.

From-SVN: r27252
1999-05-30 14:41:33 +00:00
Jeff Law
79f565f6bd [multiple changes]
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.

From-SVN: r27249
1999-05-30 07:33:11 -06:00
Eric Raskin
95e888e677 * libio/dgux.mt: New file for DG/UX configuration of libio
From-SVN: r27248
1999-05-30 07:25:28 -06:00
Philip Blundell
00275db1e7 aout.h (ASM_OUTPUT_ALIGN): Only define if not already defined.
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.

From-SVN: r27246
1999-05-30 12:04:01 +00:00
Jeff Law
443a88ba29 Daily bump.
From-SVN: r27244
1999-05-29 18:45:32 -06:00
Craig Burley
6acf7d4b45 docs, prep
[[Split portion of a mixed commit.]]

From-SVN: r27238.2
1999-05-29 06:41:23 -04:00
Craig Burley
266fa0f63c docs
From-SVN: r27237
1999-05-29 03:59:18 -04:00
Craig Burley
04727f7a92 docs
From-SVN: r27236
1999-05-29 01:16:59 -04:00
Jeff Law
564579a33d Daily bump.
From-SVN: r27235
1999-05-28 18:45:33 -06:00
Craig Burley
22a66d93d3 put development docs on mainline for now
From-SVN: r27233
1999-05-28 19:17:04 -04:00
Robert Lipe
2583397b5a Replace local include scheme with #include of system.h
From-SVN: r27232
1999-05-28 21:43:32 +00:00
Eric Raskin
1392020eb0 fixinc.dgux: Use modified _int_varargs.h
From-SVN: r27231
1999-05-28 21:33:05 +00:00
Warren Levy
07515641a5 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
1999-05-28 19:29:53 +00:00
Alexandre Petit-Bianco
930248932e [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
1999-05-28 12:26:08 -07:00
Craig Burley
04b1e34d64 fix thinko
From-SVN: r27223
1999-05-28 10:52:41 -04:00
Robert Lipe
d664559da2 "New" testsuite entries approved by Jeff on 5/23.
From-SVN: r27222
1999-05-28 13:26:49 +00:00
Kaveh R. Ghazi
fee9125c10 putenv.c: Include ansidecl.h to define `const'.
* putenv.c: Include ansidecl.h to define `const'.
        * setenv.c: Likewise.

From-SVN: r27221
1999-05-28 07:34:48 +00:00
Eric Raskin
77b7d85187 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
1999-05-27 20:54:05 -06:00
Franz Sirl
d540a32c56 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
1999-05-27 20:49:16 -06:00
Mark Mitchell
263505afaf 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
1999-05-28 02:37:13 +00:00
Mark Klein
6c123729de * makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.
From-SVN: r27212
1999-05-27 20:10:39 -06:00
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