9911 Commits

Author SHA1 Message Date
Richard Kenner
21403f14b2 (fold): When converting a COND_EXPR to an ABS_EXPR, get the types
right for ABS_EXPR to work.

From-SVN: r9939
1995-06-13 18:32:39 -04:00
Richard Kenner
dbfac751de jason@cygnus.com
From-SVN: r9938
1995-06-13 18:25:20 -04:00
Richard Kenner
c8faea875f Unknown; from Jason.
From-SVN: r9937
1995-06-13 18:23:39 -04:00
Richard Kenner
df38ebdddb Lose all references to current_vtable_decl, CLASSTYPE_INST_VAR and
CLASSTYPE_VTBL_PTR.

From-SVN: r9936
1995-06-13 18:21:53 -04:00
Richard Kenner
5f34005f06 (start_function): Handle setting C_C_D here.
(set_C_C_D): Removed.
(struct saved_scope): Remove class_decl.
(push_to_top_level): Don't save current_class_decl.
(pop_from_top_level): Don't restore current_class_decl or C_C_D.
(struct cp_function): Add C_C_D.
(push_cp_function_context): Save C_C_D.
(pop_cp_function_context): Restore C_C_D.
(set_C_C_D): New function.
(pop_from_top_level, start_function, pop_cp_function_context): Call it.
Lose all references
to current_vtable_decl, CLASSTYPE_INST_VAR and CLASSTYPE_VTBL_PTR.
(push_cp_function_context): Save current_class_decl.
(pop_cp_function_context): Restore current_class_decl and set C_C_D.
(pop_from_top_level): Don't use CLASSTYPE_INST_VAR to set C_C_D.
(start_function): Ditto.

From-SVN: r9935
1995-06-13 18:20:17 -04:00
Richard Kenner
8bf4192989 Lose all references to current_vtable_decl, CLASSTYPE_INST_VAR and CLASSTYPE_VTBL_PTR.
Lose all references to current_vtable_decl, CLASSTYPE_INST_VAR and
CLASSTYPE_VTBL_PTR.
Don't mess with current_class_decl, current_vtable_decl, or C_C_D.

From-SVN: r9934
1995-06-13 18:19:15 -04:00
Richard Kenner
e4be64d097 (fill_simple_delay_slots): Set MAYBE_NEVER according to code of
TRIAL_DELAY, not TRIAL.

From-SVN: r9933
1995-06-12 17:09:44 -04:00
Doug Evans
7f9cce93f3 (link_command_spec): Undo patch of May 11.
-nostdlib implies -nostartfiles again.
New argument -nodefaultlibs.

From-SVN: r9932
1995-06-12 19:01:48 +00:00
Doug Evans
88bf2bdc8d Undo patch of May 24. Don't pass "-e start" if -nostdlib again.
From-SVN: r9931
1995-06-12 19:00:48 +00:00
Doug Evans
a9821774c9 Undo patch of May 11. -nostdlib implies -nostartfiles again.
From-SVN: r9930
1995-06-12 18:52:41 +00:00
Richard Kenner
0de9e56a34 (fix-header.o): Depends on xsys-protos.h.
From-SVN: r9929
1995-06-11 20:47:44 -04:00
Richard Kenner
c7093272e0 (emit_reload_insns): Don't call HARD_REGNO_NREGS on psuedo when
clearing reg_last_reload_reg.

From-SVN: r9928
1995-06-11 15:07:41 -04:00
Richard Kenner
cb64e62696 (cmpdi matcher): Set cc_status before returning.
From-SVN: r9927
1995-06-11 14:10:09 -04:00
Richard Kenner
055c15842a ({add,sub}di{_mem,3}): Patterns merged.
From-SVN: r9926
1995-06-11 14:06:51 -04:00
Richard Kenner
76ffb3a0be (variable_size): Do nothing if SIZE is constant.
From-SVN: r9925
1995-06-11 13:59:56 -04:00
Richard Kenner
ee3ac81d77 (math.h): Keep declaration of abs on HPUX.
From-SVN: r9924
1995-06-11 13:38:42 -04:00
Richard Kenner
d09a75ae93 (expand_asm_operands): See if output operand permits register.
(expand_asm_operands): See if output operand permits register.  If
not, mark output addressable, call expand_operand on it, and give
error if not MEM.

From-SVN: r9923
1995-06-11 13:18:02 -04:00
Richard Kenner
621061f4f3 (assign_parms): Handle promotions of both passed and nominal modes separately and insert needed conversions.
(assign_parms): Handle promotions of both passed and nominal modes separately
and insert needed conversions.
(promoted_input_arg): Return 0 if nominal and passed modes differ.

From-SVN: r9922
1995-06-11 13:13:53 -04:00
Richard Kenner
c02aebe2e8 (all_cases_count, case INTEGER_TYPE): Fix typo in checking for integer
bounds.

From-SVN: r9921
1995-06-11 12:31:30 -04:00
Richard Kenner
cac896d8de (_floatdidf): Correctly set float sizes.
From-SVN: r9920
1995-06-10 09:04:45 -04:00
Richard Kenner
92d6875bdd (c_decode_option, case "-Wall"): Don't set extra_warnings.
From-SVN: r9919
1995-06-10 08:58:39 -04:00
Richard Kenner
594f6fc593 (cpplib.o, fix-header.o): Update dependencies.
(cpperror.o, cppexp.o, cpphash.o): New rules, to show .h dependencies.

