Commit Graph

3707 Commits

Author SHA1 Message Date
Richard Kenner d36d70cc52 (assemble_variable): Update comment.
From-SVN: r3620
1993-03-03 07:34:03 -05:00
Per Bothner b238f8def3 Define and use new function dbxout_range_type.
From-SVN: r3619
1993-03-02 22:46:43 -08:00
Per Bothner 442cb32d53 Clarify comment on INTEGER_TYPE.
From-SVN: r3618
1993-03-02 22:46:43 -08:00
Richard Stallman bd814d9779 (main): Use strlen, not sizeof, for our_file_name.
From-SVN: r3617
1993-03-03 04:43:37 +00:00
Richard Kenner 03407c7527 (collect_iterators): Handle simple expressions quickly.
Don't try to interpret operands that are RTL as if they were trees.

From-SVN: r3616
1993-03-02 19:01:48 -05:00
Richard Kenner be8dcd745f (regclass): Don't set REGNO_POINTER_FLAG here.
(reg_scan_mark_refs): Set it here.
Accept INSN, not UID as arg.
(reg_scan): Call reg_scan_mark_refs with INSN, not UID.

From-SVN: r3615
1993-03-02 18:59:33 -05:00
Richard Kenner 78c02237e2 Fix typo.
From-SVN: r3614
1993-03-02 18:57:59 -05:00
Jim Wilson dea2643ccd (write_const_num_delay_slots): Output 'rtx insn' not
'rtx *insn' for const_num_delay_slot argument.

From-SVN: r3613
1993-03-02 13:23:48 -08:00
Jim Wilson afcd8a020f (main): Truncate programname to what is after last slash.
From-SVN: r3612
1993-03-02 13:19:37 -08:00
Jim Wilson 6d34466a6a (do_include): Warn if find unreadable header file.
(errno.h): Move outside VMS specific section.

From-SVN: r3611
1993-03-02 13:17:19 -08:00
Jim Wilson b3b1e8bd9c (print_operand): Use output_operand_lossage, not abort.
From-SVN: r3610
1993-03-02 13:13:35 -08:00
Jim Wilson 46b68a3769 (expand_builtin, BUILT_IN_FRAME_ADDRESS case): Use new
macros SETUP_FRAME_ADDRESSES and RETURN_ADDR_IN_PREVIOUS_FRAME.

From-SVN: r3609
1993-03-02 13:10:49 -08:00
Jim Wilson 953fe17998 (SETUP_FRAME_ADDRESS, DYNAMIC_CHAIN_ADDRESS,
RETURN_ADDR_IN_PREVIOUS_FRAME, RETURN_ADDR_RTX): Define.

From-SVN: r3608
1993-03-02 13:09:17 -08:00
Jim Wilson 4893584c6c (flush_register_windows, goto_handler_and_restore):
Give names to these patterns so they are easier to use.

From-SVN: r3607
1993-03-02 13:08:43 -08:00
Jim Wilson 51ec237564 (relax_delay_slots): Delete jump around insn identical
to the insn in its delay slot.

From-SVN: r3606
1993-03-02 13:05:09 -08:00
Jim Wilson fda792c6b6 (i960_output_call_insn): Delete scratch_reg arg. Use r3 instead.
From-SVN: r3605
1993-03-02 13:03:13 -08:00
Jim Wilson b6744f97de (call_internal*): Use hard register 19 (r3) in clobber
instead of match_scratch.

From-SVN: r3604
1993-03-02 13:02:47 -08:00
Jim Wilson e770968be5 (mov*): Only accept store zero to memory insn if
rtx_equal_function_value_matters is zero.

From-SVN: r3603
1993-03-02 13:00:24 -08:00
Jim Wilson 778ebe6285 (rtx_equal_function_value_matters): Declare.
From-SVN: r3602
1993-03-02 12:59:56 -08:00
Jim Wilson d508ebba63 (gen_sequence): Add push_obstacks_nochange and
pop_obstacks calls around rtl_in_saveable_obstack call.

