Commit Graph

22419 Commits

Author SHA1 Message Date
John Wehle
e4b8a413b1 flow.c (mark_regs_live_at_end, [...]): Only give FRAME_POINTER_REGNUM and HARD_FRAME_POINTER_REGNUM special treatment...
* flow.c (mark_regs_live_at_end, insn_dead_p,
	mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
	and HARD_FRAME_POINTER_REGNUM special treatment if reload
	hasn't run or the frame pointer is needed.
	* haifa-sched.c (attach_deaths): Likewise.
	* sched.c (attach_deaths): Likewise.

From-SVN: r27276
1999-05-31 08:43:04 +00:00
Kaveh R. Ghazi
b2d352ba5a * Makefile.in (ALL_CFLAGS): Add '-W -Wall'.
From-SVN: r27274
1999-05-31 06:39:48 +00:00
Jeffrey A Law
5505263f7f tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
* tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
Forgot to commit.

From-SVN: r27273
1999-05-30 20:56:40 -06:00
Jeffrey A Law
779243f720 configure.in (native gas tests): Search for an assembler in the same manner that the installed compiler will.
* configure.in (native gas tests): Search for an assembler in the
        same manner that the installed compiler will.
        * configure: Rebuilt.

From-SVN: r27269
1999-05-30 20:22:12 -06:00
Jeff Law
f4d9222d03 Daily bump.
From-SVN: r27267
1999-05-30 18:45:32 -06:00
Mark Mitchell
e73acc3110 tree.c (build_cplus_array_type_1): Use push_obstacks_nochange and friends rather than messing with current_obstack...
* tree.c (build_cplus_array_type_1): Use push_obstacks_nochange
	and friends rather than messing with current_obstack directly.
	(cp_build_qualified_type_real): Rework ARRAY_TYPE
	allocation to match practice throughout the rest of the
	compiler.

From-SVN: r27265
1999-05-31 00:27:55 +00:00
Mark Mitchell
db3626d11f tree.c (cp_build_qualified_type_real): Rework ARRAY_TYPE allocation to match practice throughout the rest of the compiler.
* tree.c (cp_build_qualified_type_real): Rework ARRAY_TYPE
	allocation to match practice throughout the rest of the
	compiler.

From-SVN: r27264
1999-05-31 00:25:56 +00:00
Jeffrey A Law
3c567fae5d alias.c (find_base_term): Improve handling of addresses constructed from binary operations.
* alias.c (find_base_term): Improve handling of addresses
        constructed from binary operations.

From-SVN: r27263
1999-05-30 17:51:39 -06:00
Jeffrey A Law
71fb005652 * gcc.c-torture/execute/990531-1.c: New test.
From-SVN: r27261
1999-05-30 17:40:07 -06:00
Mark Mitchell
6f0ef2f4db Fix test; original version was not the intended one.
From-SVN: r27260
1999-05-30 21:55:38 +00:00
Mark Mitchell
f6a7cfd28d lex.c (make_lang_type): Create TYPE_BINFO for TEMPLATE_TYPE_PARMs just like for non-template types.
* lex.c (make_lang_type): Create TYPE_BINFO for
	TEMPLATE_TYPE_PARMs just like for non-template types.

From-SVN: r27259
1999-05-30 21:50:51 +00:00
Mark Mitchell
fcd3f0bc88 lex.c (make_lang_type): Create TYPE_BINFO for TEMPLATE_TYPE_PARMs just like for non-template types.
* lex.c (make_lang_type): Create TYPE_BINFO for
	TEMPLATE_TYPE_PARMs just like for non-template types.

[[Split portion of a mixed commit.]]

From-SVN: r27258.2
1999-05-30 21:50:49 +00:00
Craig Burley
5d5139f54a code, docs
[[Split portion of a mixed commit.]]

From-SVN: r27257.2
1999-05-30 14:09:07 -04:00
Richard Henderson
515cdc66c0 * config.guess, config.sub: Use toplevel file.
From-SVN: r27256
1999-05-30 09:14:07 -07:00
Cort Dougan
26d088fa91 Cort Dougan <cort@cs.nmt.edu>
Cort Dougan  <cort@cs.nmt.edu>
        * config.guess (ppc-*-linux-gnu): Also use ld emul elf32ppclinux.

From-SVN: r27254
1999-05-30 09:05:07 -07:00
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