Commit Graph

20240 Commits

Author SHA1 Message Date
Jeffrey A Law
f430a01ed8 Bump for snapshot
From-SVN: r24473
1999-01-03 16:32:23 -07:00
Jeffrey A Law
3b0d546a2b optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing RTL for a compare/jump sequence.
* optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
        RTL for a compare/jump sequence.

From-SVN: r24472
1999-01-03 15:03:47 -07:00
Michael Hayes
362cc3d434 optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL for a target with HAVE_cc0 defined.
* optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
        for a target with HAVE_cc0 defined.
        (emit_cmp_and_jump_insns): New function.
        * expr.h (emit_cmp_and_jump_insns): Prototype it.
        * loop.c (check_dbra_loop): Use it to replace calls
        to emit_cmp_insn and emit_jump_insn and to canonicalise
        the comparison if necessary.
        * unroll.c (unroll_loop): Likewise.

From-SVN: r24471
1999-01-03 13:43:14 -07:00
Rainer Orth
1cd0a8edca fixincludes (sys/utsname.h): Provide forward declaration of struct utsname on Ultrix V4.[35].
* fixincludes (sys/utsname.h): Provide forward declaration of
        struct utsname on Ultrix V4.[35].

From-SVN: r24470
1999-01-03 13:16:10 -07:00
Jeff Law
eb78b99d9b Update copyrights.
From-SVN: r24469
1999-01-03 13:09:31 -07:00
Jeff Law
08ea656fb6 Copyright update.
From-SVN: r24468
1999-01-03 13:08:21 -07:00
Rainer Orth
d670fb27a0 * readrecord.c: Include <sys/types.h> for off_t.
From-SVN: r24467
1999-01-03 13:07:56 -07:00
Rainer Orth
9d6b41f3f1 mips.md (div_trap): Use local labels instead of dot-relative branches.
* mips.md (div_trap): Use local labels instead of dot-relative
        branches.
Works around bug in ultrix assemblers.

From-SVN: r24466
1999-01-03 13:04:50 -07:00
Jeffrey A Law
dcaeffefc5 pa.md (branch, [...]): Handle (const_int 0) as first source operand.
* pa.md (branch, negated branch): Handle (const_int 0) as first
        source operand.
        * pa.c (output_cbranch): Likewise.
Should fix unrolling aborts on the PA.

From-SVN: r24465
1999-01-03 12:45:34 -07:00
Jeff Law
ae3de8b7b2 Daily bump.
From-SVN: r24464
1999-01-02 17:45:02 -07:00
David Edelsohn
8dda1a213f rs6000.c (rs6000_stack_info): Undo spurious part of last change.
* rs6000.c (rs6000_stack_info): Undo spurious part of last
        change.

From-SVN: r24463
1999-01-02 19:24:05 -05:00
Robert Lipe
b07fe36812 * configure.in: (*-*-sysv5, *-*-*udk*): Treat like sysv4.
From-SVN: r24462
1999-01-02 19:16:17 +00:00
Jeff Law
853b83077d Daily bump.
From-SVN: r24461
1999-01-01 17:45:02 -07:00
Manfred Hollstein
4d39051857 extend.texi (__builtin_constant_p): Add missing @smallexample.
* extend.texi (__builtin_constant_p): Add missing @smallexample.

From-SVN: r24460
1999-01-01 12:34:39 +00:00
Manfred Hollstein
1048777fdf extend.texi (__builtin_constant_p): Add missing @smallexample.
�
	* extend.texi (__builtin_constant_p): Add missing @smallexample.

From-SVN: r24459
1999-01-01 12:34:37 +00:00
Jeff Law
270fc2ae00 i386.md (doubleword shifts): Fix dumb mistakes in previous change.
* i386.md (doubleword shifts): Fix dumb mistakes in previous change.

From-SVN: r24457
1999-01-01 03:53:08 -07:00
Jeff Law
a94b6ed988 i386.md (doubleword shifts): Fix dumb mistakes in previous change.
�
        * i386.md (doubleword shifts): Fix dumb mistakes in previous change.

From-SVN: r24456
1999-01-01 03:53:05 -07:00
Jeff Law
ad1e3325f4 Daily bump.
From-SVN: r24455
1998-12-31 17:45:02 -07:00
Jeff Law
463e114c4f Daily bump.
From-SVN: r24454
1998-12-30 17:45:03 -07:00
Jeffrey A Law
4cca99f4bd m68k.md (adddi_dilshr32): Allow all operands to be registers too.
* m68k.md (adddi_dilshr32): Allow all operands to be registers too.
        (adddi_dishl32): Similarly.

From-SVN: r24452
1998-12-30 17:13:53 -07:00
Jeffrey A Law
97577254a2 cse.c (invalidate_skipped_block): Call invalidate_from_clobbers for each insn in the skipped block.
* cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
        for each insn in the skipped block.