From-SVN: r3601
1993-03-02 12:55:53 -08:00
Jim Wilson 2260924f01 (immed_double_const, immed_real_const_1): Likewise.
From-SVN: r3600
1993-03-02 12:55:18 -08:00
Jim Wilson 02e39be120 (rtl_in_saveable_obstack): Always switch to saveable_obstack.
Return type now void instead of int.

From-SVN: r3599
1993-03-02 12:54:45 -08:00
Richard Stallman 4b3f0a5b28 (link_command_spec): Do nothing if -fsyntax-only.
From-SVN: r3598
1993-03-02 19:57:36 +00:00
Torbjorn Granlund 780f491fa4 (pa_adjust_cost): New procudure.
From-SVN: r3597
1993-03-02 19:21:27 +00:00
Torbjorn Granlund 1150aa7087 (ADJUST_COST): Add new definition.
From-SVN: r3596
1993-03-02 19:21:13 +00:00
Richard Stallman 66c432a7ee (output_function_prologue): Use m68k svr4 PIC format to load the address of...
(output_function_prologue): Use m68k svr4 PIC format to
load the address of _GLOBAL_OFFSET_TABLE_ into PIC_OFFSET_TABLE_REG
in function prologue when doing PIC.

(print_operand_address): Always add "@GOT" suffix for the
global object operand when doing PIC.

From-SVN: r3595
1993-03-02 18:10:41 +00:00
Richard Stallman 2b362d2c86 (truncdfsf2+2): Use f%$move instead of fsmove.
(fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2):
Use %# instead of #.

(call, call_value): Set SYMBOL_REF_FLAG for the called
function symbol_ref rtx.  In PIC mode, output `bsr FUNC@PLTPC'
when the operand is symbol_ref.

From-SVN: r3594
1993-03-02 18:09:59 +00:00
Richard Stallman 24e3324a7f (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Use SIZE instead of ROUNDED.
(ASM_OUTPUT_CASE_LABEL): Always use `swbeg' syntax to
output switch table (m68k.md depends on this to happen).

(LEGITIMATE_PIC_OPERAND_P): Treat a symbol_ref rtx with
SYMBOL_REF_FLAG set a valid PIC operand.

(OVERRIDE_OPTIONS): Turn off function cse when doing pic.

From-SVN: r3593
1993-03-02 18:07:56 +00:00
Richard Stallman aa0cd7a228 (gen_move_insn): Big `if' applies only for MODE_CC class.
From-SVN: r3592
1993-03-02 07:18:06 +00:00
Richard Stallman dae1d30408 (get_directive_line): Declared.
From-SVN: r3591
1993-03-02 07:15:10 +00:00
Richard Stallman a9e72420bb (HANDLE_PRAGMA): Pass suitable arg.
From-SVN: r3590
1993-03-02 07:14:41 +00:00
Richard Stallman bb8d9cd434 (fake_f_rep): Clear all of u, initially.
Make the ints in u unsigned.
(f_define): Use ordinary constants for long double
if it's same width as double.
Make __convert_long_double_i unsigned.

From-SVN: r3589
1993-03-02 07:01:45 +00:00
Richard Stallman 6506ecd7a5 (init_lex): Set up ridpointers for `iterator'.
But maybe turn it off again.

From-SVN: r3588
1993-03-02 04:30:43 +00:00
Richard Stallman 75621238d0 (init_decl_processing): Call init_iterators.
(grokdeclarator): Typo in previous change.

