Commit Graph

13341 Commits

Author SHA1 Message Date
Richard Kenner
64cd4fdb75 (change_address, init_emit): Delete forward references.
(rtl_obstack, stack_depth, max_stack_depth): Delete extern decls.

From-SVN: r13935
1997-04-20 10:45:33 -04:00
Jason Merrill
466446b079 x
From-SVN: r13934
1997-04-20 10:25:49 +00:00
Jim Wilson
ce717ce4d3 (instantiate_decls): For DECL_INCOMING_RTL, use max
of type size and mode size in instantiate_decl call.

From-SVN: r13933
1997-04-18 15:40:55 -07:00
Jim Wilson
09817d8cf8 (sys/lc_core.h): Fix OSF1/4.x namespace pollution.
From-SVN: r13932
1997-04-18 15:25:17 -07:00
Paul Eggert
732b08f1e9 automatically generated from GPLed version
From-SVN: r13929
1997-04-18 00:47:55 +00:00
Ian Lance Taylor
d0c2f17668 Fixes for MIPS OpenBSD systems (from Per Fogelstrom
<pefo@openbsd.org>)

From-SVN: r13910
1997-04-17 18:00:12 +00:00
Jason Merrill
83b853c9fc x
From-SVN: r13909
1997-04-17 11:33:02 +00:00
Jeff Law
fc99085612 Fix typo in last change.
From-SVN: r13908
1997-04-15 12:51:06 -06:00
David Edelsohn
6318808ce5 define itrunc, uitrunc, and mcount macros without prepended underscores
From-SVN: r13907
1997-04-14 22:09:53 +00:00
David Edelsohn
5bf6466a8f prepend underscores to itrunc and uitrunc
define RS6000_MCOUNT macro as symbol with underscores

From-SVN: r13906
1997-04-14 22:07:42 +00:00
David Edelsohn
9c849d2a8a change hardcoded .mcount to RS6000_MCOUNT
From-SVN: r13905
1997-04-14 22:06:31 +00:00
Jim Wilson
977eef43d8 (xtrct_left, xtrct_right): New patterns.
From-SVN: r13904
1997-04-14 14:57:14 -07:00
Jeff Law
460f4b9ddd mn10300.c (can_use_return_insn): Include outgoing argument area in size computation.
* mn10300.c (can_use_return_insn): Include outgoing argument
        area in size computation.
        (expand_prologue): Likewise.  No longer diddle with sequences.
        Put register saves just before outgoing argument area.
        (expand_epilogue): Similarly.
        (impossible_plus_operand): New function.
        * mn10300.h (FRAME_POINTER_REQUIRED): Never require a frame pointer.
        (ACCUMULATE_OUTGOING_ARGS, OUTGOING_REG_PARM_STACK_SPACE): Define.
        (impossible_plus_operand): Declare.
        * mn10300.md (reload_insi): New expander to handle pathological
        reload cases.
        (addsi3): Fix CC status.

        * mn10300.h (FUNCTION_VALUE): Return addresses in $a0.
        (FUNCTION_VALUE_REGNO_P): Corresponding changes.
        * mn10300.md (call_value_internal): Allow output to be in an
        address register.

From-SVN: r13903
1997-04-14 14:59:44 -06:00
Jeff Law
f046b3cc23 calls.c (emit_library_call): Handle saving of stack slots when ACCUMULATE_OUTGOING_ARGS is defined.
* calls.c (emit_library_call): Handle saving of stack slots when
        ACCUMULATE_OUTGOING_ARGS is defined.
        (emit_library_call_value): Likewise.

From-SVN: r13902
1997-04-14 14:45:20 -06:00
Michael Meissner
07e6159a93 Add -mcpu={604e,801,823} support
From-SVN: r13901
1997-04-14 19:04:40 +00:00
Jim Wilson
9a893315ea (get_last_value_validate): New argument insn.
Add check for memory reference clobbered by later store.
(record_value_for_reg, get_last_values): Pass in new argument.

From-SVN: r13900
1997-04-14 11:46:37 -07:00
Ian Lance Taylor
ba325ebaef When clobbering a reg, check for later words of a multi word reg value
From-SVN: r13899
1997-04-14 01:03:03 +00:00
Doug Evans
a22ad97227 calls.c (expand_call): When copying unaligned values into a register...
* calls.c (expand_call): When copying unaligned values into a register,
	zero out the register first rather than emitting a clobber.

From-SVN: r13898
1997-04-13 23:30:18 +00:00
Doug Evans
58a32c5c03 * expr.c (move_block_from_reg): Try using an integral mov operation first.
From-SVN: r13897
1997-04-13 23:29:50 +00:00
Ian Lance Taylor
ad5780142a Get the modes right when setting reg_values for a reg to reg copy
From-SVN: r13896
1997-04-13 22:45:30 +00:00
Doug Evans
3e42d56b4b integrate.c (copy_rtx_and_substitute): If FRAME_GROWS_DOWNWARD and regno == VIRTUAL_STACK_VARS_REGNUM...
* integrate.c (copy_rtx_and_substitute): If FRAME_GROWS_DOWNWARD
	and regno == VIRTUAL_STACK_VARS_REGNUM,	round size of stack slot up
	before calling assign_stack_temp.

From-SVN: r13895
1997-04-13 21:24:37 +00:00
Richard Kenner
53c87bfd9c (ASM_SPEC): Define.
(STRUCT_VALUE_REGNUM, STATIC_CHAIN_REGNUM, INITIALIZE_TRAMPOLINE):
Remove definitions, undoing the change of Mar 20 1996.

