Richard Kenner [Wed, 28 Jul 1993 19:38:13 +0000 (15:38 -0400)]
(copy_for_inline, case LABEL_REF): Properly copy LABEL_REF with LABEL_REF_NONLOCAL_P set.
(copy_for_inline, case LABEL_REF): Properly copy LABEL_REF
with LABEL_REF_NONLOCAL_P set.
Copy LABEL_OUTSIDE_LOOP_P flag.
(copy_rtx_and_substitute, case LABEL_REF): Likewise.
(copy_rtx_and_substitute, case CONST): Make recursive call for a LABEL_REF in
the constant pool.
From-SVN: r5034
Richard Kenner [Wed, 28 Jul 1993 19:35:58 +0000 (15:35 -0400)]
(expand_return): Set TREE_SIDE_EFFECTS on MODIFY_EXPR.
From-SVN: r5033
Richard Kenner [Wed, 28 Jul 1993 19:34:22 +0000 (15:34 -0400)]
(iterator_loop_{pro,epi}logue): Set TREE_SIDE_EFFECTS on the MODIFY_EXPRs we make.
(iterator_loop_{pro,epi}logue): Set TREE_SIDE_EFFECTS on the MODIFY_EXPRs we
make.
Pass const0_rtx as TARGET to expand_expr.
From-SVN: r5032
Michael Meissner [Wed, 28 Jul 1993 19:17:10 +0000 (19:17 +0000)]
Use SUBTARGET_OVERRIDE_OPTIONS instead of OVERRIDE_OPTIONS.
From-SVN: r5031
Richard Stallman [Wed, 28 Jul 1993 18:46:31 +0000 (18:46 +0000)]
(expand_expr, case ADDR_EXPR): Treat CONCAT like REG.
From-SVN: r5030
Jim Wilson [Wed, 28 Jul 1993 18:06:21 +0000 (11:06 -0700)]
(simple_if, if_prefix, stmt): Undo Jul 7 change.
(if_prefix): Store stmt_count in $$ not $1.
(stmt): Add comment explaining why empty-if warning is here.
From-SVN: r5029
Jim Wilson [Wed, 28 Jul 1993 18:03:59 +0000 (11:03 -0700)]
(libgcc.a): Do `chmod +w *' between two ar commands.
From-SVN: r5028
Jim Wilson [Wed, 28 Jul 1993 18:01:25 +0000 (11:01 -0700)]
(shift_operand): New function.
From-SVN: r5027
Jim Wilson [Wed, 28 Jul 1993 17:57:19 +0000 (10:57 -0700)]
Initial revision
From-SVN: r5026
Jim Wilson [Wed, 28 Jul 1993 17:50:26 +0000 (10:50 -0700)]
(strength_reduce): Don't ignore a giv that depends on a
reversed biv.
From-SVN: r5025
Jim Wilson [Wed, 28 Jul 1993 17:47:20 +0000 (10:47 -0700)]
(STARTFILE_SPEC): Define.
From-SVN: r5024
Jim Wilson [Wed, 28 Jul 1993 17:46:55 +0000 (10:46 -0700)]
(ALLOCA): Define.
From-SVN: r5023
Richard Stallman [Wed, 28 Jul 1993 17:45:51 +0000 (17:45 +0000)]
(start_function): Warn if volatile fn returns non-void.
From-SVN: r5022
Jim Wilson [Wed, 28 Jul 1993 17:43:02 +0000 (10:43 -0700)]
(INITIAL_FRAME_POINTER_OFFSET): Negate, and subtract 64 bytes.
From-SVN: r5021
Jim Wilson [Wed, 28 Jul 1993 17:40:30 +0000 (10:40 -0700)]
(schedule_block): Do not emit line number notes before other notes.
From-SVN: r5020
Jim Wilson [Wed, 28 Jul 1993 17:36:31 +0000 (10:36 -0700)]
(assemble_variable): Flag_no_common applies only if
external linkage.
From-SVN: r5019
Jim Wilson [Wed, 28 Jul 1993 17:21:14 +0000 (10:21 -0700)]
Add new parameter to move_block_from_reg calls.
From-SVN: r5018
Jim Wilson [Wed, 28 Jul 1993 17:16:54 +0000 (10:16 -0700)]
(function_arg): Shift all structures less than 4 bytes,
not just those which are QImode or HImode.
From-SVN: r5017
Jim Wilson [Wed, 28 Jul 1993 17:15:25 +0000 (10:15 -0700)]
(assign_parms): Pass extra argument SIZE to move_block_from_reg calls.
(assign_parms): Pass extra argument SIZE to
move_block_from_reg calls.
(locate_and_pad_parm): For !ARGS_GROW_DOWNWARD case, move downward
padding pad_below call after round_up call.
From-SVN: r5016
Jim Wilson [Wed, 28 Jul 1993 17:14:44 +0000 (10:14 -0700)]
(move_block_from_reg): Add new argument to prototype.
From-SVN: r5015
Jim Wilson [Wed, 28 Jul 1993 17:13:53 +0000 (10:13 -0700)]
(move_block_from_reg): New argument SIZE.
(move_block_from_reg): New argument SIZE. If SIZE less
than word and BYTES_BIG_ENDIAN, shift block left to align it
before storing it to memory.
From-SVN: r5014
Jim Wilson [Wed, 28 Jul 1993 17:12:33 +0000 (10:12 -0700)]
(expand_call): For unaligned arguments on
BYTES_BIG_ENDIAN machines, correct bitfield offset calculations.
From-SVN: r5013
Doug Evans [Wed, 28 Jul 1993 16:39:07 +0000 (16:39 +0000)]
expmed.c (store_split_bitfield): Fix handling of bitfields that cross word boundaries...
* expmed.c (store_split_bitfield): Fix handling of bitfields that
cross word boundaries, can only handle a word at a time.
(extract_split_bitfield): Likewise.
From-SVN: r5012
John Hassey [Wed, 28 Jul 1993 13:42:50 +0000 (13:42 +0000)]
Initial revision
From-SVN: r5011
Per Bothner [Tue, 27 Jul 1993 22:45:33 +0000 (15:45 -0700)]
Define STMP_FIXPROTO to empty for cross.
From-SVN: r5010
Per Bothner [Tue, 27 Jul 1993 22:45:09 +0000 (15:45 -0700)]
Pass '-' to tr as the 1-character range '---'.
From-SVN: r5009
Per Bothner [Tue, 27 Jul 1993 21:01:33 +0000 (14:01 -0700)]
Disable obnoxious warning message.
From-SVN: r5008
Per Bothner [Tue, 27 Jul 1993 20:55:12 +0000 (13:55 -0700)]
patch-header.c (read_scan_file): Minor re-write to avoid obstack_copy0, since that uses the non-portable bcopy().
* patch-header.c (read_scan_file): Minor re-write to avoid
obstack_copy0, since that uses the non-portable bcopy().
From-SVN: r5007
Per Bothner [Tue, 27 Jul 1993 20:54:38 +0000 (13:54 -0700)]
* Makefile.in (patch-header): Use $(HOST_OBSTACK).
From-SVN: r5006
Richard Kenner [Tue, 27 Jul 1993 20:42:34 +0000 (16:42 -0400)]
(optimize_bit_field_compare): Preserve volatility of bitfield.
From-SVN: r5005
Richard Stallman [Tue, 27 Jul 1993 18:52:32 +0000 (18:52 +0000)]
(assign_parms): Don't copy too much when extending parm_reg_stack_loc.
From-SVN: r5004
Richard Stallman [Tue, 27 Jul 1993 18:46:28 +0000 (18:46 +0000)]
(ASM_DECLARE_OBJECT_NAME): Don't make a .size if the size is not known.
(ASM_DECLARE_OBJECT_NAME): Don't make a .size
if the size is not known. Use DECL, not decl.
From-SVN: r5003
Richard Stallman [Tue, 27 Jul 1993 07:11:51 +0000 (07:11 +0000)]
(CLIB): removed -lc_s and added -lmalloc.
(X_CFLAGS): removed -D_SYSV and added -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BULL_SOURCE to deal with the posix stuff.
From-SVN: r5002
Richard Stallman [Tue, 27 Jul 1993 07:11:29 +0000 (07:11 +0000)]
(DBX_DEBUGGING_INFO): Remove this to let gcc deals with gas and coff.
From-SVN: r5001
Richard Stallman [Tue, 27 Jul 1993 07:11:12 +0000 (07:11 +0000)]
(CPP_PREDEFINES): added -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BULL_SOURCE to the list.
(CPP_PREDEFINES): added -D_POSIX_SOURCE
-D_XOPEN_SOURCE -D_BULL_SOURCE to the list.
(CPP_SPEC): removed ansi definition.
From-SVN: r5000
Richard Stallman [Tue, 27 Jul 1993 07:10:41 +0000 (07:10 +0000)]
(_WCHAR_T_H): Test this and define this.
From-SVN: r4999
Richard Stallman [Tue, 27 Jul 1993 07:08:26 +0000 (07:08 +0000)]
entered into RCS
From-SVN: r4998
Richard Stallman [Tue, 27 Jul 1993 05:57:26 +0000 (05:57 +0000)]
(set_init_index): Add pedantic warning.
(set_init_label): Likewise.
(digest_init): Add `static' to definition.
(start_init): Fill in p->next.
Handle gaps in record initializers.
(constructor_bit_index): New variable.
(constructor_stack): New field bit_index.
(really_start_incremental_init, push_init_level): Save and init it.
(pop_init_level): Restore it.
(output_init_element): Update constructor_bit_index.
Use it to output gaps.
(pop_init_level): Speed up by using constructor_bit_index.
(process_init_element): Accept STRING_CST for subarray.
From-SVN: r4997
Richard Stallman [Tue, 27 Jul 1993 05:27:28 +0000 (05:27 +0000)]
(assemble_variable): For array whose size comes from the initializer, determine proper alignment here.
(assemble_variable): For array whose size comes from
the initializer, determine proper alignment here.
(assemble_align): New function.
From-SVN: r4996
Richard Kenner [Tue, 27 Jul 1993 00:26:20 +0000 (20:26 -0400)]
(fold, case EQ_EXPR): Remove code that converts mod to unsigned mod;
it isn't correct for negative operands.
From-SVN: r4995
Richard Stallman [Mon, 26 Jul 1993 22:16:16 +0000 (22:16 +0000)]
(simplify_shift_const): Inhibit hacks based on
num_sign_bit_copies if shift_mode differs from the mode of varop.
From-SVN: r4994
Richard Stallman [Mon, 26 Jul 1993 21:42:48 +0000 (21:42 +0000)]
(main): When -W sets warn_uninitialized, avoid later warning
if warn_uninitialized is not supported.
From-SVN: r4993
Richard Stallman [Mon, 26 Jul 1993 21:00:16 +0000 (21:00 +0000)]
(__main): Use macro SYMBOL__MAIN instead of invoking directly.
From-SVN: r4992
Richard Stallman [Mon, 26 Jul 1993 20:59:21 +0000 (20:59 +0000)]
(expand_main_function): Likewise.
(put_reg_into_stack): New subroutine.
(put_var_into_stack): Use that; handle CONCAT.
From-SVN: r4991
Richard Stallman [Mon, 26 Jul 1993 20:58:04 +0000 (20:58 +0000)]
(NAME__MAIN, SYMBOL__MAIN): Add default definitions.
(write_c_file, scan_prog_file(OSF/ROSE)): Use them instead of explicit
__main.
From-SVN: r4990
Richard Kenner [Mon, 26 Jul 1993 20:03:20 +0000 (16:03 -0400)]
(strip_off_ending): Allow .ad* for Ada.
From-SVN: r4989
Bill Cox [Mon, 26 Jul 1993 18:09:09 +0000 (18:09 +0000)]
Fix print_lang_decl and print_lang_type function headers.
From-SVN: r4988
Per Bothner [Mon, 26 Jul 1993 08:49:02 +0000 (01:49 -0700)]
Add fixproto support.
From-SVN: r4987
Per Bothner [Mon, 26 Jul 1993 00:11:20 +0000 (17:11 -0700)]
Initial revision
From-SVN: r4986
Per Bothner [Mon, 26 Jul 1993 00:00:23 +0000 (17:00 -0700)]
Initial revision
From-SVN: r4985
Richard Stallman [Sun, 25 Jul 1993 21:29:10 +0000 (21:29 +0000)]
(movstrictqi): Change q<-g alternative to q<-m.
From-SVN: r4984
Richard Stallman [Sat, 24 Jul 1993 22:20:55 +0000 (22:20 +0000)]
(emit_move_insn_1): For complex stack push, don't use change_address.
From-SVN: r4983
Per Bothner [Sat, 24 Jul 1993 22:03:22 +0000 (15:03 -0700)]
Fix some AIX and NeXT problems.
From-SVN: r4982
Richard Stallman [Sat, 24 Jul 1993 06:52:44 +0000 (06:52 +0000)]
(mark_loop_jump): Handle weird cases like jumping to a symbol_ref.
From-SVN: r4981
Richard Stallman [Sat, 24 Jul 1993 05:41:45 +0000 (05:41 +0000)]
(start_init): Second arg is now a tree.
From-SVN: r4980
Doug Evans [Fri, 23 Jul 1993 20:30:43 +0000 (20:30 +0000)]
Fix typo.
From-SVN: r4979
Doug Evans [Fri, 23 Jul 1993 19:54:32 +0000 (19:54 +0000)]
* c-tree.h: Fix prototypes for print_lang_decl, print_lang_type.
From-SVN: r4978
Richard Stallman [Fri, 23 Jul 1993 19:19:04 +0000 (19:19 +0000)]
(cast_expr): Use new initializer parsing functions.
(initdcl, notype_initdcl): Likewise.
(init): Likewise.
(initlist_maybe_comma, initlist1): These replace initlist.
(initelt): New nonterminal.
Change specified index syntax to `[INDEX]='.
Change specified field syntax to `.NAME='.
From-SVN: r4977
Richard Stallman [Fri, 23 Jul 1993 19:18:33 +0000 (19:18 +0000)]
Declare the new initializer parsing functions.
From-SVN: r4976
Richard Stallman [Fri, 23 Jul 1993 19:01:20 +0000 (19:01 +0000)]
(output_init_element): Now static.
From-SVN: r4975
Richard Stallman [Fri, 23 Jul 1993 18:50:33 +0000 (18:50 +0000)]
(output_constant_def_contents): New function.
(output_constant_def): Use it.
(deferred_constants): New list of constants not yet output.
(defer_addressed_constants): New function.
(output_deferred_addressed_constants): New function.
(make_decl_rtl): Don't ever replace old rtl;
instead, change its mode if necessary.
From-SVN: r4974
Richard Stallman [Fri, 23 Jul 1993 18:49:55 +0000 (18:49 +0000)]
Output most constructors an element at a time.
(digest_init): Deleted code for raw constructors.
(process_init_constructor): Function deleted.
(start_init, finish_init): New functions.
(really_start_incremental_init)
(push_init_level, check_init_type_bitfields, pop_init_level)
(set_init_index, set_init_label, process_init_element)
(output_init_element, output_pending_init_elements): New functions.
From-SVN: r4973
Richard Stallman [Fri, 23 Jul 1993 18:44:59 +0000 (18:44 +0000)]
(rest_of_decl_compilation): Pass 0 as DONT_OUTPUT_DATA to assemble_variable.
From-SVN: r4972
Richard Stallman [Fri, 23 Jul 1993 18:36:41 +0000 (18:36 +0000)]
(main): Improve "No input files" error message.
From-SVN: r4971
Richard Kenner [Fri, 23 Jul 1993 11:17:40 +0000 (07:17 -0400)]
(aggregate_value_p): An ARRAY_TYPE is also an aggregate.
From-SVN: r4970
Richard Stallman [Fri, 23 Jul 1993 07:12:05 +0000 (07:12 +0000)]
(making LIB absolute): Just concat with $ORIG_DIR.
From-SVN: r4969
Jeff Law [Fri, 23 Jul 1993 02:59:46 +0000 (20:59 -0600)]
reorg.c (relax_delay_slots): Do not redirect a jump if doing so invalidates insns in the jump's delay slots.
* reorg.c (relax_delay_slots): Do not redirect a jump if doing so
invalidates insns in the jump's delay slots.
(redirect_with_delay_slots_safe_p): New function.
From-SVN: r4968
John Hassey [Fri, 23 Jul 1993 01:16:21 +0000 (01:16 +0000)]
Don't use fldcr to serialize it is broken on the 88110...
Don't use fldcr to serialize it is broken on the 88110, use tb1 instead
Made serialize-volatile the deault for all models.
From-SVN: r4967
John Hassey [Fri, 23 Jul 1993 01:08:12 +0000 (01:08 +0000)]
Don't use fldcr to serialize it is broken on the 88110...
Don't use fldcr to serialize it is broken on the 88110, use tb1 instead
Made serialize-volatile the default for all models.
From-SVN: r4966
Richard Stallman [Thu, 22 Jul 1993 05:45:31 +0000 (05:45 +0000)]
When fixing ftw.h, preserve remainder of
ftw and nftw declaration; don't just rewrite it.
From-SVN: r4965
Jim Wilson [Wed, 21 Jul 1993 22:05:43 +0000 (15:05 -0700)]
(expand_expr, COMPONENT_REF case): For unaligned object
in an aligned union, set MEM_IN_STRUCT_P if create a MEM rtx.
From-SVN: r4964
Jim Wilson [Wed, 21 Jul 1993 22:00:03 +0000 (15:00 -0700)]
(output_move_double): Only set highest_first if first reg of dest overlaps memory src address.
(output_move_double): Only set highest_first if first reg
of dest overlaps memory src address. Otherwise, if addreg1 set and
is same as second reg of dest, suppress trailing decrement.
From-SVN: r4963
Jim Wilson [Wed, 21 Jul 1993 21:48:35 +0000 (14:48 -0700)]
(movdi+1): Delete & from r/i constraint.
From-SVN: r4962
Jim Wilson [Wed, 21 Jul 1993 21:46:38 +0000 (14:46 -0700)]
(<ftw.h>): Don't apply specialized fixes to <ftw.h> if we are on Solaris.
(<ftw.h>): Don't apply specialized fixes to <ftw.h>
if we are on Solaris. They are not needed in that case.
From-SVN: r4961
Jim Wilson [Wed, 21 Jul 1993 21:44:07 +0000 (14:44 -0700)]
(nonlocal_label_list): New variable.
(combine_instructions): Set it.
(try_combine, distribute_links): CALL_INSN terminates a basic
block if nonlocal_label_list is set.
From-SVN: r4960
Jim Wilson [Wed, 21 Jul 1993 21:37:14 +0000 (14:37 -0700)]
(CPP_SPEC): Define LANGUAGE_ASSEMBLY, not
LANGUAGE_C, when compiling a .s file.
From-SVN: r4959
Jim Wilson [Wed, 21 Jul 1993 21:27:53 +0000 (14:27 -0700)]
(TARGET_SWITCHES): Recognize -m68851, -mno-68851,
-m68302, -mno-68302, -m68332, -mno-68332.
From-SVN: r4958
Jim Wilson [Wed, 21 Jul 1993 21:22:31 +0000 (14:22 -0700)]
New file.
From-SVN: r4957
Jim Wilson [Wed, 21 Jul 1993 21:21:10 +0000 (14:21 -0700)]
(OVERRIDE_OPTIONS, SUBTARGET_OVERRIDE_OPTIONS): Define.
From-SVN: r4956
Jim Wilson [Wed, 21 Jul 1993 21:19:38 +0000 (14:19 -0700)]
New File.
From-SVN: r4955
Jim Wilson [Wed, 21 Jul 1993 21:18:45 +0000 (14:18 -0700)]
(TARGET_SWITCHES): Add SUBTARGET_SWITCHES.
(OVERRIDE_OPTIONS): Add SUBTARGET_OVERRIDE_OPTIONS.
(SUBTARGET_SWITCHES, SUBTARGET_OVERRIDE_OPTIONS): Define.
From-SVN: r4954
Jim Wilson [Wed, 21 Jul 1993 21:04:54 +0000 (14:04 -0700)]
(sys/types.h sys/stdtypes.h): Delete newline before do.
(machine/cpu.h): Delete space in `2>& 1'.
From-SVN: r4953
Jim Wilson [Wed, 21 Jul 1993 21:00:37 +0000 (14:00 -0700)]
(lynx): Recognize as vendor.
(lynxos): Recognize as OS.
From-SVN: r4952
Jim Wilson [Wed, 21 Jul 1993 20:43:56 +0000 (13:43 -0700)]
(link_command_spec): Move %{T*} after %{L*} and %D.
From-SVN: r4951
Jim Wilson [Wed, 21 Jul 1993 19:49:28 +0000 (12:49 -0700)]
(ashldi3, lshrdi3): Obsolete, deleted.
From-SVN: r4950
Jim Wilson [Wed, 21 Jul 1993 19:44:20 +0000 (12:44 -0700)]
(expand_binop): Synthesize double word shifts and rotates from single word
shifts.
From-SVN: r4949
Richard Stallman [Wed, 21 Jul 1993 03:41:16 +0000 (03:41 +0000)]
Finish last change.
From-SVN: r4948
Richard Stallman [Wed, 21 Jul 1993 03:36:21 +0000 (03:36 +0000)]
(is_ctor_dtor): Delete leading _'s from sym names
in `special' table, in neither-dots-nor-dollars case.
From-SVN: r4947
Michael Meissner [Wed, 21 Jul 1993 01:48:07 +0000 (01:48 +0000)]
Do not turn on -mhalf-pic if ELF.
From-SVN: r4946
Richard Kenner [Tue, 20 Jul 1993 19:06:35 +0000 (15:06 -0400)]
Add prototypes for static functions.
(subst, case IF_THEN_ELSE): Add missing arg to make_compound_operation.
(make_compound_operation, case ASHIFTRT): Delete extra gen_unary arg.
From-SVN: r4945
Richard Stallman [Tue, 20 Jul 1993 06:23:58 +0000 (06:23 +0000)]
(expand_increment): Convert constant subtract to add before setting single_insn.
(expand_increment): Convert constant subtract to add
before setting single_insn. Compensate for this when choosing
the tree code to pass to `build'.
From-SVN: r4944
Richard Kenner [Mon, 19 Jul 1993 22:10:12 +0000 (18:10 -0400)]
Add variants of call and call_value patterns for calls to functions defined in the same file.
Add variants of call and call_value patterns for calls to functions
defined in the same file. Omit the TOC pointer reload after such
calls.
From-SVN: r4943
Richard Kenner [Mon, 19 Jul 1993 22:09:32 +0000 (18:09 -0400)]
(ENCODE_SECTION_INFO): New macro.
(PREDICATE_CODES): Add current_file_function_operand.
From-SVN: r4942
Richard Kenner [Mon, 19 Jul 1993 22:09:05 +0000 (18:09 -0400)]
(current_file_function_operand): New function.
From-SVN: r4941
Jeff Law [Mon, 19 Jul 1993 17:16:53 +0000 (11:16 -0600)]
reorg.c (fill_simple_delay_slots): Try filling any insn needing delay slots with a JUMP_INSN.
* reorg.c (fill_simple_delay_slots): Try filling any insn needing
delay slots with a JUMP_INSN.
From-SVN: r4940
Richard Stallman [Sun, 18 Jul 1993 20:27:18 +0000 (20:27 +0000)]
(c_expand_return): Set TREE_SIDE_EFFECTS for the MODIFY_EXPR that we make.
(build_unary_op): Support CONJ_EXPR.
Change BIT_NOT_EXPR to CONJ_EXPR if arg is complex.
From-SVN: r4939
Richard Stallman [Sun, 18 Jul 1993 20:24:45 +0000 (20:24 +0000)]
(fold): Handle CONJ_EXPR.
From-SVN: r4938
Richard Stallman [Sun, 18 Jul 1993 20:24:23 +0000 (20:24 +0000)]
(expand_return): When expanding assignment into DECL_RESULT,
ignore the "value"--do it for effect.
From-SVN: r4937
Richard Kenner [Sun, 18 Jul 1993 18:21:41 +0000 (14:21 -0400)]
(init_function_start): Initialize trampoline_list here.
(expand_function_end): Not here.
From-SVN: r4936
Richard Stallman [Sun, 18 Jul 1993 18:10:11 +0000 (18:10 +0000)]
(common_type): Use TYPE_MAIN_VARIANT when preferring
long int to int (when width is the same).
(check_format): With -Wformat, warn about
printf("%ld", 1) even if sizeof (int) == sizeof (long),
since the code isn't portable. Similarly for "%d" vs 1L.
(convert_arguments) [PROMOTE_PROTOTYPES]:
With -Wconversion, use unpromoted type to check for signedness changes.
From-SVN: r4935