From-SVN: r3587
1993-03-02 04:29:28 +00:00
Richard Stallman 4c975d0707 entered into RCS
From-SVN: r3586
1993-03-02 04:21:48 +00:00
Richard Stallman 6bc4e3d04f (build_unary_op): Warn if increment `struct unknown *'.
From-SVN: r3585
1993-03-02 03:07:56 +00:00
Richard Stallman 429819203e (ITERATOR_P, ITERATOR_BOUND_P): New macros.
From-SVN: r3584
1993-03-02 02:34:14 +00:00
Richard Stallman 726b521731 (RID_ITERATOR): New alternative.
From-SVN: r3583
1993-03-02 02:33:39 +00:00
Richard Stallman 16c6d8bf0c Add `iterator' and `__iterator__'.
From-SVN: r3582
1993-03-02 02:13:14 +00:00
Richard Stallman 6f2f09cd26 (init_lex): Maybe turn off `iterator' as keyword.
From-SVN: r3581
1993-03-02 02:12:44 +00:00
Richard Stallman b490c40dbc (stmt): Allow all_iter_stmt.
(expr -> statement expression): Push and pop iterator stack.
(stmt -> expr): Use iterator_expand.
(all_iter_stmt): New rule.

From-SVN: r3580
1993-03-02 02:10:22 +00:00
Richard Stallman 519d591f03 (grokdeclarator): Handle iterator storage class.
(finish_decl): For iterator, require initial value, make a save_expr.

From-SVN: r3579
1993-03-02 02:03:56 +00:00
Richard Stallman 3791970daf (readonly_warning): Warn about assignment to iterator.
From-SVN: r3578
1993-03-02 02:03:36 +00:00
Richard Stallman f10fec92a8 (c-iterate.o): New target.
(C_OBJS, OBJC_OBJS): Add c-iterate.o.

(gcc.o): Delete dep obstack.h.

From-SVN: r3577
1993-03-02 00:02:10 +00:00
Richard Kenner b8a68db6c2 Remove trash character introduced by last patch.
From-SVN: r3576
1993-03-01 17:13:39 -05:00
Richard Kenner 500c518b4d (subst, case NOT): If STORE_FLAG_VALUE==-1, treat an ASHIFTRT of just the sign bit as if it were an LT.
(subst, case NOT): If STORE_FLAG_VALUE==-1, treat an ASHIFTRT of just the
sign bit as if it were an LT.
(subst, case XOR): Likewise for STORE_FLAG_VALUE==1 and an LSHIFTRT.
(simplify_and_const_int, case LSHIFTRT): If shifting a sign bit copy,
start shift at the sign bit.
(simplify_shift_const): Likewise for ASHIFTRT.

(BYTE_LOADS_EXTEND): Fix typo when defining.
(setup_incoming_promotions): Set modes properly.

From-SVN: r3575
1993-03-01 07:32:27 -05:00
Richard Kenner e2eb57b721 (subst_constants): Use proper mode when getting equivalent constant for paradoxical SUBREG in SET_DEST.
(subst_constants): Use proper mode when getting equivalent constant for
paradoxical SUBREG in SET_DEST.
(mark_stores): Clean up and tighten to properly handle hard regs.

From-SVN: r3574
1993-03-01 07:31:19 -05:00
Richard Kenner 5e2a751adc Add three special-cases of CMP insns against zero.
From-SVN: r3573
1993-03-01 07:29:39 -05:00
Jeff Law 26915fa9bc pa.md (split for symbol_ref+int): New define_split for hte combiner.
* pa.md (split for symbol_ref+int): New define_split for hte
	combiner.

From-SVN: r3572
1993-03-01 04:16:10 -07:00
Jeff Law c1d1b3f05f pa.c (symbolic_expression_p): New function.
* pa.c (symbolic_expression_p): New function.
        (hppa_legitimize_address): Old LEGITIMIZE_ADDRESS moved
        here.  Handle symbol_ref + displacement addresses.
        Use rounding instead of masking off lower bits.
        Avoid creating useless pseudos and strip off CONST in
        (const (...)) expressions to make processing easier.

From-SVN: r3571
1993-03-01 04:15:59 -07:00