Commit Graph

20033 Commits

Author SHA1 Message Date
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
Per Bothner 45b44fbed7 expr.c (process_jvm_instruction): Do load_type_state after JSR.
a
	* 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: r24404
1998-12-23 02:46:39 -08:00
Kaveh R. Ghazi 973838fdb3 Warning fixes:
* alias.c (record_alias_subset): Remove ignored `&'.
        (init_alias_once): Likewise.
        * c-lex.c (UNGETC): Cast first argument of comma expression to void.
        * config/mips/mips.c (mips_asm_file_end): Cast the result of
        fwrite to `int' when comparing against one.
        * config/mips/mips.h (CAN_ELIMINATE): Add parens around && within ||.
        (INITIAL_ELIMINATION_OFFSET): Add braces to avoid ambiguous `else'.
        * cse.c (rehash_using_reg): Change type of variable `i' to
        unsigned int.
        * dwarf2out.c (initial_return_save): Cast -1 to unsigned before
        assigning it to one.
        * except.c (duplicate_eh_handlers): Remove unused variable `tmp'.
        * final.c (final_scan_insn): Likewise for variable `i'.
        (output_asm_insn): Cast a char to unsigned char when used as an
        array index.
        * gcse.c (compute_pre_ppinout): Cast -1 to SBITMAP_ELT_TYPE when
        assigning it to one.
        * loop.c (strength_reduce): Remove unused variables `count' and `temp'.
        * recog.c (preprocess_constraints): Cast a char to unsigned char
        when used as an array index.
        * regmove.c (find_matches): Likewise.
        * reload1.c (calculate_needs): Add default case in switch.
        (eliminate_regs_in_insn): Initialize variable `offset'.
        (set_offsets_for_label): Change type of variable `i' to unsigned.
        (reload_as_needed): Wrap variable `i' in macro check on
        AUTO_INC_DEC || INSN_CLOBBERS_REGNO_P.
        * scan-decls.c (scan_decls): Mark parameters `argc' and `argv'
        with ATTRIBUTE_UNUSED.  Cast variable `start_written' to size_t
        when comparing against one.
        * stor-layout.c (layout_decl): Cast maximum_field_alignment to
        unsigned when comparing against one.  Likewise for
        GET_MODE_ALIGNMENT().
        (layout_record): Cast record_align to int when comparing against a
        signed value.
        (layout_type): Cast TYPE_ALIGN() to int when comparing against a
        signed value.
        * tree.c (get_identifier): Cast variable `len' to unsigned when
        comparing against one.
        (maybe_get_identifier): Likewise

From-SVN: r24403
1998-12-23 07:09:01 +00:00
Jeff Law 2b4c075ca1 Daily bump.
From-SVN: r24402
1998-12-22 17:45:02 -07:00
Jeffrey A Law ebe1232579 * config.sub: Clean up handling of hppa2.0.
From-SVN: r24401
1998-12-22 16:23:33 -07:00
Jeffrey A Law 2ae7465155 toplev.c (rest_of_compilation): Do not set reload_completed.
Wed Dec 23 00:10:01 1998  Jeffrey A Law  (law@cygnus.com)
        * toplev.c (rest_of_compilation): Do not set reload_completed.
        * reload1.c (reload): Set reload_completed before calling
        cleanup_subreg_operands.

From-SVN: r24400
1998-12-22 16:13:41 -07:00
Richard Henderson 3d0ec3b37c * reload1.c (emit_reload_insns): Check `set' not null before use.
From-SVN: r24399
1998-12-22 16:00:27 -07:00
Rodney Brown 57057b677c * config.guess: Use C code to identify more HP machines.
From-SVN: r24398
1998-12-22 15:58:25 -07:00