Per Bothner
690ddf3e4e
Initial revision
...
From-SVN: r5124
1993-08-09 18:56:14 -07:00
Per Bothner
633b477b02
Remove some extraneuous garbase output.
...
From-SVN: r5123
1993-08-09 18:52:49 -07:00
Jim Wilson
05be4ceac4
(assembler_variable): For XCOFF_DEBUG, restore section
...
if dbxout_symbol call changes it.
From-SVN: r5122
1993-08-09 12:42:21 -07:00
Jim Wilson
211b330fd8
(schedule_insns): Don't emit a NOTE at the end of the last basic block if...
...
(schedule_insns): Don't emit a NOTE at the end of the last
basic block if that would put it between a JUMP_INSN and a BARRIER.
From-SVN: r5121
1993-08-09 12:37:23 -07:00
Jim Wilson
256f27acc1
(OPTIMIZATION_OPTIONS): Use |=, not &= to set -mpgopt.
...
From-SVN: r5120
1993-08-09 12:29:28 -07:00
Jim Wilson
377b776116
(function_arg, DFmode case): Set regbase to GP_ARG_FIRST
...
if cum->arg_number greater than or equal to 2.
From-SVN: r5119
1993-08-09 12:26:03 -07:00
Richard Kenner
835532b871
(widen_operand): New function.
...
(expand_binop, expand_unop): Call it.
From-SVN: r5118
1993-08-09 07:30:54 -04:00
Richard Stallman
2e9effae27
(contains_pointers_p): New function.
...
(assemble_variable): Use that.
From-SVN: r5117
1993-08-09 07:30:04 +00:00
Jim Wilson
654209e6a1
(sparc_type_code): Support range types.
...
From-SVN: r5116
1993-08-08 16:19:27 -07:00
Jim Wilson
591b15bb1c
(expand_increment): Call save_expr on inner expression if
...
it is itself an increment expression.
From-SVN: r5115
1993-08-08 15:48:15 -07:00
Jim Wilson
3de13334ba
(_SC_PAGE_SIZE): Define to _SC_PAGESIZE if that exists.
...
From-SVN: r5114
1993-08-08 15:19:52 -07:00
Jim Wilson
302484ff4a
(reg_or_0_operand): Use fp_zero_operand.
...
(fp_zero_operand): New function.
From-SVN: r5113
1993-08-08 15:10:02 -07:00
Jim Wilson
96f69de58d
(CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand.
...
From-SVN: r5112
1993-08-08 15:08:50 -07:00
Jim Wilson
e6d525599d
(build_array_ref): Force array to be allocated on the stack if...
...
(build_array_ref): Force array to be allocated on the
stack if it is accessed by out-of-bound constant integer subscript.
From-SVN: r5111
1993-08-08 14:38:20 -07:00
Richard Kenner
312def2eda
(num_sign_bit_copies): Properly handle case when MODE is narrower than that of X.
...
(num_sign_bit_copies): Properly handle case when MODE is narrower than that
of X.
(simplify_shift_const): Remove change of July 26.
From-SVN: r5110
1993-08-08 17:31:39 -04:00
Jim Wilson
00aae7b152
New file.
...
From-SVN: r5109
1993-08-08 14:25:54 -07:00
Richard Stallman
709f5be119
(expand_assignment): If WANT_VALUE is 0, return NULL.
...
(store_expr): Likewise.
Rename arg SUGGEST_REG to WANT_VALUE.
Never return TARGET if WANT_VALUE unless BLKmode.
Instead, return TEMP or a value copied from TARGET.
Pass 0 for WANT_VALUE in recursive calls that ignore value.
(expand_expr, case PLUS_EXPR): Goto binop2 not
both_summands if we should not be returning a plus.
(do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic,
copy INDEX to a register early, to avoid invalid address later.
From-SVN: r5108
1993-08-08 18:54:00 +00:00
Richard Stallman
5b272d50fa
(rest_of_decl_compilation): Fix typo in previous change.
...
From-SVN: r5107
1993-08-08 18:31:42 +00:00
Richard Stallman
34d6bae3ee
(declare_function_name): Set DECL_EXTERNAL in the decls.
...
From-SVN: r5106
1993-08-08 08:33:48 +00:00
Richard Stallman
9a9a96439d
(rest_of_decl_compilation): Don't look at DECL_IGNORED_P.
...
Don't output a read-only initialized extern variable.
From-SVN: r5105
1993-08-08 08:33:22 +00:00
Richard Stallman
fe23d5ada2
(process_init_element): Don't call clear_momentary if value is 0.
...
From-SVN: r5104
1993-08-08 02:27:07 +00:00
Richard Kenner
92b376919d
(find_reloads): Don't combine two reloads if their reload_reg_rtx
...
values differ.
From-SVN: r5103
1993-08-07 18:21:23 -04:00
Doug Evans
dc17cfda7d
(MAX_MOVE_MAX, MAX_UNITS_PER_WORD): New macros.
...
(regno_save_mode, regno_save_mem): Use them.
From-SVN: r5102
1993-08-07 19:58:54 +00:00
Doug Evans
6706083e3a
c-decl.c (init_decl_processing): Make long long available to | use for SIZE_TYPE and PTRDIFF_TYPE.
...
* c-decl.c (init_decl_processing): Make long long available to
| use for SIZE_TYPE and PTRDIFF_TYPE.
From-SVN: r5101
1993-08-07 19:50:59 +00:00
Richard Stallman
09acc9edc7
(strict_low_part add/subtract recognizers): Use %2, not %1, in template.
...
From-SVN: r5100
1993-08-07 18:51:16 +00:00
Richard Kenner
ec6840c19d
(add_long_const): New function.
...
(output_{pro,epi}log): Use it.
If register save area is more than 32768 from SP, compute its address into
a register.
From-SVN: r5099
1993-08-07 10:37:12 -04:00
Richard Kenner
bc1c7e9300
(expand_divmod): Clean up code and documentation, especially in areas
...
related to when copies are made.
From-SVN: r5098
1993-08-07 07:43:53 -04:00
Richard Kenner
a61c98cf7f
(push_reload, find_reloads): Treat (subreg (pseudo)) and (subreg (mem)) the same.
...
(push_reload, find_reloads): Treat (subreg (pseudo)) and (subreg (mem))
the same.
If we have (subreg:M1 (mem:M2 ...) ...), never do anything special if M1
and M2 are the same size.
From-SVN: r5097
1993-08-07 07:42:21 -04:00
Richard Kenner
126424267e
(print_node): Print obstack node is contained in.
...
From-SVN: r5096
1993-08-07 07:40:17 -04:00
Richard Kenner
c4be79d289
(print_obstack_name): New function; derived from original debug_obstack.
...
(debug_obstack): Call print_obstack_name.
From-SVN: r5095
1993-08-07 07:39:47 -04:00
Richard Stallman
f3b4fb6ec8
(finish_decl): Allow file-scope static incomplete array.
...
From-SVN: r5094
1993-08-07 08:48:29 +00:00
Richard Stallman
1e40eab801
(output_init_element): Fix backward test in last change.
...
Use TYPE_MAIN_VARIANT.
From-SVN: r5093
1993-08-06 23:39:46 +00:00
Richard Stallman
188a81900f
(call and call_value pic recognizers) [HPUX_ASM]:
...
Output plain bsr, without `@PLTPC'.
From-SVN: r5092
1993-08-06 23:38:51 +00:00
Ian Lance Taylor
4dbc7773ff
Permit relative path for standard_startfile_prefix
...
From-SVN: r5091
1993-08-06 20:45:36 +00:00
Richard Kenner
bf0263690e
(shifts): Use reg_or_6bit_operand for shift counts.
...
From-SVN: r5090
1993-08-06 16:11:53 -04:00
Richard Kenner
4a1d2a466b
(PREDICATE_CODES): Add reg_or_6bit_operand to list.
...
From-SVN: r5089
1993-08-06 16:11:21 -04:00
Richard Kenner
f4014bfd8f
(reg_or_6bit_operand): New function.
...
From-SVN: r5088
1993-08-06 16:10:43 -04:00
Richard Stallman
e6157ab48f
(main): If -v, print header search dir list.
...
From-SVN: r5087
1993-08-06 08:24:14 +00:00
Richard Stallman
d3ab975391
(output_init_element): Call default_conversion here.
...
Set constructor_erroneous, etc., here.
(process_init_element): Not here.
From-SVN: r5086
1993-08-06 07:08:12 +00:00
Richard Stallman
fda59a9a3f
Test and define __INT_WCHAR_T_H.
...
From-SVN: r5085
1993-08-06 05:58:10 +00:00
Richard Stallman
61df2ee2d5
(finish_struct): No pedwarn for field with enum type if size matches int.
...
(grokdeclarator): No error for void type for extern or global var.
(grokdeclarator): Warn here for volatile fn returning non-void type.
(start_function): Not here.
(grokdeclarator): Don't pass on const and volatile
fron function value type to function type.
From-SVN: r5084
1993-08-06 01:11:37 +00:00
Richard Stallman
d8e29a65dd
(attrib): Support attribute volatile' with alias
noreturn', and `const'.
...
(stmt): In an expr stmt, call default_conversion for arrays/functions.
From-SVN: r5083
1993-08-06 01:09:27 +00:00
Richard Stallman
3550617cd5
(decl_attributes): Support attributes `volatile'
...
with alias `noreturn', and `const'.
From-SVN: r5082
1993-08-06 01:08:12 +00:00
Richard Stallman
d11fdb4528
(output_init_element): Call digest_init before calling output_constant.
...
(output_init_element): Call digest_init before
calling output_constant. Always pass 0, 0 for last 2 args
to digest_init.
(build_binary_op): Warn about ordered comparison
between pointers to complete and incomplete types.
(digest_init): No error for a STRING_CST that already
went through digest_init.
(parser_build_binary_op): Generate a NON_LVALUE_EXPR, not NOP_EXPR,
around a constant value.
From-SVN: r5081
1993-08-06 01:07:18 +00:00
Brendan Kehoe
5f11ca4c7e
Cygnus<->FSF merge, added g++ driver in C
...
From-SVN: r5080
1993-08-05 21:01:02 -04:00
Richard Kenner
a638896014
(layout_type): Put size-related nodes in same obstack as type.
...
From-SVN: r5079
1993-08-05 19:23:52 -04:00
Richard Kenner
d9cbc259b2
(make_node, copy_node): Set TYPE_OBSTACK.
...
(build_type_variant, build_type_copy, build_pointer_type): Put new node in
same obstack as old node; use push/pop obstacks.
From-SVN: r5078
1993-08-05 19:23:22 -04:00
Richard Kenner
b20e883e39
(TYPE_OBSTACK): New macro.
...
(struct tree_type): Add new field obstack.
From-SVN: r5077
1993-08-05 19:22:48 -04:00
Richard Kenner
f72ccbe63a
(push_reload, find_reloads): Refine when we reload inside a SUBREG by respecting BYTE_LOADS_*_EXTEND...
...
(push_reload, find_reloads): Refine when we reload inside a SUBREG by
respecting BYTE_LOADS_*_EXTEND; see comments in push_reload.
From-SVN: r5076
1993-08-05 19:17:30 -04:00
Michael Meissner
ebe6d7a7cc
Enable .size for elf functions.
...
From-SVN: r5075
1993-08-05 21:17:07 +00:00