Commit Graph

3388 Commits

Author SHA1 Message Date
Richard Stallman
1f53ee05f8 (init_decl_processing): Declare ffs as builtin.
From-SVN: r3201
1993-01-12 08:17:48 +00:00
Richard Stallman
b52a4b72c0 (egrep and sed loop): Don't print messages about files that need no change.
From-SVN: r3200
1993-01-12 07:53:32 +00:00
Richard Stallman
d0691cfba9 (macroexpand): Before concatenated empty rest arg,
do copy constant chars, but delete last run of nonwhitespace chars.
(rescan): Handle Newline-Hyphen in expand_to_temp_buffer
as well as when scanning a macro body.

(main): If we are creating a new dependency file with -MD
or -MMD, use "w" fopen mode instead of "a".

(rescan): Prevent token pasting before macro call.
(macroexpand): Prevent token pasting around an arg unless it's raw.

(main): Implement -iwithprefix.

(check_preconditions, do_error, do_warning, do_xifdef):
Don't use signed chars to index into arrays; they might be negative.

From-SVN: r3199
1993-01-12 07:49:01 +00:00
Jim Wilson
df8b4049a7 (eligible_for_epilogue_delay): Delete unused variable `this_function_name'.
(eligible_for_epilogue_delay): Delete unused variable
`this_function_name'.
(output_fp_move_double): Delete unused var `addr'.
(output_fp_move_quad): Likewise.
(fregs_ever_live): Delete unused static var.
(output_function_epilogue): Delete `n_fregs' and `i'.
(sparc_frw_output_function_prologue): Delete `regno'.
(sparc_frw_output_function_epilogue): Delete `load_nop'.

From-SVN: r3198
1993-01-11 15:04:35 -08:00
Jim Wilson
2a72bac75f (reload): Delete unused variable inc_groups.
From-SVN: r3197
1993-01-11 14:41:43 -08:00
Jim Wilson
26c5587d43 (TARGET_SWITCHES): Add no-fpu and hard-float.
(CONDITIONAL_REGISTER_USAGE): Define for ! TARGET_FPU.
(BASE_RETURN_VALUE_REG): Use reg 8 when ! TARGET_FPU.
(BASE_OUTGOING_VALUE_REG): Use reg 24 when ! TARGET_FPU.

From-SVN: r3196
1993-01-11 14:26:45 -08:00
Jim Wilson
ab5519b721 (*): Make all fp patterns conditional on TARGET_FPU.
(movtf, movdf, movsf): Add !TARGET_FPU versions.
(sfmode return): Add pattern for when !TARGET_FPU.
(movsi+2, movsf+1): Use %@ instead of %%fp.
(mulsidi3, umulsidi3): Rewrite, to avoid extending constants.

From-SVN: r3195
1993-01-11 14:25:36 -08:00
Jim Wilson
883bc78075 Do not consider //* to be a C++ comment which needs to be fixed.
From-SVN: r3194
1993-01-11 14:21:52 -08:00
Jeff Law
e515e50793 * pa.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Fix typos.
From-SVN: r3193
1993-01-11 13:03:09 -07:00
Brendan Kehoe
12cfc83018 tree.h (value_member, [...]): Add decls with prototypes.
* tree.h (value_member, purpose_member, binfo_member,
	tree_int_cst_equal, tree_int_cst_lt, index_type_equal,
	expand_decl_init): Add decls with prototypes.

From-SVN: r3192
1993-01-11 14:21:04 -05:00
Brendan Kehoe
1b212aa85f Cygnus<-->FSF merge.
From-SVN: r3191
1993-01-11 14:06:50 -05:00
Paul Eggert
d09c632362 # Fix misspellings in comments.
From-SVN: r3190
1993-01-11 05:12:26 +00:00
James Van Artsdalen
8268133ae5 Include i386/xm-i386.h.
Remove redundant defines.

From-SVN: r3189
1993-01-11 02:43:11 +00:00
James Van Artsdalen
f3b38b4d36 (alloca): Delete - already defined in xm-i386.h.
From-SVN: r3188
1993-01-11 02:42:40 +00:00
James Van Artsdalen
9c530261cb (extendsidi2,zero_extendsidi2): New patterns.
(adddi3,subdi3): Don't emit code for low part if known to be zero.