Fixes m68k codegen bug.

From-SVN: r24450
1998-12-30 16:35:49 -07:00
Jeffrey A Law
f67c2384cb reload1.c (reload_as_needed): Verify that the insn satisfies its constraints after replacing a register...
* reload1.c (reload_as_needed): Verify that the insn satisfies its
        constraints after replacing a register address with an autoincrement
        address for reload inheritance purposes.

From-SVN: r24449
1998-12-30 16:14:25 -07:00
Jeffrey A Law
f203c52060 * i386.md (doubleword shifts): Avoid namespace pollution.
From-SVN: r24448
1998-12-30 15:45:16 -07:00
Zack Weinberg
de2c54aae1 * gcc.c-torture/compile/981223-1.c: New test.
From-SVN: r24447
1998-12-30 15:08:25 -07:00
David O'Brien
56830143aa * configure.in (FreeBSD ELF): Needs special crt files.
From-SVN: r24446
1998-12-30 15:05:08 -07:00
Geoffrey Noer
2966b4375c * i386/xm-cygwin.h: change DIR_SEPARATOR to forward slash.
From-SVN: r24445
1998-12-30 14:53:20 -07:00
Andreas Schwab
2c74fb2bf0 loop.c (check_dbra_loop): While reversing the loop...
* loop.c (check_dbra_loop): While reversing the loop, if the
        comparison value has a VOID mode use the mode of the other operand
        to compute the mask.

From-SVN: r24444
1998-12-30 14:51:53 -07:00
Michael Meissner
ff381587ec Fix calculation of fpmem_offset on little endian systems; Silence warnings when building explow
From-SVN: r24443
1998-12-30 19:37:53 +00:00
Gerald Pfeifer
c2a2650529 gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in the future...
* gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
	the future; indeed that already happens in some cases.

From-SVN: r24442
1998-12-30 05:28:05 +00:00
Richard Henderson
30dfe54ae2 * rtl.h (CONSTANT_P): Remove CONSTANT_P_RTX.
From-SVN: r24441
1998-12-29 04:03:36 -08:00
Richard Henderson
11301057f6 sparc.c (input_operand): Recognize (const (constant_p_rtx)).
* sparc.c (input_operand): Recognize (const (constant_p_rtx)).
        (arith_operand): Remove constant_p_rtx handling.
        (const64_operand, const64_high_operand): Likewise.
        (arith11_operand, arith10_operand, arith_double_operand): Likewise.
        (arith11_double_operand, arith10_double_operand, small_int): Likewise.
        (small_int_or_double, uns_small_int, zero_operand): Likewise.
        * sparc.h (PREDICATE_CODES): Likewise.

From-SVN: r24440
1998-12-29 04:02:15 -08:00
Richard Henderson
185ebd6c71 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>:
* rtl.def (CONSTANT_P_RTX): Clarify commentary.
        * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Rework to
        consider constant CONSTRUCTOR constant and to defer some cases
        to cse.
        * cse.c (fold_rtx, case CONST): Add handling for CONSTANT_P_RTX.
        * regclass.c (reg_scan_mark_refs, case CONST): Likewise.
Richard Henderson  <rth@cygnus.com>
        * expr.c (init_expr_once): Kill can_handle_constant_p recognition.
        * cse.c (fold_rtx, case 'x'): Remove standalone CONSTANT_P_RTX code.

From-SVN: r24439
1998-12-29 03:36:22 -08:00
Richard Henderson
eb8da8684c alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
* alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
        (reg_or_8bit_operand, cint8_operand, add_operand): Likewise.
        (sext_add_operand, and_operand, or_operand): Likewise.
        (reg_or_cint_operand, some_operand, input_operand): Likewise.
        * alpha.h (PREDICATE_CODES): Likewise.

From-SVN: r24438
1998-12-29 03:35:34 -08:00
Richard Henderson
8f8e7de31b bcp-1.c (bad10): Rename from opt3.
* gcc.c-torture/execute/bcp-1.c (bad10): Rename from opt3.
        (opt3): Rename from opt4 and disable.

From-SVN: r24437
1998-12-29 03:35:06 -08:00
Jeff Law
67211fa1fc Daily bump.
From-SVN: r24436
1998-12-28 17:45:02 -07:00
Jeff Law
5369e4df0f Daily bump.
From-SVN: r24434
1998-12-27 17:45:02 -07:00
Jeff Law
212c6d304e Daily bump.
From-SVN: r24433
1998-12-26 17:45:02 -07:00
Jeffrey A Law
081f12b3ab Bump for snapshot
From-SVN: r24431
1998-12-26 16:26:30 -07:00
Jeffrey A Law
ba476f7531 gengenrtl.c (gencode): Always use bzero to clear memory instead of dangerous casts and stores.
* gengenrtl.c (gencode): Always use bzero to clear memory instead
        of dangerous casts and stores.
