Roland McGrath [Fri, 18 Sep 1992 23:59:45 +0000 (23:59 +0000)]
entered into RCS
From-SVN: r2155
Michael Meissner [Fri, 18 Sep 1992 21:33:31 +0000 (21:33 +0000)]
Allow calls to absolute addresses.
From-SVN: r2154
Tom Wood [Fri, 18 Sep 1992 10:46:32 +0000 (10:46 +0000)]
(load store patterns): Prepend loads and stores with %V and %v to track the type and address of the access.
(load store patterns): Prepend loads and stores with %V
and %v to track the type and address of the access.
(call_movstrsi_loop): Renamed from call_block_move_loop.
Use call-value for the block move patterns.
From-SVN: r2153
Tom Wood [Fri, 18 Sep 1992 10:43:20 +0000 (10:43 +0000)]
*** empty log message ***
From-SVN: r2152
Tom Wood [Fri, 18 Sep 1992 10:42:19 +0000 (10:42 +0000)]
(PERFERRED_DEBUGGING_TYPE): Compute based on m88k_version.
(PERFERRED_DEBUGGING_TYPE): Compute based on
m88k_version.
(CPU_DEFAULT): Make it -m88000.
From-SVN: r2151
Tom Wood [Fri, 18 Sep 1992 10:41:10 +0000 (10:41 +0000)]
(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
Richard Stallman [Fri, 18 Sep 1992 05:09:55 +0000 (05:09 +0000)]
(install-common-headers): Don't copy byteorder.h.
From-SVN: r2149
Richard Stallman [Thu, 17 Sep 1992 21:28:44 +0000 (21:28 +0000)]
Don't include-next if _LIBC_LIMITS_H_ defined.
From-SVN: r2148
Richard Stallman [Thu, 17 Sep 1992 21:11:17 +0000 (21:11 +0000)]
(parse_escape): Diagnose '\x' with no digits.
Diagnose integer overflow when parsing \x escapes.
From-SVN: r2147
Richard Stallman [Thu, 17 Sep 1992 19:47:09 +0000 (19:47 +0000)]
Comment added.
From-SVN: r2146
Richard Stallman [Thu, 17 Sep 1992 19:45:49 +0000 (19:45 +0000)]
(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
Timothy Moore [Thu, 17 Sep 1992 19:10:21 +0000 (19:10 +0000)]
Initial revision
From-SVN: r2144
Timothy Moore [Thu, 17 Sep 1992 19:09:02 +0000 (19:09 +0000)]
(SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
WCHAR_SIZE): Define for hpux.
From-SVN: r2143
Timothy Moore [Thu, 17 Sep 1992 19:08:30 +0000 (19:08 +0000)]
(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
James Van Artsdalen [Thu, 17 Sep 1992 05:21:44 +0000 (05:21 +0000)]
(print_operand): Don't abort if error: might have been a user asm.
From-SVN: r2141
James Van Artsdalen [Thu, 17 Sep 1992 05:20:26 +0000 (05:20 +0000)]
(addsi3,ashlsi3): Handle the case where the stack pointer appears as an
index reg.
From-SVN: r2140
Richard Stallman [Thu, 17 Sep 1992 02:46:36 +0000 (02:46 +0000)]
(parse_number): Warn about '9' in octal constants.
Commonize overflow detection for various radices.
From-SVN: r2139
Torbjorn Granlund [Wed, 16 Sep 1992 23:36:52 +0000 (23:36 +0000)]
(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
Michael Meissner [Wed, 16 Sep 1992 19:59:37 +0000 (19:59 +0000)]
print correct number of half-pic ptrs/refs for -mstats
From-SVN: r2137
Michael Meissner [Wed, 16 Sep 1992 18:52:31 +0000 (18:52 +0000)]
Do not fold constant comparisons
From-SVN: r2136
Richard Stallman [Wed, 16 Sep 1992 02:55:26 +0000 (02:55 +0000)]
(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
Jim Wilson [Wed, 16 Sep 1992 01:17:03 +0000 (18:17 -0700)]
(EXINIT): Clear it to avoid problems with bad values.
From-SVN: r2134
Jim Wilson [Wed, 16 Sep 1992 01:13:47 +0000 (18:13 -0700)]
(print_node): Don't print blank line for null fields in a TREE_VEC.
From-SVN: r2133
Jim Wilson [Wed, 16 Sep 1992 01:10:26 +0000 (18:10 -0700)]
(macroexpand): Don't output another error message if have
already output error message returned from macarg.
From-SVN: r2132
Jim Wilson [Wed, 16 Sep 1992 01:07:05 +0000 (18:07 -0700)]
(grokparms): Copy parm list if it isn't permanent,
instead of copying it if temporary allocation has been turned off.
From-SVN: r2131
Jim Wilson [Wed, 16 Sep 1992 01:03:48 +0000 (18:03 -0700)]
(only_leaf_regs_used): Check for global_regs.
From-SVN: r2130
Jim Wilson [Wed, 16 Sep 1992 00:55:38 +0000 (17:55 -0700)]
(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
Jim Wilson [Wed, 16 Sep 1992 00:54:45 +0000 (17:54 -0700)]
(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
Richard Stallman [Tue, 15 Sep 1992 21:37:46 +0000 (21:37 +0000)]
(yylex): Integer constant is unsigned for purposes of
int_fits_type_p so that it compares huge constants properly.
From-SVN: r2127
Richard Stallman [Tue, 15 Sep 1992 21:37:22 +0000 (21:37 +0000)]
(int_fits_type_p): Negative ints never fit unsigned
types, and unsigned ints with top-bit-set never fit signed types.
From-SVN: r2126
Michael Meissner [Tue, 15 Sep 1992 18:44:07 +0000 (18:44 +0000)]
Do cld before each string move/compare.
From-SVN: r2125
Richard Stallman [Tue, 15 Sep 1992 05:08:02 +0000 (05:08 +0000)]
(va_arg): Cast ptr to void *, then to TYPE *.
From-SVN: r2124
Richard Stallman [Tue, 15 Sep 1992 04:47:08 +0000 (04:47 +0000)]
(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
Richard Stallman [Tue, 15 Sep 1992 04:09:42 +0000 (04:09 +0000)]
(ftell): Declaration deleted.
From-SVN: r2122
Richard Stallman [Mon, 14 Sep 1992 20:38:33 +0000 (20:38 +0000)]
(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
Richard Stallman [Mon, 14 Sep 1992 18:45:50 +0000 (18:45 +0000)]
(yylex): Warn about integers so large that they are unsigned.
From-SVN: r2120
Richard Stallman [Mon, 14 Sep 1992 14:33:07 +0000 (14:33 +0000)]
*** empty log message ***
From-SVN: r2119
Richard Stallman [Sun, 13 Sep 1992 17:36:33 +0000 (17:36 +0000)]
(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
Richard Stallman [Sun, 13 Sep 1992 17:26:24 +0000 (17:26 +0000)]
(expand_binop): Convert op1 of shift libcall to word_mode.
From-SVN: r2117
Torbjorn Granlund [Sun, 13 Sep 1992 16:02:23 +0000 (16:02 +0000)]
Clean up indentation.
From-SVN: r2116
Torbjorn Granlund [Sun, 13 Sep 1992 15:39:59 +0000 (15:39 +0000)]
(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
Torbjorn Granlund [Sun, 13 Sep 1992 15:38:06 +0000 (15:38 +0000)]
(output_and, output_ior): Declare.
(CONST_OK_FOR_LETTER_P): Add 'O' and 'P'.
From-SVN: r2114
Torbjorn Granlund [Sun, 13 Sep 1992 15:28:38 +0000 (15:28 +0000)]
(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
Timothy Moore [Sun, 13 Sep 1992 15:11:55 +0000 (15:11 +0000)]
*** empty log message ***
From-SVN: r2112
Richard Stallman [Sat, 12 Sep 1992 19:08:12 +0000 (19:08 +0000)]
(yylex): If integer value overflows so highword is negative,
it needs unsigned long long.
From-SVN: r2111
Richard Stallman [Sat, 12 Sep 1992 08:45:46 +0000 (08:45 +0000)]
(__gcc_bcmp): New function, in cond on L__gcc_bcmp.
From-SVN: r2110
Richard Stallman [Sat, 12 Sep 1992 01:10:28 +0000 (01:10 +0000)]
(va_alist): Supply `int' as the type to define it as.
From-SVN: r2109
Richard Stallman [Fri, 11 Sep 1992 23:22:07 +0000 (23:22 +0000)]
(duplicate_decls): For file-scope redefinitions,
error message distinguishes previous definitions from mere decls.
From-SVN: r2108
Jeff Law [Fri, 11 Sep 1992 16:39:13 +0000 (10:39 -0600)]
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
Richard Stallman [Fri, 11 Sep 1992 08:53:34 +0000 (08:53 +0000)]
(build_binary_op): When checking shift widths, don't assume target integer
fits in a HOST_WIDE_INT.
From-SVN: r2106
Richard Stallman [Fri, 11 Sep 1992 08:52:38 +0000 (08:52 +0000)]
(finish_struct): Don't assume that a target integer
fits in a HOST_WIDE_INT when checking bit-field widths.
From-SVN: r2105
Richard Stallman [Fri, 11 Sep 1992 07:35:32 +0000 (07:35 +0000)]
(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
Richard Stallman [Fri, 11 Sep 1992 05:07:29 +0000 (05:07 +0000)]
(SIZE_TYPE): Defined.
From-SVN: r2103
Richard Stallman [Fri, 11 Sep 1992 02:01:46 +0000 (02:01 +0000)]
Comment changes.
From-SVN: r2102
Richard Stallman [Fri, 11 Sep 1992 01:15:31 +0000 (01:15 +0000)]
(expand_binop): Fix typo, `mode' => `methods'.
(expand_binop): Delete #ifdef GPC; complex code now uncond.
(expand_binop): Fix typo, `mode' => `methods'.
From-SVN: r2101
Timothy Moore [Thu, 10 Sep 1992 22:27:06 +0000 (22:27 +0000)]
*** empty log message ***
From-SVN: r2100
Timothy Moore [Thu, 10 Sep 1992 22:20:56 +0000 (22:20 +0000)]
(main) Write declaration for const_num_delay_slots ().
From-SVN: r2099
Timothy Moore [Thu, 10 Sep 1992 22:20:15 +0000 (22:20 +0000)]
(shorten_branches): Do shorten branches with delay slots
if the number of delay slots is constant.
From-SVN: r2098
Michael Meissner [Thu, 10 Sep 1992 21:37:46 +0000 (21:37 +0000)]
Do not allow memory->memory moves to be generated.
From-SVN: r2097
Torbjorn Granlund [Thu, 10 Sep 1992 16:47:30 +0000 (16:47 +0000)]
(casesi): Add `&' to constraint for clobber operand.
From-SVN: r2096
Richard Stallman [Thu, 10 Sep 1992 05:33:47 +0000 (05:33 +0000)]
(declare_function_name): Allow for anonymous function.
From-SVN: r2095
Richard Stallman [Thu, 10 Sep 1992 04:31:39 +0000 (04:31 +0000)]
Add comments.
From-SVN: r2094
Richard Stallman [Thu, 10 Sep 1992 04:21:33 +0000 (04:21 +0000)]
(init_fixtab): Fix typo for fix_truncdfqi2.
From-SVN: r2093
Richard Stallman [Thu, 10 Sep 1992 01:00:39 +0000 (01:00 +0000)]
(init_optabs): Use __gcc_bcmp, not real bcmp.
(expand_unop): Handle NEG for complex modes.
(expand_binop): Likewise.
(expand_complex_binop): New function.
From-SVN: r2092
Richard Stallman [Thu, 10 Sep 1992 00:47:35 +0000 (00:47 +0000)]
(mostlyclean): Delete xlimits.h.
From-SVN: r2091
Richard Stallman [Wed, 9 Sep 1992 20:35:19 +0000 (20:35 +0000)]
(output_addr_const): If 2nd arg of MINUS is negative integer, put it in parens.
From-SVN: r2090
Michael Meissner [Wed, 9 Sep 1992 14:12:07 +0000 (14:12 +0000)]
Fix va_arg for structures larger than 8 bytes.
From-SVN: r2089
Richard Stallman [Wed, 9 Sep 1992 09:03:13 +0000 (09:03 +0000)]
(.nope): Really store into environ.
From-SVN: r2088
Richard Stallman [Wed, 9 Sep 1992 07:00:48 +0000 (07:00 +0000)]
(build_index_type, build_index_2_type): Don't pass HOST_WIDE_INT to routine expecting an int.
(build_index_type, build_index_2_type): Don't pass
HOST_WIDE_INT to routine expecting an int. Don't pass negative
value even if hash code is INT_MIN.
From-SVN: r2087
Richard Stallman [Wed, 9 Sep 1992 06:56:35 +0000 (06:56 +0000)]
(convert_to_integer): When optimizing LSHIFT_EXPR and
RSHIFT_EXPR, do compares at tree level.
From-SVN: r2086
Richard Stallman [Wed, 9 Sep 1992 06:45:00 +0000 (06:45 +0000)]
Declare gen_highpart.
From-SVN: r2085
Richard Stallman [Wed, 9 Sep 1992 06:43:57 +0000 (06:43 +0000)]
(gen_highpart): New function.
From-SVN: r2084
Richard Stallman [Wed, 9 Sep 1992 06:40:37 +0000 (06:40 +0000)]
(print_node): Handle BOOLEAN_TYPE and CHAR_TYPE.
From-SVN: r2083
Richard Stallman [Wed, 9 Sep 1992 06:38:59 +0000 (06:38 +0000)]
(expand_expr): Support IN_EXPR.
(init_expr_once): Don't try HARD_REGNO_MODE_OK on VOIDmode or BLKmode.
(emit_move_insn): When moving word by word,
mark the whole thing as a libcall block.
(group_insns): New function.
(expand_expr): Implement COMPLEX_EXPR, REALPART_EXPR, IMAGPART_EXPR, CONJ_EXPR.
From-SVN: r2082
Richard Stallman [Wed, 9 Sep 1992 06:37:33 +0000 (06:37 +0000)]
(LIB2FUNCS): Add L__gcc_bcmp.
From-SVN: r2081
Richard Stallman [Wed, 9 Sep 1992 06:28:36 +0000 (06:28 +0000)]
(layout_type): Caller must give size of FILE_TYPE.
(layout_type): Handle BOOLEAN_TYPE, CHAR_TYPE, FILE_TYPE for Pascal.
(fixup_signed_type): New function.
From-SVN: r2080
Richard Stallman [Wed, 9 Sep 1992 00:27:40 +0000 (00:27 +0000)]
(dbxout_type_fields): Handle nameless subrecords for Pascal.
(dbxout_type): Handle CHAR_TYPE, BOOLEAN_TYPE. FILE_TYPE, SET_TYPE.
From-SVN: r2079
Richard Stallman [Tue, 8 Sep 1992 21:55:42 +0000 (21:55 +0000)]
(ASM_OUTPUT_OPCODE): Deleted.
From-SVN: r2078
Mike Stump [Tue, 8 Sep 1992 09:25:09 +0000 (09:25 +0000)]
Add BINFO_VPTR_FIELD definition.
From-SVN: r2077
Brendan Kehoe [Mon, 7 Sep 1992 23:42:39 +0000 (19:42 -0400)]
Moved constant_expression_warning into c-common.c.
From-SVN: r2076
Richard Stallman [Mon, 7 Sep 1992 21:22:56 +0000 (21:22 +0000)]
(convert_for_assignment): Warn about constant integer
overflow even if no conversion is involved.
From-SVN: r2075
Richard Stallman [Mon, 7 Sep 1992 06:57:50 +0000 (06:57 +0000)]
(duplicate_decls): Set DECL_INLINE in newdecl so it is copied into olddecl.
Don't set DECL_EXTERNAL in olddecl.
Preserve DECL_UID of olddecl.
From-SVN: r2074
Richard Stallman [Mon, 7 Sep 1992 06:17:38 +0000 (06:17 +0000)]
(FSGLMUL_USE_S): Defined.
From-SVN: r2073
Richard Stallman [Mon, 7 Sep 1992 06:17:16 +0000 (06:17 +0000)]
(fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x.
From-SVN: r2072
Richard Stallman [Mon, 7 Sep 1992 06:08:44 +0000 (06:08 +0000)]
(grokparms): Copy arg type list to savable obstack if nec.
From-SVN: r2071
Richard Stallman [Mon, 7 Sep 1992 06:07:30 +0000 (06:07 +0000)]
(check_case_value): Call constant_expression_warning.
From-SVN: r2070
Richard Stallman [Mon, 7 Sep 1992 06:06:12 +0000 (06:06 +0000)]
(const_binop): Fix typo.
From-SVN: r2069
Richard Stallman [Mon, 7 Sep 1992 06:04:38 +0000 (06:04 +0000)]
(main): No program should return the error_count!
Return 2 if failure due to signal, 1 if just errors.
(execute): Increment signal_count.
From-SVN: r2068
Richard Stallman [Mon, 7 Sep 1992 05:56:52 +0000 (05:56 +0000)]
(record_reg_class): For matching operands...
(record_reg_class): For matching operands, handle
case where the earlier one is not a pseudo like the case
where the later one is not a pseudo.
From-SVN: r2067
Richard Stallman [Mon, 7 Sep 1992 05:32:35 +0000 (05:32 +0000)]
(simplify_binary_operation): For DIV by 0, do nothing.
From-SVN: r2066
Jeff Law [Mon, 7 Sep 1992 00:42:04 +0000 (18:42 -0600)]
pa.c (output_function_prologue): Undo Aug.
* pa.c (output_function_prologue): Undo Aug. 13 change.
If profiling, then this function makes calls. Reflect this in
CALLINFO.
(output_function_epilogue): If profiling, then be restore "rp" here.
* pa.c (use_milli_regs): Deleted.
From-SVN: r2065
Jeff Law [Mon, 7 Sep 1992 00:41:25 +0000 (18:41 -0600)]
pa.md (indirect_jump): Annul the next instruction if the delay slot could not be filled instead of...
* pa.md (indirect_jump): Annul the next instruction if the delay
slot could not be filled instead of emitting a nop.
* pa.md (use_milli_regs attribute): Deleted, not necessary anymore.
All references deleted.
From-SVN: r2064
Torbjorn Granlund [Sun, 6 Sep 1992 21:37:08 +0000 (21:37 +0000)]
(MOVE_MAX): Define as 4.
From-SVN: r2063
Torbjorn Granlund [Sun, 6 Sep 1992 21:23:36 +0000 (21:23 +0000)]
(hard_regno_mode_ok): Don't abort if unknown mode,
return 0 instead. Declare argument MODE as `enum machine_mode'.
From-SVN: r2062
Torbjorn Granlund [Sun, 6 Sep 1992 21:10:16 +0000 (21:10 +0000)]
(HARD_REGNO_MODE_OK): Allow BLKmode.
From-SVN: r2061
James Van Artsdalen [Sun, 6 Sep 1992 10:36:53 +0000 (10:36 +0000)]
(cmpstrsi): Rewrite expander to handle operands correctly.
From-SVN: r2060
Richard Kenner [Sun, 6 Sep 1992 02:55:22 +0000 (22:55 -0400)]
(try_combine): Make change missing from last modification to splitting
code.
From-SVN: r2059
Torbjorn Granlund [Sat, 5 Sep 1992 22:51:40 +0000 (22:51 +0000)]
(before functions): Remove xmalloc decl.
(arm_asm_output_label): Cast value from xmalloc.
From-SVN: r2058
Torbjorn Granlund [Sat, 5 Sep 1992 20:36:46 +0000 (20:36 +0000)]
(storehi): Use match_operand for operand 0.
Use gen_lowpart to change mode of operand 0.
(storeinthi): Use match_operand for operand 0.
Change output code to reassign operand 0.
(truncsihi2, truncsiqi2, trunchiqi2): Remove these patterns.
From-SVN: r2057
Richard Stallman [Sat, 5 Sep 1992 06:40:27 +0000 (06:40 +0000)]
(ASM_OUTPUT_OPCODE): Defined.
From-SVN: r2056