Commit Graph

2349 Commits

Author SHA1 Message Date
Tom Wood
08e8857cbb (m88k_volatile_code): New variable.
(print_operand): Track volatile memory references and output a
	serializing instruction before a load when necessary.
(m88k_version, m88k_version_0300): New variables.

From-SVN: r2150
1992-09-18 10:41:10 +00:00
Richard Stallman
0380c535b1 (install-common-headers): Don't copy byteorder.h.
From-SVN: r2149
1992-09-18 05:09:55 +00:00
Richard Stallman
47068b86eb Don't include-next if _LIBC_LIMITS_H_ defined.
From-SVN: r2148
1992-09-17 21:28:44 +00:00
Richard Stallman
f46ffce4f8 (parse_escape): Diagnose '\x' with no digits.
Diagnose integer overflow when parsing \x escapes.

From-SVN: r2147
1992-09-17 21:11:17 +00:00
Richard Stallman
0e14ddbcfc Comment added.
From-SVN: r2146
1992-09-17 19:47:09 +00:00
Richard Stallman
f396d2783c (SIGNED_CHAR_SPEC): Use #if rather than ?...
(SIGNED_CHAR_SPEC): Use #if rather than ?: to handle
setting the default SIGNED_CHAR_SPEC macro, since the 3.0 version
of the MIPS C compiler doesn't like ?: in initializers.

From-SVN: r2145
1992-09-17 19:45:49 +00:00
Timothy Moore
b5ae93b42f Initial revision
From-SVN: r2144
1992-09-17 19:10:21 +00:00
Timothy Moore
3e5c2e141d (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_SIZE): Define for hpux.

