Commit Graph

16172 Commits

Author SHA1 Message Date
Mark Mitchell
a62e870c5b c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get the length of an array, not TREE_TYPE.
1998-04-15  Mark Mitchell  <mmitchell@usa.net>
	* c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
	the length of an array, not TREE_TYPE.

From-SVN: r19233
1998-04-16 00:12:43 +00:00
Jeffrey A Law
5e89e58b55 flow.c (sbitmap_union_of_successors): New function.
* flow.c (sbitmap_union_of_successors):  New function.
        * basic-block.h (sbitmap_union_of_successors): Declare it.
For completeness, we already had the other 3 variants.  This one
is useful for backwards lazy code motion.

From-SVN: r19232
1998-04-15 08:33:54 -06:00
Jeff Law
2414de7158 Forgot to commit.
From-SVN: r19231
1998-04-15 08:12:03 -06:00
Jim Wilson
df6faf7954 Fix host/build confusion with gas and gnu_ld flags.
* configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
	Set gnu_ld to gnu_ld_flag inside main loop.
	(gas): Likewise.

From-SVN: r19230
1998-04-15 05:41:32 -07:00
Dave Brolley
71b5e53265 com.c (init_parse): Now returns char* containing filename;
Tue Apr 14 15:51:37 1998  Dave Brolley  <brolley@cygnus.com>
	* com.c (init_parse): Now returns char* containing filename;

From-SVN: r19229
1998-04-15 08:36:14 -04:00
Dave Brolley
a755ad1c04 lex.c (init_parse): Now returns char* containing the filename.
Wed Apr 15 15:34:44 1998  Dave Brolley  <brolley@cygnus.com>
	* lex.c (init_parse): Now returns char* containing the filename.

From-SVN: r19228
1998-04-15 08:35:16 -04:00
Dave Brolley
5c60e5c007 toplev.c (compile_file): Call init_parse using new interface.
Wed Apr 15 14:50:05 1998  Dave Brolley  <brolley@cygnus.com>
	* toplev.c (compile_file): Call init_parse using new interface.
	(init_lex): Remove declaration.
	* c-lex.c (init_parse): Now returns char* containing filename.

From-SVN: r19227
1998-04-15 08:31:38 -04:00
John Carr
9932d281eb errfn.c: Rework to avoid problems when HOST_WIDE_INT is longer than a pointer.
* errfn.c: Rework to avoid problems when HOST_WIDE_INT is longer
        than a pointer.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r19226
1998-04-15 06:22:03 -06:00
Jeffrey A Law
2872409d73 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
From-SVN: r19225
1998-04-15 05:37:21 -06:00
Jeff Law
3a35dcc477 configure: Define DEFAULT_M4 by searching PATH.
* configure: Define DEFAULT_M4 by searching PATH.
        * Makefile.in: Use DEFAULT_M4.
Forgot to commit Makefile.in for this change.

From-SVN: r19223
1998-04-15 04:19:22 -06:00
Michael Meissner
4db83042b6 Link in print-rtl.o to all gen* programs except gengenrtl
From-SVN: r19222
1998-04-15 09:23:14 +00:00
K. Richard Pixley
9aeba741d9 fixincludes: discard empty C++ comments, as found in sys/time.h on hpux-11.0.
* fixincludes: discard empty C++ comments, as found in sys/time.h
        on hpux-11.0.

From-SVN: r19221
1998-04-15 03:17:24 -06:00
Andreas Schwab
7878eae799 m68k.md (adddi3, subdi3): Optimize for constant operand.
* config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
	operand.

From-SVN: r19220
1998-04-15 01:49:23 +00:00
Jeff Law
b15fd0927e emit-rtl.c (operand_subword): Rework slightly to avoid bogus warning from previous change.
8
        * emit-rtl.c (operand_subword): Rework slightly to avoid
        bogus warning from previous change.

From-SVN: r19219
1998-04-14 18:26:35 -06:00
Jeff Law
fcb7cb6c0f emit-rtl.c (operand_subword): Rework slightly to avoid bogus warning from previous change.
�
        * emit-rtl.c (operand_subword): Rework slightly to avoid
        bogus warning from previous change.