Fixes alpha & sparc -O3 bootstrap problems.

From-SVN: r24420
1998-12-26 02:31:42 -07:00
Jeffrey A Law
7ce1e6c85d * Makefile.in (compare, gnucompare): Add missing else true clauses.
From-SVN: r24419
1998-12-26 01:19:18 -07:00
Jeff Law
b9e5045ea4 Daily bump.
From-SVN: r24418
1998-12-25 17:45:02 -07:00
Jeffrey A Law
4b8557677e alpha.md (builtin_longjmp): Add missing "DONE".
* alpha.md (builtin_longjmp): Add missing "DONE".
alpha -O0 bootstrap bugfix.

From-SVN: r24417
1998-12-25 15:08:13 -07:00
Jeff Law
52f322dab9 Daily bump.
From-SVN: r24416
1998-12-24 17:45:03 -07:00
Brendan Kehoe
08c5b6e887 fix minor typo
From-SVN: r24415
1998-12-24 05:52:44 -05:00
Stan Cox
6405c0eca8 * gcc.c (execute): Enable -pipe with win32.
From-SVN: r24414
1998-12-24 10:30:08 +00:00
Jeff Law
05b3fb45b8 Daily bump.
From-SVN: r24413
1998-12-23 17:45:03 -07:00
Brendan Kehoe
90352f7294 fix placement of the errors
From-SVN: r24412
1998-12-23 12:02:02 -05:00
Nick Clifton
a1e27b76d4 Enable -fleading-underscore for arm-elf builds.
From-SVN: r24409
1998-12-23 14:34:18 +00:00
Per Bothner
5a005d9ead expr.c (process_jvm_instruction): Do load_type_state after JSR.
d
	* expr.c (process_jvm_instruction):  Do load_type_state after JSR.
	* verify.c (verify_jvm_instructions):  Fix off-by-one error.
	* jcf-write.c (CHECK_PUT):  Add (void) cast to avoid -Wall warnings.
	(localvar_alloc):  Change return type to void,
	(emit_unop):  Remove unused variable size.
	* jcf-write.c (struct jcf_block):  Add new union.
	(PENDING_CLEANUP_PC, PENDING_EXIT_PC, UNDEFINED_PC):  New macros.
	(call_cleanups):  New functions.
	(struct jcf_partial):  New fields num_finalizers and return_value_decl.
	(generate_bytecode_insns):  Support CLEANUP_POINT_EXPR and
	WITH_CLEANUP_EXPR.  Handle cleanups in RETURN_EXPR and EXIT_BLOCK_EXPR.
	* lang.c (lang_init):  Call using_eh_for_cleanups.
	* parse.y (java_complete_lhs):  For SYNCHRONIZED_EXPR, defer
	completing operands to patch_synchronized_statement.
	Support CLEANUP_POINT_EXPR, WITH_CLEANUP_EXPR.
	(patch_synchronized_statement): Re-write suing CLEANUP_POINT_EXPR and
	WITH_CLEANUP_EXPR instead of TRY_EXPR.

From-SVN: r24406
1998-12-23 02:46:45 -08:00
Per Bothner
e402ca989b expr.c (process_jvm_instruction): Do load_type_state after JSR.
* expr.c (process_jvm_instruction):  Do load_type_state after JSR.
	* verify.c (verify_jvm_instructions):  Fix off-by-one error.
	* jcf-write.c (CHECK_PUT):  Add (void) cast to avoid -Wall warnings.
	(localvar_alloc):  Change return type to void,
	(emit_unop):  Remove unused variable size.
	* jcf-write.c (struct jcf_block):  Add new union.
	(PENDING_CLEANUP_PC, PENDING_EXIT_PC, UNDEFINED_PC):  New macros.
	(call_cleanups):  New functions.
	(struct jcf_partial):  New fields num_finalizers and return_value_decl.
	(generate_bytecode_insns):  Support CLEANUP_POINT_EXPR and
	WITH_CLEANUP_EXPR.  Handle cleanups in RETURN_EXPR and EXIT_BLOCK_EXPR.
	* lang.c (lang_init):  Call using_eh_for_cleanups.
	* parse.y (java_complete_lhs):  For SYNCHRONIZED_EXPR, defer
	completing operands to patch_synchronized_statement.
	Support CLEANUP_POINT_EXPR, WITH_CLEANUP_EXPR.
	(patch_synchronized_statement): Re-write suing CLEANUP_POINT_EXPR and
	WITH_CLEANUP_EXPR instead of TRY_EXPR.

From-SVN: r24405
1998-12-23 02:46:40 -08:00