From-SVN: r13894
1997-04-13 15:34:53 -04:00
Richard Kenner
75ef7cf8da (fake_f_rep): Add missing element name in cast.
From-SVN: r13893
1997-04-13 15:29:35 -04:00
Richard Kenner
d9d08379df (layout_record, PCC_BITFIELD_TYPE_MATTERS): Fix sign bug in last change.
From-SVN: r13892
1997-04-13 15:20:03 -04:00
Richard Kenner
3879920c64 (output_move_qimode): Optimize pushing one byte if the source operand
does not use the stack pointer.

From-SVN: r13891
1997-04-13 15:15:21 -04:00
Richard Kenner
5716e64528 (movstricthi): Remove extraneous comparisons.
From-SVN: r13890
1997-04-13 15:04:36 -04:00
Richard Kenner
67cbb7a7d4 Initial revision
From-SVN: r13889
1997-04-13 15:02:08 -04:00
Richard Kenner
5887325513 (canon_reg, cse_insn): Don't examine insn_n_dups if recog_memoized
fails to find a match.

From-SVN: r13888
1997-04-13 14:51:22 -04:00
Richard Kenner
cfb3ee16db (do_include): Diagnose #import and #include_next if pedantic and if not in a system header.
(do_include): Diagnose #import and #include_next if pedantic and if
not in a system header.
(do_warning): #warning now causes an error if -pedantic-errors is
given; this is needed since #warning isn't ANSI.

From-SVN: r13887
1997-04-13 14:30:13 -04:00
Ian Lance Taylor
31418d3513 Remove REG_DEAD notes when eliminating a set in the reload CSE pass
From-SVN: r13886
1997-04-13 18:20:27 +00:00
Richard Kenner
c7063b9a37 (fatal_perror, fatal, collect_wait): Use FATAL_EXIT_CODE.
From-SVN: r13885
1997-04-13 14:19:48 -04:00
Richard Kenner
1f0fcca5be (print_usage, open_files): Use FATAL_EXIT_CODE.
From-SVN: r13884
1997-04-13 14:19:11 -04:00
Richard Kenner
920b13cc7e (L_bb, L_exit): Use 0 rather than NULL for null pointers.
From-SVN: r13883
1997-04-13 14:12:05 -04:00
Richard Kenner
6780a54b7d (rotl[shq]i3, rotl[hq]i3+1): Don't directly modify operand.
From-SVN: r13882
1997-04-13 13:17:56 -04:00
Richard Kenner
3ff78fe33a (tstdi): Add missing parallel around the pattern.
From-SVN: r13881
1997-04-13 12:53:00 -04:00
Richard Kenner
c9666c0180 (cpp_lex) New arg skip_evaluation.
(cpp_parse_expr): Pass skip_evaluation to cpp_lex.
Abort if cpp_lex returns NAME.
(cpp_lex): Optionally warn about undefined identifiers that evaluate to 0.

From-SVN: r13880
1997-04-13 12:50:58 -04:00
Richard Kenner
dfb45725c9 (cpp_handle_options): Set warn_undef from -Wundef and -Wno-undef.
From-SVN: r13879
1997-04-13 12:50:30 -04:00
Richard Kenner
6ac34fdc71 (struct cpp_options): New member warn_undef.
(CPP_WARN_UNDEF): New macro.

From-SVN: r13878
1997-04-13 12:50:11 -04:00
Richard Kenner
69375a37de cexp.y (warn_undef): New variable.
(exp): Optionally warn about undefined identifiers that evaluate to 0.

From-SVN: r13877
1997-04-13 12:49:45 -04:00
Richard Kenner
10c1b9f689 (warn_undef): New variable.
(main): Set warn_undef from -Wundef and -Wno-undef.

From-SVN: r13876
1997-04-13 12:49:07 -04:00
Richard Kenner
dab9b3bf3d (c_decode_option): Ignore -Wundef, -Wno-undef.
From-SVN: r13875
1997-04-13 12:47:53 -04:00
Richard Kenner
c7710c1f46 (lang_options): Add -Wundef, -Wno-undef.
From-SVN: r13874
1997-04-13 12:47:38 -04:00
Richard Kenner
977cc2e118 Formerly cpp.texi.~30~
From-SVN: r13873
1997-04-13 12:47:14 -04:00
Richard Kenner
e5bad25ee5 Fix typo in comment.
From-SVN: r13872
1997-04-13 11:44:17 -04:00
Richard Kenner
9758e89fa8 Initial revision
From-SVN: r13871
1997-04-13 11:43:08 -04:00
Richard Kenner
a68b98cf6d (lookup_field): Don't recurse unless FIELD is a RECORD_TYPE or
UNION_TYPE.

From-SVN: r13870
1997-04-13 10:59:54 -04:00
Richard Kenner
06140bdfa1 (validate_replace_rtx_1, case MINUS): New case.
From-SVN: r13869
1997-04-13 09:48:25 -04:00
Richard Kenner
eead6b5bda (*return_addsi): Change condition to exclude both ints.
(*return_adddi): Likewise.
(*return_subsi): New pattern.

From-SVN: r13868
1997-04-13 09:47:25 -04:00
Richard Kenner
7c03e72e04 Clean up copyright notice.
From-SVN: r13867
1997-04-13 09:47:11 -04:00
Richard Kenner
4bf7135b9b (eligible_for_delay_slot): Clean up and make to agree precisely with
patterns in MD file.

From-SVN: r13866
1997-04-13 09:46:34 -04:00