From-SVN: r3187
1993-01-11 00:18:24 +00:00
Jeff Law
43940f6bb9 pa.c (output_global_address): Handle (high (const (plus ...))).
* pa.c (output_global_address): Handle (high (const (plus ...))).
	(secondary_reload_class): If TARGET_KERNEL, then loading a
	symbolic address, or the high part of a symbolic address requires
	%r1 as a secondary reload register.
	(emit_move_sequence, SYMBOL_REF case): If TARGET_KERNEL, then handle
	secondary reload created for a symbolic (high (const (plus ...))).
	No longer show DP relocation; read_only and normal operands emit the
	same RTL now.
	Emit the same RTL before and after reload, only change how the
	scratch/temporary register is chosen.

From-SVN: r3186
1993-01-10 15:59:50 -07:00
Jeff Law
9f309ba3e7 pa.md (reload_insi, [...]): Use new "Z" constraint instead of "z" constraint.
* pa.md (reload_insi, reload_outsi): Use new "Z" constraint instead
	of "z" constraint.
	(load HIGH patterns): Rewrite to not show DP relocation.

From-SVN: r3185
1993-01-10 15:59:33 -07:00
Jeff Law
4e82968e32 pa.h (GENERAL_OR_FP_OR_SNAKE_FP_REGS): New register class.
* pa.h (GENERAL_OR_FP_OR_SNAKE_FP_REGS): New register class.
	(LEGITIMIZE_ADDRESS): No longer show DP relocation.  Simplify.

From-SVN: r3184
1993-01-10 15:59:10 -07:00
Paul Eggert
ac2a945455 # Fix misspellings in comments.
From-SVN: r3183
1993-01-10 22:49:32 +00:00
Paul Eggert
a1c3776604 # Fix misspellings in comments.
From-SVN: r3182
1993-01-10 22:33:45 +00:00
Paul Eggert
8008b22801 # Fix misspellings in comments.
From-SVN: r3181
1993-01-10 20:12:31 +00:00
Paul Eggert
0e6bbe31e8 # Fix misspellings in comments.
From-SVN: r3180
1993-01-10 19:39:06 +00:00
Paul Eggert
13d39dbc99 # Fix misspellings in comments.
From-SVN: r3179
1993-01-10 19:16:01 +00:00
Richard Kenner
8999a12e46 (make_extraction): Don't use POS < 0 as a flag that POS_RTX is to be used; instead use POS_RTX unless it is nonzero.
(make_extraction): Don't use POS < 0 as a flag that POS_RTX is to be
used; instead use POS_RTX unless it is nonzero.  If POS_RTX is a
constant, set POS and clear POS_RTX.
(make_compound_operation, make_field_assignment): Pass 0 for POS
instead of -1 when POS_RTX is nonzero.

From-SVN: r3178
1993-01-10 11:40:26 -05:00
Richard Stallman
08fb99fa7d (reload_as_needed): Test for whether to call
forget_old_reloads_1 for a REG_INC note was backwards.

From-SVN: r3177
1993-01-10 01:39:14 +00:00
Richard Stallman
d10d74360e (alloca): Undef before defining.
From-SVN: r3176
1993-01-09 21:50:05 +00:00
Richard Stallman
e986e82af8 (ASM_OUTPUT_LOCAL): New override.
From-SVN: r3175
1993-01-09 15:24:16 +00:00
Richard Stallman
4cf3301cf5 (lookup_compiler): Fix special code for `-' suffix.
From-SVN: r3174
1993-01-09 15:10:30 +00:00
Richard Kenner
6de2de122b Add copyright notice.
From-SVN: r3173
1993-01-09 07:17:48 -05:00
Richard Stallman
ba99333a38 (yylex): Change warning msg when decimal const is unsigned.
From-SVN: r3172
1993-01-09 09:25:56 +00:00
Richard Stallman
a2ecc7b9de (bootstrap*): Pass BOOT_LDFLAGS down as LDFLAGS.
From-SVN: r3171
1993-01-09 09:21:53 +00:00
Richard Stallman
316bd0626a (install-dir): Don't create gcc-lib/include.
From-SVN: r3170
1993-01-09 09:19:37 +00:00
Richard Stallman
644ea577e5 (output_constant): Handle CHAR_TYPE and BOOLEAN_TYPE like INTEGER_TYPE.
From-SVN: r3169
1993-01-09 09:16:50 +00:00
Richard Stallman
c55dc79a59 (init_module_descriptor):
Use size_in_bytes to get size of `struct objc_module'.