From-SVN: r19218
1998-04-14 18:26:34 -06:00
Craig Burley
3cf0cea4f9 Changes from Craig. See ChangeLog for details.
From-SVN: r19217
1998-04-14 18:19:01 -06:00
Richard Henderson
47747e5377 alpha.md: Revert Oct 27 change...
* alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
Nov 8 find_replacement change.  Move decls of get_unaligned_address
* alpha.h: ... here.

From-SVN: r19216
1998-04-14 16:50:17 -07:00
John Carr
7940255dd6 function.c (assign_parms): Initialize unsignedp before passing its pointer to promote_mode.
* function.c (assign_parms): Initialize unsignedp before passing
        its pointer to promote_mode.

From-SVN: r19215
1998-04-14 17:10:49 -06:00
Jeff Law
6703abc459 Resync date for the benefit of the snapshot script.
From-SVN: r19214
1998-04-14 16:55:24 -06:00
John Carr
8450a6949d genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
* genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
        (write_test_expr): Allow MATCH_INSN.

From-SVN: r19213
1998-04-14 15:00:57 -06:00
Paul Eggert
c70afde1b3 * install.texi: Update section on warnings that can be safely ignored.
From-SVN: r19212
1998-04-14 14:58:42 -06:00
Jeff Law
634f516faa Fix thinko.
From-SVN: r19211
1998-04-14 14:53:21 -06:00
Jim Wilson
cf877a4216 Fix mips64vr4100-elf build failure.
* mips.md (reload_outdi): Change the scratch mode from DImode to
	TImode.  New variable scratch, used instead of operand[2] in template.
	Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.

From-SVN: r19210
1998-04-14 07:56:05 -07:00
Michael Meissner
996d9dacc4 If -Os, set MOVE_RATIO to 3, not 15
From-SVN: r19209
1998-04-14 13:20:50 +00:00
Krister Walfridsson
ec8d6ddc83 configure: Define DEFAULT_M4 by searching PATH.
* configure: Define DEFAULT_M4 by searching PATH.
        * Makfile.in: Use DEFAULT_M4.

From-SVN: r19208
1998-04-14 04:34:37 -06:00
Krister Walfridsson
de2d990f16 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
From-SVN: r19207
1998-04-14 04:33:09 -06:00
Jeffrey A Law
6862dfac62 svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
* svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
        (ASM_FINISH_DECLARE_OBJECT): Likewise.

From-SVN: r19206
1998-04-14 03:53:08 -06:00
Jeffrey A Law
b7cb92adc9 * Idea and part of the patch from HJ.
* Makefile.in: auto-host.h renamed from auto-config.h.  All references
        changed.
        (distclean): Remove auto-build.h too.
        * configure.in: Rename host autoconf generated file to auto-host.h.
        If host != build, then run autoconf to generate auto-build.h for
        the build machine and include it in build_xm_files.
        Check for wait.h and sys/wait.h.

From-SVN: r19205
1998-04-14 02:32:34 -06:00
Jeff Law
80608e2793 combine.c (simplify_rtx, [...]): Respect value of TRULY_NOOP_TRUNCATION.
8
        * combine.c (simplify_rtx, case TRUNCATE): Respect value of
        TRULY_NOOP_TRUNCATION.

From-SVN: r19204
1998-04-14 02:04:21 -06:00
Jeff Law
d5daf0986f combine.c (simplify_rtx, [...]): Respect value of TRULY_NOOP_TRUNCATION.
�
        * combine.c (simplify_rtx, case TRUNCATE): Respect value of
        TRULY_NOOP_TRUNCATION.

From-SVN: r19203
1998-04-14 02:04:17 -06:00
Jason Merrill
7d02bbefd5 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
From-SVN: r19199
1998-04-13 07:38:16 -04:00
Benjamin Kosnik
556ffb6757 decl.c (duplicate_decls): Don't warn for redundant decls if friend: let add_friend take care of it.
x
Fri Apr 10 12:16:49 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* decl.c (duplicate_decls): Don't warn for redundant decls if
 	friend: let add_friend take care of it.
Fixes g++/15307

