3694 Commits

Author SHA1 Message Date
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
Jeff Law
901a8cea7b pa.h (CONSTANT_ADDRESS_P): Do not accept symbolic addresses.
* pa.h (CONSTANT_ADDRESS_P): Do not accept symbolic
	addresses.
	(LEGITIMIZE_ADDRESS): Just a stub now.  Call
	hppa_legitimize_address to do the real work.

From-SVN: r3570
1993-03-01 04:15:31 -07:00
Richard Stallman
e26d4611b5 *** empty log message ***
From-SVN: r3569
1993-02-28 07:43:14 +00:00
Richard Stallman
41424fddc0 Initial revision
From-SVN: r3568
1993-02-28 07:28:31 +00:00
Richard Stallman
db9e5545df (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.
(convert_for_assignment): Typo in last change.

From-SVN: r3567
1993-02-28 04:18:38 +00:00
Richard Stallman
9b7267b844 (convert_for_assignment): New arg FUNDECL. Calls changed.
(convert_arguments): New arg FUNDECL.
(build_function_call): Pass function to convert_arguments, if a decl.

(convert_for_assignment): Automatically convert
to a union from its members' types.

(process_init_constructor): Error msg change.

(initializer_constant_valid_p): Allow cast of ptr to wider integer.

From-SVN: r3566
1993-02-27 22:12:42 +00:00
Richard Stallman
d25887bddc Error if company name is more than one word.
If $os is `sunos...', don't change it to manufacturer's name.

From-SVN: r3565
1993-02-27 21:56:28 +00:00
Richard Stallman
24e4939efc Comment fix.
From-SVN: r3564
1993-02-27 20:27:24 +00:00
Richard Stallman
0756f25fac (struct __gnuc_va_list): Test __svr4__ like __SVR4__.
From-SVN: r3563
1993-02-27 20:26:38 +00:00
Richard Stallman
976876dd0d (distdir): Depend on cp-parse.y, and the .c files for the .y files.
(all.cross): Depend on enquire.

(uninstall): Also remove the g++ manual page.

From-SVN: r3562
1993-02-27 19:18:16 +00:00
Richard Stallman
ce2fb2459b (make_decl_rtl): Print an error for explicit register variable
whose type cannot be stored in that register.

From-SVN: r3561
1993-02-27 19:16:44 +00:00
Richard Stallman
e0c72e782e (compile_file): Use pedwarn_with_decl to warn about
functions declared static but not defined.

From-SVN: r3560
1993-02-27 19:15:08 +00:00
Richard Stallman
86aed40b12 (simple_cst_equal): New default case handles most tree codes based on TREE_CODE_CLASS.
(simple_cst_equal): New default case handles most
tree codes based on TREE_CODE_CLASS.  Delete newly redundant cases
for specific tree codes.

From-SVN: r3559
1993-02-27 19:13:55 +00:00
Richard Stallman
ac4b197446 (USE_C_ALLOCA): Moved to xm-pbd.h.
From-SVN: r3558
1993-02-27 19:13:32 +00:00