From-SVN: r2143
1992-09-17 19:09:02 +00:00
Timothy Moore
3d247e8521 (FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Fix double integer argument alignment.
(FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Fix double integer
        argument alignment.
        (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_SIZE): Define.

From-SVN: r2142
1992-09-17 19:08:30 +00:00
James Van Artsdalen
68daafd46e (print_operand): Don't abort if error: might have been a user asm.
From-SVN: r2141
1992-09-17 05:21:44 +00:00
James Van Artsdalen
442426450e (addsi3,ashlsi3): Handle the case where the stack pointer appears as an
index reg.

From-SVN: r2140
1992-09-17 05:20:26 +00:00
Richard Stallman
3292923dd1 (parse_number): Warn about '9' in octal constants.
Commonize overflow detection for various radices.

From-SVN: r2139
1992-09-17 02:46:36 +00:00
Torbjorn Granlund
58939c25bd (casesi): Use emit_jump_insn to emit casesi0 pattern.
(xorsi3): Remove `r' from output template.
(movstrsi recognizer): Add `+' to operand 0 & 1 constraints.

From-SVN: r2138
1992-09-16 23:36:52 +00:00
Michael Meissner
6f3c667fbe print correct number of half-pic ptrs/refs for -mstats
From-SVN: r2137
1992-09-16 19:59:37 +00:00
Michael Meissner
4debb28042 Do not fold constant comparisons
From-SVN: r2136
1992-09-16 18:52:31 +00:00
Richard Stallman
fcc415d459 (rest_of_decl_compilation): Call `dwarfout_file_scope_decl' immediately for...
(rest_of_decl_compilation):  Call `dwarfout_file_scope_decl'
immediately for actual *definitions* of file-scope variables (and
file-scope typedefs too).

From-SVN: r2135
1992-09-16 02:55:26 +00:00
Jim Wilson
04b5ab57e5 (EXINIT): Clear it to avoid problems with bad values.
From-SVN: r2134
1992-09-15 18:17:03 -07:00
Jim Wilson
3629f741df (print_node): Don't print blank line for null fields in a TREE_VEC.
From-SVN: r2133
1992-09-15 18:13:47 -07:00
Jim Wilson
7dcdbecbbc (macroexpand): Don't output another error message if have
already output error message returned from macarg.

From-SVN: r2132
1992-09-15 18:10:26 -07:00
Jim Wilson
c47851ddce (grokparms): Copy parm list if it isn't permanent,
instead of copying it if temporary allocation has been turned off.

From-SVN: r2131
1992-09-15 18:07:05 -07:00
Jim Wilson
61a6dd99fd (only_leaf_regs_used): Check for global_regs.
From-SVN: r2130
1992-09-15 18:03:48 -07:00
Jim Wilson
ff92a69118 (lang_identifier): Add limbo_value field for out of scope block level extern declarations.
(lang_identifier): Add limbo_value field for out of
scope block level extern declarations.
(IDENTIFIER_LIMBO_VALUE): New define, to access that field.

From-SVN: r2129
1992-09-15 17:55:38 -07:00
Jim Wilson
fd0b8fce4d (print_lang_identifier): Print value of limbo field.
(pushdecl): Check an extern decl against both previous global and
previous limbo declarations.  For global declarations, clear limbo
value field.  For block level extern declarations, set limbo field
if zero.
(grokdeclarator): If this is a block level extern, then allocate
it on the permanent obstack, not the temporary obstack.

From-SVN: r2128
1992-09-15 17:54:45 -07:00
Richard Stallman
5a9085c7dc (yylex): Integer constant is unsigned for purposes of
int_fits_type_p so that it compares huge constants properly.

From-SVN: r2127
1992-09-15 21:37:46 +00:00
Richard Stallman
dcffa15b6e (int_fits_type_p): Negative ints never fit unsigned
types, and unsigned ints with top-bit-set never fit signed types.

From-SVN: r2126
1992-09-15 21:37:22 +00:00
Michael Meissner
e837539976 Do cld before each string move/compare.
From-SVN: r2125
1992-09-15 18:44:07 +00:00
Richard Stallman
7436f435ab (va_arg): Cast ptr to void *, then to TYPE *.
From-SVN: r2124
1992-09-15 05:08:02 +00:00
Richard Stallman
347099d6ef (record_reg_classes): Ignore leading % when examining constraint.
Don't bypass usual cost computation when a pseudo "matches"
a non-pseudo in matching operands.

From-SVN: r2123
1992-09-15 04:47:08 +00:00
Richard Stallman
69c3f3434a (ftell): Declaration deleted.
From-SVN: r2122
1992-09-15 04:09:42 +00:00
Richard Stallman
ce73f2a5bb (parse_number): Diagnose integer constants that are too large.
Diagnose duplicate `l' and `u' suffixes.  Diagnose ` 0x ' and ` 0a '.
Warn about integer constants that are so large that they are unsigned.

From-SVN: r2121
1992-09-14 20:38:33 +00:00
Richard Stallman
c832a30eb3 (yylex): Warn about integers so large that they are unsigned.
From-SVN: r2120
1992-09-14 18:45:50 +00:00
Richard Stallman
57caa638af *** empty log message ***
From-SVN: r2119
1992-09-14 14:33:07 +00:00
Richard Stallman
4cf8de9f3e (exp): Detect signed integer overflow.
Replace `(unsigned)' with `(unsigned long)'.  When
evaluating << and >>, compute the correct answer without shifting
by more than HOST_BITS_PER_LONG, or by a negative quantity.
(integer_overflow, left_shift, right_shift): New functions.

From-SVN: r2118
1992-09-13 17:36:33 +00:00
Richard Stallman
0bbb7f4d24 (expand_binop): Convert op1 of shift libcall to word_mode.
From-SVN: r2117
1992-09-13 17:26:24 +00:00
Torbjorn Granlund
304f705fef Clean up indentation.
From-SVN: r2116
1992-09-13 16:02:23 +00:00
Torbjorn Granlund
0e7f4c1941 (compute_xdepi_operands_from_integer): New function.
Some code come from output_zdepi.
(output_zdepi): Removed. (depi_cint_operand): New name for zdepi_operand.
(consec_zeros_p, and_operand, ior_mask_p, ior_operand,
output_and, output_ior): New functions.
(output_load_address): Removed.  Nothing uses it.

From-SVN: r2115
1992-09-13 15:39:59 +00:00
Torbjorn Granlund
7254dbd497 (output_and, output_ior): Declare.
(CONST_OK_FOR_LETTER_P): Add 'O' and 'P'.

From-SVN: r2114
1992-09-13 15:38:06 +00:00
Torbjorn Granlund
876662ef35 (several patterns): Make sure # of attribute alternatives match # of constraint alternatives.
(several patterns): Make sure # of attribute alternatives
match # of constraint alternatives.
Return assembler output template instead of calling output_asm_insn.
Don't write to operands[n] for n >= max operand number in the
pattern, use xoperands instead.
(casesi): Rewrite.  Used to be buggy and slow.
(and-not patterns): Make them canonical.  Put operands in the right order.
(negsi2): Don't use @ for just one output template.
(movstrsi): Change `!= 4' => `< 4' in test for alignment.
(adddi3): Extend to handle CONST_INT.
(ior-with-immediate optimizer): New pattern.
(and-with-immediate optimizer): New pattern.
(sCC, bCC expanders): Remove constraints.
(high:DI recognizer): Add return \"\".

From-SVN: r2113
1992-09-13 15:28:38 +00:00
Timothy Moore
a9ab5e000d *** empty log message ***
From-SVN: r2112
1992-09-13 15:11:55 +00:00
Richard Stallman
a120b7889d (yylex): If integer value overflows so highword is negative,
it needs unsigned long long.

From-SVN: r2111
1992-09-12 19:08:12 +00:00
Richard Stallman
9bd23d2c95 (__gcc_bcmp): New function, in cond on L__gcc_bcmp.
From-SVN: r2110
1992-09-12 08:45:46 +00:00
Richard Stallman
bb3facc561 (va_alist): Supply `int' as the type to define it as.
From-SVN: r2109
1992-09-12 01:10:28 +00:00
Richard Stallman
d847e6a7b5 (duplicate_decls): For file-scope redefinitions,
error message distinguishes previous definitions from mere decls.

From-SVN: r2108
1992-09-11 23:22:07 +00:00
Jeff Law
e9cfad814f pa.md (non-[cf]branch define_delay): Use a single delay description for the delay slots in "branch"...
* pa.md	(non-[cf]branch define_delay): Use a single delay description
	for the delay slots in "branch", "call", and "milli" insns.
	(fbranch define_delay): fbranches have a single delay slot which
	may be nullified when the branch is taken (regardless of direction
	or distance to the target.)
	(in_branch_delay attribute): Disallow fbranch insns explicitly.
	(floating point branches): Use "fbranch" attribute for these insns.
	Update output template to properly handle nullification.

From-SVN: r2107
1992-09-11 10:39:13 -06:00
Richard Stallman
17651386ee (build_binary_op): When checking shift widths, don't assume target integer
fits in a HOST_WIDE_INT.

From-SVN: r2106
1992-09-11 08:53:34 +00:00
Richard Stallman
2d7243898e (finish_struct): Don't assume that a target integer
fits in a HOST_WIDE_INT when checking bit-field widths.

From-SVN: r2105
1992-09-11 08:52:38 +00:00
Richard Stallman
1f0c5cc9cf (convert_to_integer): Don't pass truncation thru lshift if shift count >= width of narrower type.
(convert_to_integer): Don't pass truncation thru lshift
if shift count >= width of narrower type.  Instead, just use 0.

From-SVN: r2104
1992-09-11 07:35:32 +00:00
Richard Stallman
4f61da45f3 (SIZE_TYPE): Defined.
From-SVN: r2103
1992-09-11 05:07:29 +00:00
Richard Stallman
92b170eee9 Comment changes.
From-SVN: r2102
1992-09-11 02:01:46 +00:00
Richard Stallman
6f43c15742 (expand_binop): Fix typo, mode' => methods'.
(expand_binop): Delete #ifdef GPC; complex code now uncond.

(expand_binop): Fix typo, `mode' => `methods'.

From-SVN: r2101
1992-09-11 01:15:31 +00:00