From-SVN: r3168
1993-01-09 09:14:53 +00:00
Richard Stallman
58811315a1 (init_decl_processing): Use unsigned_intQI_type_node,
not unsigned_char_..., as index type for ..._array_type_node.

(pushdecl): Avoid multiple extern decl mismatch warnings
when previous decl is built-in.

From-SVN: r3167
1993-01-09 09:09:53 +00:00
Richard Stallman
c10afc44d5 (really_sorry): Use progname in error message, not c++.
From-SVN: r3166
1993-01-09 09:03:38 +00:00
Richard Stallman
96f153da76 (expand_binop): For complex mult, compute res in each alternative, not before.
From-SVN: r3165
1993-01-09 08:51:21 +00:00
Richard Stallman
676ce22316 (bootstrap): Pass along CC and libdir in first compile.
From-SVN: r3164
1993-01-09 08:19:25 +00:00
Richard Stallman
8355fc27ae (yylex): Don't allow @ in identifier outside of Objective C.
From-SVN: r3163
1993-01-09 02:56:59 +00:00
Brendan Kehoe
10055ae243 Cygnus<-->FSF merge.
From-SVN: r3162
1993-01-08 21:03:56 -05:00
Brendan Kehoe
76e616dbb8 Initial revision
From-SVN: r3161
1993-01-08 20:58:44 -05:00
Richard Kenner
c6dc70d681 (BYTE_LOAD_EXTEND, LOAD_EXTEND): New macros.
(subst, simplify_and_const_int, nonzero_bits, num_sign_bit_copies): Use them.
(subst, case SET): Make a SIGN_EXTEND instead of paradoxical SUBREG if
BYTE_LOADS_SIGN_EXTEND; previously only made ZERO_EXTEND.

From-SVN: r3160
1993-01-08 17:26:25 -05:00
Richard Stallman
f093e272e4 Comment changes.
From-SVN: r3159
1993-01-08 22:02:50 +00:00
Richard Kenner
8c3948785b (assign_parm): Fix typo introduced by previous change.
From-SVN: r3158
1993-01-08 16:12:18 -05:00
Torbjorn Granlund
5fa1be5021 (plus_xor_ior_operator): New predicate.
From-SVN: r3157
1993-01-08 20:09:26 +00:00
James Van Artsdalen
e35dd71d27 Initial revision
From-SVN: r3156
1993-01-08 09:54:02 +00:00
James Van Artsdalen
60c9835ecc (perform_*): Move to i386/perform.h.
Include i386/perform.h.

From-SVN: r3155
1993-01-08 09:52:03 +00:00
Jeff Law
37d7333eae pa.h (target_switches): Add "-mtrailing-colon"
* pa.h (target_switches): Add "-mtrailing-colon"
	(ASM_OUTPUT_LABEL): If TARGET_TRAILING_COLON then emit
	a colon after the label.
	(ASM_OUTPUT_INTERNAL_LABEL): Likewise.
	(ASM_OUTPUT_COMMON): Likewise.
	(ASM_OUTPUT_LOCAL): Likewise.

From-SVN: r3154
1993-01-07 17:03:41 -07:00
Richard Kenner
957f7fb8d8 Include vax/vax.h, not vax.h.
From-SVN: r3153
1993-01-07 18:04:57 -05:00
Richard Kenner
a87fdbf94f Inlcude vax/vax.h, not vax.h.
From-SVN: r3152
1993-01-07 18:04:04 -05:00