9936 Commits

Author SHA1 Message Date
Richard Kenner
e99215a3b5 Update FSF address.
From-SVN: r9964
1995-06-15 08:04:37 -04:00
Richard Kenner
7f3ebb7ba9 Update header.
From-SVN: r9963
1995-06-15 07:54:51 -04:00
Richard Kenner
890edadebf Update FSF address.
From-SVN: r9962
1995-06-15 07:54:32 -04:00
Richard Kenner
a35311b035 Update FSF address.
From-SVN: r9961
1995-06-15 07:52:21 -04:00
Richard Kenner
1a10ad657d Update header.
From-SVN: r9960
1995-06-15 07:33:49 -04:00
Richard Kenner
940d9d638b Update FSF address.
From-SVN: r9959
1995-06-15 07:33:25 -04:00
Richard Kenner
801f82a802 entered into RCS
From-SVN: r9958
1995-06-15 07:02:40 -04:00
Richard Kenner
d37df6cc7e (LINK_SPEC): Don't pass -init __main anymore.
From-SVN: r9957
1995-06-14 22:22:02 -04:00
Richard Kenner
603b4064ce (main): Don't turn off auto_export because of -g.
(main): Ignore the argument to -o.
(main): Place o_file after an initial .o (like crt0.o).
If we have LD_INIT_SWITCH, use init and fini functions for
executables, too.  Specify the unique function names.
(write_c_file_stat): Fix the case of destructors but no constructors.
Don't include the generic-named functions for executables.
(write_c_file): If we have LD_INIT_SWITCH, always use write_c_file_stat.
(main): Also add _GLOBAL__D? to export list.

From-SVN: r9956
1995-06-14 22:21:06 -04:00
Richard Kenner
52f59d2330 Do nothing if compiled as C++.
From-SVN: r9955
1995-06-14 22:14:36 -04:00
Richard Kenner
2a13575e8a (format_char_info, case 'm'): Set type to void.
(check_format_info): If type is void, ignore operand.

From-SVN: r9954
1995-06-14 17:39:03 -04:00
Richard Kenner
f7ca2fe71e (hack_method_prototype): Set DECL_CONTEXT of parms.
From-SVN: r9953
1995-06-14 17:32:36 -04:00
Richard Kenner
c816db88c3 (expand_builtin_apply_args): Put back original register save and
restore order.

From-SVN: r9952
1995-06-14 17:03:45 -04:00
Richard Kenner
bacbde186e (output_prolog): Don't call __eabi here, let compiler call it after the arguments to main are saved.
(output_prolog): Don't call __eabi here, let compiler call it after the
arguments to main are saved.
(output_{prolog,epilog}): Don't use functions under V.4 to save and restore
floating point registers.

From-SVN: r9951
1995-06-14 16:56:14 -04:00
Richard Kenner
4cd44f166e (INVOKE__main): Define, so __eabi is called after main's arguments are
saved.

From-SVN: r9950
1995-06-14 16:55:34 -04:00
Richard Kenner
1337d65075 (PCC_BITFIELD_TYPE_MATTERS): Defined.
From-SVN: r9949
1995-06-14 16:52:07 -04:00
Richard Kenner
b4d63183da (stage[1-4]): Correctly link as', ld', and `collect2'.
From-SVN: r9948
1995-06-14 16:48:41 -04:00
Richard Kenner
db2f8a07b4 (emit_store_flag): Always set LAST.
From-SVN: r9947
1995-06-14 16:37:00 -04:00
Richard Kenner
9fe9dd86e6 Revert most of last change.
From-SVN: r9946
1995-06-14 13:23:47 -04:00
Richard Kenner
0763f3ab57 (build_module_descriptor, really_start_method): Pass extra parm to
start_function.

From-SVN: r9945
1995-06-14 08:08:06 -04:00
Richard Kenner
79d101f8fa (finish_file): Pass extra parm to start_function.
From-SVN: r9944
1995-06-14 08:07:43 -04:00
Richard Kenner
5730cf6948 (start_function): New parameter for attributes.
From-SVN: r9943
1995-06-14 08:07:24 -04:00
Richard Kenner
866890d94a (fndef, nested_function, notype_nested_function): Support attributes
after function definition.

From-SVN: r9942
1995-06-14 08:06:01 -04:00
Richard Kenner
95f2916038 (assign_parms): Use convert_to_mode instead of gen_lowpart when
converting incoming parm.

From-SVN: r9941
1995-06-14 05:51:51 -04:00
Richard Kenner
bf25501330 (decrement_and_branch): Finish last fix; update matching constraint.
From-SVN: r9940
1995-06-13 19:10:10 -04:00
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