Commit Graph

3731 Commits

Author SHA1 Message Date
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
Richard Stallman
c74d558306 (inhibit_libc): Renamed from inhibit_eprintf.
(L_new_handler): Don't include stdio.h if inhibit_libc.

From-SVN: r3557
1993-02-27 19:12:24 +00:00
Richard Stallman
5b450ae528 (check_newline): #line updates input_file_stack->name.
From-SVN: r3556
1993-02-27 19:09:40 +00:00
Richard Stallman
89d7540d7b (pushdecl): Nested fn decl gets DECL_CONTEXT iff not extern.
(grokdeclarator): Make `long long' work even with
-pedantic, despite the warning.

(declare_parm_level): Unconditionally store 1.
(pushdecl): Criterion for no warning is, next level up
is a parm level.

From-SVN: r3555
1993-02-27 19:08:53 +00:00
Richard Stallman
cacb38243e (TARGET_SWITCHES): Reverse defn of 32332.
(ASM_OUTPUT_ALIGN_CODE): Pad with no-op insns.

From-SVN: r3554
1993-02-27 19:08:05 +00:00
Richard Stallman
d3c64ee3f3 (convert_move): Truncate via word_mode only if to_mode fits in one word.
Truncate by referring in TO_MODE for any FROM, but force_reg if nec.

From-SVN: r3553
1993-02-27 19:04:24 +00:00
Ian Lance Taylor
0df69870f1 New builtins: __REGISTER_PREFIX__ and __USER_LABEL_PREFIX__
From-SVN: r3552
1993-02-27 06:09:33 +00:00
Richard Stallman
0a111fa6df (init_libfuncs): Use int instead of enum for first_mode, last_mode, and mode.
From-SVN: r3551
1993-02-27 05:38:42 +00:00
Richard Stallman
61d8c55e62 (parse_escape): Delete case for '^'.
From-SVN: r3550
1993-02-27 04:12:36 +00:00
Richard Stallman
42396e975d (all.cross): Depend on enquire.
From-SVN: r3549
1993-02-27 03:35:40 +00:00
Richard Stallman
b6126bf1dc (_SYS_SIZE_T_H): Test this and define this.
From-SVN: r3548
1993-02-27 00:47:17 +00:00
Richard Stallman
61a2ac12b3 (_VA_LIST_T_H): Test and define this.
From-SVN: r3547
1993-02-27 00:47:05 +00:00
Richard Stallman
33b039cc74 (do_include): Correctly report the directive name
when any kind of include directive has no argument or null argument.

From-SVN: r3546
1993-02-26 23:56:02 +00:00
Richard Stallman
ea3cfc819a (ivar_decls): Give a pedwarn (instead of a warning) for excess semicolons.
From-SVN: r3545
1993-02-26 23:55:35 +00:00