From-SVN: r19198
1998-04-13 11:13:36 +00:00
Benjamin Kosnik
d74ce43a8b decl.c (duplicate_decls): Don't warn for redundant decls if friend: let add_friend take care of it.
�
Fri Apr 10 12:16:49 1998  Benjamin Kosnik  <bkoz@loony.cygnus.com>
	* decl.c (duplicate_decls): Don't warn for redundant decls if
 	friend: let add_friend take care of it.
Fixes g++/15307

From-SVN: r19197
1998-04-13 11:13:34 +00:00
Jason Merrill
72f54004c0 fix merge breakage
From-SVN: r19196
1998-04-13 07:05:58 -04:00
Jeff Law
ef78c24533 Initial revision
From-SVN: r19176
1998-04-12 19:32:01 -06:00
Jeff Law
8dd8e7643a Fix typos.
From-SVN: r19155
1998-04-12 14:31:54 -06:00
Alexandre Oliva
3c0d0dea6a * configure.in: only set HAVE_LIBZ if zlib.h exists
From-SVN: r19154
1998-04-12 14:00:34 -06:00
Jeffrey A Law
547a618398 * Makefile.in (INSTALL_MODULES): Remove texinfo.
From-SVN: r19153
1998-04-12 13:58:53 -06:00
Catherine Moore
4754172c64 * invoke.texi (ld options) Include memset requirements
for options -nodstdlib and -nodefaultlibs.

From-SVN: r19152
1998-04-12 13:55:52 -06:00
Paul Eggert
bb72a0843b This change is from an idea suggested by Arthur David Olson.
* c-common.c (decl_attributes, record_function_format,
	check_format_info, init_function_format_info):
	Add support for strftime format checking.
	(enum format_type): New type.
	(record_function_format): Now static, and takes value of type
	enum format_type instead of int.
	(time_char_table): New constant.
	(struct function_format_info): format_type member renamed from is_scan.
	(check_format_info): Use `warning' rather than sprintf followed by
	`warning', to avoid mishandling `%' in warnings.
	Change `pedwarn' to `warning', since these warnings do not necessarily
	mean the program does not conform to the C Standard, as the code
	need not be executed.
	* c-tree.h (record_function_format): Remove decl; no longer extern.
	* extend.texi: Add documentation for strftime format checking.

From-SVN: r19151
1998-04-12 13:52:16 -06:00
Jeffrey A Law
71922625f3 ecoffl.h: Do not include mips.h.
* mips/ecoffl.h: Do not include mips.h.
        * mips/elf.h: Likewise.

From-SVN: r19150
1998-04-12 13:32:23 -06:00
Jeffrey A Law
1be12a4a7b configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
* configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
        * mips/ecoff.h: Include "mips/mips.h".

From-SVN: r19149
1998-04-12 13:24:39 -06:00
Jeff Law
c0ef7ee37e Initial revision
From-SVN: r19142
1998-04-12 11:04:58 -06:00
Jeff Law
e70bd3dc19 Initial revision
From-SVN: r19141
1998-04-12 11:04:57 -06:00
Jeff Law
7d771bfbb2 Initial revision
From-SVN: r19140
1998-04-12 11:04:55 -06:00
Jeffrey A Law
9fe690778d Bump for snapshot
From-SVN: r19112
1998-04-11 16:42:57 -06:00
Jeffrey A Law
c6a26dc45d cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
* cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
        (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
        * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
        instead of delete_dead_from_cse.  Also call delete_trivially_dead_insns
        between loop optimization passes.
        * rtl.h: Updated appropriately.

From-SVN: r19100
1998-04-10 18:28:07 -06:00
Jeff Law
112bd748e3 Rebuild after recent parse.y change.
From-SVN: r19099
1998-04-10 16:54:42 -06:00
Jeff Law
c86c3e99c4 Reinstall this patch from Jason.
8
        Reinstall this patch from Jason.
        * function.c (push_function_context_to): Don't call init_emit.

From-SVN: r19098
1998-04-10 15:30:30 -06:00
Jeff Law
bbb81923ac Reinstall this patch from Jason.
�
        Reinstall this patch from Jason.
        * function.c (push_function_context_to): Don't call init_emit.

From-SVN: r19097
1998-04-10 15:30:28 -06:00