From-SVN: r9918
1995-06-10 08:55:01 -04:00
Richard Kenner
3d1877b127 (lshift_double): Replace &' with %' to fix typo.
(lshift_double, rshift_double): Truncate shift count only if
SHIFT_COUNT_TRUNCATED.  Remove unnecessary `count >= prec' test.

From-SVN: r9917
1995-06-09 19:29:17 -04:00
Richard Kenner
146135d6db (cse_basic_block): Fix test for whether block ends with a barrier.
Return next insn, not 0, if block ends in a barrier.

From-SVN: r9916
1995-06-09 18:05:54 -04:00
Richard Kenner
138c94ea17 (left_shift): Ignore integer overflow.
From-SVN: r9915
1995-06-09 18:01:39 -04:00
Richard Kenner
245391da4e (skip_evaluation): New variable.
(&&, ||, ?:): Increment it in unevaluated subexpressions.
(/, %, integer_overflow): Suppress diagnostics if skip_evaluation != 0.
(yyerror): Clear skip_evaluation.

From-SVN: r9914
1995-06-09 17:58:24 -04:00
Richard Kenner
17856c497f (tstdi): Rewrite.
From-SVN: r9913
1995-06-09 17:48:51 -04:00
Richard Kenner
7a208c0b67 (scan_decls): Handle declarations with multiple comma-separated
declarators.

From-SVN: r9912
1995-06-09 17:28:52 -04:00
Richard Kenner
37811a734e (store_split_bit_field): When adjust arg in BYTES_BIT_ENDIAN case...
(store_split_bit_field): When adjust arg in BYTES_BIT_ENDIAN case, use
number of bits in arg for MEM operands and BITS_PER_WORD for other
operands.
(extract_fixed_bit_field): Undo last change.

From-SVN: r9911
1995-06-08 19:21:13 -04:00
Richard Kenner
68450062d9 (mov[sd]f expands): Don't allow fp constants in pseudos when
TARGET_SOFT_FLOAT.

From-SVN: r9910
1995-06-08 19:15:59 -04:00
Richard Kenner
d8191d8627 (verify_addresses): New function.
(find_splittable_givs): Use verify_addresses instead of memory_address_p.

From-SVN: r9909
1995-06-08 19:11:30 -04:00
Mike Stump
82580166a8 Change all callers of finish_decl to cp_finish_decl.
(finish_decl): New routine to handle call backs from the mid
end (declare_hidden_char_array).

From-SVN: r9908
1995-06-08 19:07:04 -04:00
Mike Stump
b3417a0464 Change all callers of finish_decl to cp_finish_decl.
From-SVN: r9907
1995-06-08 19:06:37 -04:00
Mike Stump
ee760f3f6b mrs@cygnus.com
From-SVN: r9906
1995-06-08 19:03:29 -04:00
Richard Kenner
f737b1326e (expand_divmod): Always check result of emit_store_flag.
From-SVN: r9905
1995-06-08 18:58:06 -04:00
Richard Kenner
cd5b346969 (assign_parms): Don't call promote_mode on arg unless
PROMOTE_FUNCTION_ARGS defined.

From-SVN: r9904
1995-06-08 18:49:09 -04:00
Richard Kenner
a684512372 (decrement_and_branch): Ensure label is operand 0.
From-SVN: r9903
1995-06-08 18:23:50 -04:00
Richard Kenner
455350f417 (aux_truncdfsf2): New pattern.
(movsf): Use it instead of invalid SUBREG and truncdfsf2.

From-SVN: r9902
1995-06-08 17:42:08 -04:00
Richard Kenner
27f3162f4b (cpp_push_buffer): Include filename in error message.
From-SVN: r9901
1995-06-08 12:02:22 -04:00
Richard Kenner
8790738797 (assemble_name): Disable warn_id_clash around get_identifier call.
From-SVN: r9900
1995-06-08 11:53:36 -04:00
Richard Kenner
25216284b0 (fold): When folding `<' type nodes, make true_value and false_value
have correct types.

From-SVN: r9899
1995-06-07 17:17:08 -04:00
Richard Kenner
d36c3fe262 (COFF scan_prog_file): Use the AIX duplicate entry.
From-SVN: r9898
1995-06-07 05:06:35 -04:00
Richard Kenner
330446eb52 (expand_expr, case PLACEHOLDER_EXPR): Consider two types identical if
their TYPE_MAIN_VARIANTs are the same.

From-SVN: r9897
1995-06-06 18:55:28 -04:00
Richard Kenner
32addcdf7b (FUNCTION_ARG_CALLEE_COPIES): Define.
From-SVN: r9896
1995-06-06 18:43:00 -04:00
Richard Kenner
8615176a9a (start_decl): Set DECL_COMMON before calling decl_attributes.
From-SVN: r9895
1995-06-06 18:39:24 -04:00
Richard Kenner
e0dc347cf2 (print_operands): Cast args to bcopy to char *.
From-SVN: r9894
1995-06-06 18:33:37 -04:00
Richard Kenner
f4fa7423c3 (duplicate_decls): Don't clear DECL_CONTEXT of new decl if it is a
function.

From-SVN: r9893
1995-06-06 18:21:02 -04:00
Richard Kenner
2e21df5a7f (do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE.
From-SVN: r9892
1995-06-06 17:57:34 -04:00
Richard Kenner
015892ee4a (expand_block_move): Update source and destination pointers inside the
loop moving the bytes, not outside.

From-SVN: r9891
1995-06-06 17:52:58 -04:00
Richard Kenner
adedad3ee4 (finalize_pic): Emit USE insn at start and end of function.
From-SVN: r9890
1995-06-06 14:58:32 -04:00