Jeff Law [Thu, 1 Jul 1993 20:20:28 +0000 (14:20 -0600)]
pa.h (OVERRIDE_OPTIONS): Define.
* pa.h (OVERRIDE_OPTIONS): Define. Give a warning if -fpic or
-fPIC was specified on the command line.
From-SVN: r4820
Jeff Law [Thu, 1 Jul 1993 19:25:26 +0000 (13:25 -0600)]
pa-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Do not define here.
* pa-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Do not define here.
* pa1-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise.
* pa1-ghpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise.
* pa1-hpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise.
From-SVN: r4819
Jeff Law [Thu, 1 Jul 1993 19:23:44 +0000 (13:23 -0600)]
* pa-hpux7.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define.
From-SVN: r4818
Jeff Law [Thu, 1 Jul 1993 19:22:47 +0000 (13:22 -0600)]
pa.c (output_arg_descriptor): Reverse polarity of test for HP_FP_ARG_DESCRIPTOR_REVERSED.
* pa.c (output_arg_descriptor): Reverse polarity of test for
HP_FP_ARG_DESCRIPTOR_REVERSED.
* pa.h (ASM_DOUBLE_ARG_DESCRIPTORS): Likewise.
From-SVN: r4817
Jeff Law [Thu, 1 Jul 1993 19:22:29 +0000 (13:22 -0600)]
Initial revision
From-SVN: r4816
Paul Eggert [Thu, 1 Jul 1993 19:06:50 +0000 (19:06 +0000)]
Don't create absolute symbolic links;
make them relative instead.
From-SVN: r4815
Paul Eggert [Thu, 1 Jul 1993 18:15:17 +0000 (18:15 +0000)]
Remove special case for IRIX 4.0.1 that was superseded
by a more general fix to fixincludes.
From-SVN: r4814
Richard Kenner [Thu, 1 Jul 1993 13:48:11 +0000 (09:48 -0400)]
(fold, case GE_EXPR, LT_EXPR): Don't assume result of comparison is
integer_type_node.
From-SVN: r4813
Paul Eggert [Thu, 1 Jul 1993 07:46:15 +0000 (07:46 +0000)]
Remove everything after #endif, instead of trying to turn it into comments, which loses inside comments.
Remove everything after #endif, instead of trying
to turn it into comments, which loses inside comments.
Remove #endif workarounds for Ultrix 4.[12]
and SunOS 4.1, which are no longer needed because of this bug fix.
From-SVN: r4812
Paul Eggert [Thu, 1 Jul 1993 07:46:15 +0000 (07:46 +0000)]
Remove everything after #endif, instead of trying
to turn it into comments, which loses inside comments.
From-SVN: r4811
Richard Stallman [Thu, 1 Jul 1993 05:17:45 +0000 (05:17 +0000)]
(expand_expr...
(expand_expr, case PLUS_EXPR): In the special case
to return sym+integer as an expression, limit it to when
the non-CONST_INT arg is at least a constant.
(expand_increment): Do preinc with single insn if there's such an insn.
(store_field): Store unaligned field with bit field methods.
From-SVN: r4810
Roland McGrath [Thu, 1 Jul 1993 04:22:57 +0000 (04:22 +0000)]
(SIZE_TYPE): Don't define.
From-SVN: r4809
Richard Stallman [Wed, 30 Jun 1993 21:35:17 +0000 (21:35 +0000)]
(gen_int_relational): For test with constant result,
copy const0_rtx or const_true_rtx to result register instead
of allocating a new pseudo-register.
From-SVN: r4808
Richard Stallman [Wed, 30 Jun 1993 20:18:47 +0000 (20:18 +0000)]
(SIZE_TYPE): Definition deleted.
From-SVN: r4807
Roland McGrath [Wed, 30 Jun 1993 19:19:42 +0000 (19:19 +0000)]
Recognize `gnu' as a valid operating system. Sheesh.
From-SVN: r4806
Richard Stallman [Wed, 30 Jun 1993 19:02:44 +0000 (19:02 +0000)]
(main): Don't look for `gld' or `TARGET-gld'.
From-SVN: r4805
Jeff Law [Wed, 30 Jun 1993 17:43:20 +0000 (11:43 -0600)]
pa.c (output_function_prologue): Emit SAVE_SP flag if a frame pointer is needed.
* pa.c (output_function_prologue): Emit SAVE_SP flag if a frame
pointer is needed.
From-SVN: r4804
Richard Stallman [Wed, 30 Jun 1993 17:43:07 +0000 (17:43 +0000)]
Fix copyright years.
From-SVN: r4803
Richard Stallman [Wed, 30 Jun 1993 17:26:29 +0000 (17:26 +0000)]
Fix copyright years.
From-SVN: r4802
Richard Stallman [Wed, 30 Jun 1993 17:13:09 +0000 (17:13 +0000)]
(stdtypes.h): Verify that size_t etc. follow whitespace.
From-SVN: r4801
Richard Stallman [Wed, 30 Jun 1993 05:32:58 +0000 (05:32 +0000)]
(expand_end_case): Pass 1 as UNSIGNEDP to emit_cmp_insn when handling wide values.
(expand_end_case): Pass 1 as UNSIGNEDP to emit_cmp_insn
when handling wide values.
Save original minval in orig_minval and use for making the table.
From-SVN: r4800
Jeff Law [Wed, 30 Jun 1993 02:28:38 +0000 (20:28 -0600)]
pa.c (singlemove_string): Use zdepi and ldil to load constants into registers when appropriate.
* pa.c (singlemove_string): Use zdepi and ldil to load constants
into registers when appropriate.
From-SVN: r4799
Richard Stallman [Tue, 29 Jun 1993 22:15:59 +0000 (22:15 +0000)]
Comment change.
From-SVN: r4798
Richard Stallman [Tue, 29 Jun 1993 22:05:11 +0000 (22:05 +0000)]
comment change.
From-SVN: r4797
Richard Stallman [Tue, 29 Jun 1993 15:31:19 +0000 (15:31 +0000)]
Recognize -sysv* after -sysvr4.
From-SVN: r4796
Richard Stallman [Tue, 29 Jun 1993 15:26:52 +0000 (15:26 +0000)]
(GO_IF_NONINDEXED_ADDRESS): Declare reg_equiv_mem.
From-SVN: r4795
Richard Stallman [Tue, 29 Jun 1993 04:40:00 +0000 (04:40 +0000)]
(fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2):
Require TARGET_68881 as well as TARGET_68040.
From-SVN: r4794
Richard Stallman [Tue, 29 Jun 1993 04:37:51 +0000 (04:37 +0000)]
(main): For -iwithprefix, if no include_prefix,
make a default from GCC_INCLUDE_DIR.
Support -iwithprefixbefore.
From-SVN: r4793
Steve Chamberlain [Tue, 29 Jun 1993 00:10:35 +0000 (00:10 +0000)]
Major rework.
From-SVN: r4792
Richard Stallman [Mon, 28 Jun 1993 18:58:14 +0000 (18:58 +0000)]
(file): When changing VA_LIST to DUMMY_VA_LIST, preserve _NEED___VA_LIST.
From-SVN: r4791
Richard Stallman [Mon, 28 Jun 1993 18:21:32 +0000 (18:21 +0000)]
(movdf, movdi): Delete `&' from constraint.
From-SVN: r4790
Richard Stallman [Mon, 28 Jun 1993 18:21:17 +0000 (18:21 +0000)]
(output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].
From-SVN: r4789
Richard Stallman [Mon, 28 Jun 1993 18:16:02 +0000 (18:16 +0000)]
(output_move_double): Use new local var highest_first to make sure addreg1 gets handled in the overlap case.
(output_move_double): Use new local var
highest_first to make sure addreg1 gets handled in the overlap case.
In 2-reg-overlap case, really use proper reg in new address.
From-SVN: r4788
Richard Stallman [Mon, 28 Jun 1993 17:51:41 +0000 (17:51 +0000)]
(movdf, movdi): Delete `&' from load constraint.
From-SVN: r4787
Richard Stallman [Mon, 28 Jun 1993 17:51:19 +0000 (17:51 +0000)]
(output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].
From-SVN: r4786
Richard Stallman [Mon, 28 Jun 1993 17:01:44 +0000 (17:01 +0000)]
(CPP_SPEC): For -compat-bsd, put the ucbinclude dirs before, not after.
From-SVN: r4785
Richard Stallman [Mon, 28 Jun 1993 07:44:34 +0000 (07:44 +0000)]
(GO_IF_NONINDEXED_ADDRESS): If reload_in_progress,
check a REG's reg_equiv_mem the way we would check a MEM.
From-SVN: r4784
Richard Stallman [Mon, 28 Jun 1993 07:44:08 +0000 (07:44 +0000)]
(find_reloads_address): Be selective about what inner
addresses to allow in an indirect mem ref.
From-SVN: r4783
Richard Stallman [Mon, 28 Jun 1993 04:54:15 +0000 (04:54 +0000)]
(DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore.
(option_map): Add --include-with-prefix-before and
--include-with-prefix-after.
From-SVN: r4782
Richard Stallman [Mon, 28 Jun 1993 03:43:51 +0000 (03:43 +0000)]
Comment change.
From-SVN: r4781
Richard Kenner [Mon, 28 Jun 1993 01:20:38 +0000 (21:20 -0400)]
(simplify_*_operation, fold_rtx, record_jump_cond, cse_insn): Use
INTEGRAL_MODE_P and FLOAT_MODE_P.
From-SVN: r4780
Richard Kenner [Mon, 28 Jun 1993 01:19:42 +0000 (21:19 -0400)]
(subst, apply_distributive_law): Use INTEGRAL_MODE_P and FLOAT_MODE_P.
(reversible_comparison_p): Likewise.
Can reverse if MODE_COMPLEX_INT or MODE_PARTIAL_INT.
From-SVN: r4779
Richard Kenner [Mon, 28 Jun 1993 01:18:58 +0000 (21:18 -0400)]
(INTEGRAL_MODE_P, FLOAT_MODE_P): New macros.
From-SVN: r4778
Richard Kenner [Mon, 28 Jun 1993 01:15:50 +0000 (21:15 -0400)]
(fixup_stack_1): Handle current_function_internal_arg_pointer.
From-SVN: r4777
Richard Kenner [Mon, 28 Jun 1993 01:14:04 +0000 (21:14 -0400)]
Add prototypes for layout_record and layout_union.
(smallest_mode_for_size): New function.
(variable_size): Allow variable sizes if global_bindings_p returns a negative
value.
(mode_for_size): Fix incorrect comment.
(layout_decl): If DECL has a size already, don't copy from type.
(layout_type, case INTEGER_TYPE, ENUMERAL_TYPE): Use smallest integer mode
that fits, whether or not it fits exactly.
From-SVN: r4776
Richard Kenner [Mon, 28 Jun 1993 01:10:23 +0000 (21:10 -0400)]
(restore_emit_status): Clear LAST_LABEL_NUM.
From-SVN: r4775
Richard Stallman [Mon, 28 Jun 1993 00:41:41 +0000 (00:41 +0000)]
(copy_rtx_if_shared): Don't try to copy a 0-length vector.
From-SVN: r4774
Richard Kenner [Sun, 27 Jun 1993 22:57:34 +0000 (18:57 -0400)]
(expand_call): If function hasn't been used before, call
assemble_external.
From-SVN: r4773
Richard Kenner [Sun, 27 Jun 1993 22:55:11 +0000 (18:55 -0400)]
(store_constructor): Treat QUAL_UNION_TYPE just like UNION_TYPE.
(safe_from_p, case ADDR_EXPR): EXP is safe from X it is is static or if the
object whose address is being taken is safe from X.
(expand_expr): Fix misplaced comment from last change.
(expand_expr, case *_DECL): If not already used, assemble external.
(expand_expr, case EXIT_EXPR): Simplify.
(expand_expr, TRUTH_{AND,OR}IF_EXPR): Properly handle IGNORE case.
From-SVN: r4772
Richard Kenner [Sun, 27 Jun 1993 22:50:04 +0000 (18:50 -0400)]
(array_type_nelts): Tighten up code and make more general.
(build_function_type): Allow function to return array.
(decl_function_context): Treat QUAL_UNION_TYPE like UNION_TYPE.
From-SVN: r4771
Richard Kenner [Sun, 27 Jun 1993 22:48:22 +0000 (18:48 -0400)]
(fold, case TRUTH_XOR_EXPR): End with `return', not `break'.
From-SVN: r4770
Richard Kenner [Sun, 27 Jun 1993 22:43:10 +0000 (18:43 -0400)]
(output_compile_unit_die): Add support for Ada.
From-SVN: r4769
Richard Kenner [Sun, 27 Jun 1993 22:41:45 +0000 (18:41 -0400)]
(collect_iterators, case SAVE_EXPR): Simplify code added in previous
change.
From-SVN: r4768
Richard Kenner [Sun, 27 Jun 1993 22:40:04 +0000 (18:40 -0400)]
Fix typo: was ARGS_GROW_DOWNARD.
From-SVN: r4767
Richard Stallman [Sun, 27 Jun 1993 22:24:54 +0000 (22:24 +0000)]
(TAROUTOPTS): New definition.
From-SVN: r4766
Richard Stallman [Sun, 27 Jun 1993 21:26:43 +0000 (21:26 +0000)]
Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
From-SVN: r4765
Richard Stallman [Sun, 27 Jun 1993 19:36:53 +0000 (19:36 +0000)]
entered into RCS
From-SVN: r4764
Richard Kenner [Sun, 27 Jun 1993 12:31:48 +0000 (08:31 -0400)]
(subst, case IF_THEN_ELSE): Install correct version of last change.
From-SVN: r4763
Richard Stallman [Sat, 26 Jun 1993 21:19:02 +0000 (21:19 +0000)]
(find_reloads): When merging reloads again after they have been changed...
(find_reloads): When merging reloads again after they have
been changed, do check reload_reg_class and reload_nocombine.
From-SVN: r4762
Richard Kenner [Sat, 26 Jun 1993 21:08:49 +0000 (17:08 -0400)]
(reload): Use reg_equiv_address for invalid addresses
of the form (mem (reg)).
From-SVN: r4761
Richard Stallman [Sat, 26 Jun 1993 20:50:27 +0000 (20:50 +0000)]
(movdf recognizer): Remove `&' from constraint for loading mem to cpu reg.
From-SVN: r4760
Richard Stallman [Sat, 26 Jun 1993 20:45:13 +0000 (20:45 +0000)]
(expand_assignment): If FROM is scalar function call,
expand_expr FROM before TO.
From-SVN: r4759
Richard Stallman [Sat, 26 Jun 1993 19:43:09 +0000 (19:43 +0000)]
(translate_options): `*' inhibits warning of extraneous arg.
From-SVN: r4758
Richard Kenner [Sat, 26 Jun 1993 15:55:06 +0000 (11:55 -0400)]
(fold, case PLUS_EXPR, MINUS_EXPR): Apply distributive law to multiplication.
(fold, case *_DIV_EXPR): Replace code to handle (A*C1)/C2 with more general
code to handle addition as well.
(fold, case *_MOD_EXPR): Add simplified version of above code.
From-SVN: r4757
Richard Kenner [Sat, 26 Jun 1993 15:43:50 +0000 (11:43 -0400)]
Remove #define of alloca to __builtin_alloca.
From-SVN: r4756
Richard Kenner [Sat, 26 Jun 1993 15:21:20 +0000 (11:21 -0400)]
(poplevel): Start new function context when writing inline function.
From-SVN: r4755
Richard Kenner [Sat, 26 Jun 1993 15:19:08 +0000 (11:19 -0400)]
(compile_file): Switch to temporary allocation when writing out inline
functions.
From-SVN: r4754
Richard Kenner [Sat, 26 Jun 1993 15:18:28 +0000 (11:18 -0400)]
(function_cannot_inline_p): Can now inline nested functions.
(expand_inline_function): Set up static chain if needed.
(output_inline_function): Don't switch to temporary allocation here.
From-SVN: r4753
Richard Kenner [Sat, 26 Jun 1993 15:15:29 +0000 (11:15 -0400)]
(init_decl_processing): When making SIZETYPE, start with name in SIZE_TYPE.
(init_decl_processing): When making SIZETYPE, start with name in
SIZE_TYPE. If -traditional, use a signed version of that type, if it
is unsigned.
From-SVN: r4752
Richard Kenner [Sat, 26 Jun 1993 15:13:41 +0000 (11:13 -0400)]
Add more decls for functions in fold-const.c.
From-SVN: r4751
Richard Kenner [Sat, 26 Jun 1993 15:12:58 +0000 (11:12 -0400)]
Add prototypes for static functions.
({l,r}{shift,rotate}_double): COUNT arg is HOST_WIDE_INT, PREC is int.
(all_ones_mask): Remove __inline__.
(range_test): Make static; not used elsewhere.
From-SVN: r4750
Richard Kenner [Sat, 26 Jun 1993 15:09:26 +0000 (11:09 -0400)]
(expand_calls): Fix typo: ALLOCATE_OUTGOING_ARGS
should be ACCUMULATE_OUTGOING_ARGS.
From-SVN: r4749
Richard Kenner [Sat, 26 Jun 1993 15:06:55 +0000 (11:06 -0400)]
(subst): apply_distributive_law can also handle AND.
(subst, case IF_THEN_ELSE): Make a shift when appropriate.
(simplify_shift_const): If we have an outer operation and made a shift, see if
it can be simplified.
From-SVN: r4748
Richard Kenner [Sat, 26 Jun 1993 15:06:01 +0000 (11:06 -0400)]
(do_store_flag): When computing via a shift, allow for an inner RSHIFT_EXPR in BITNUM.
(do_store_flag): When computing via a shift, allow for an inner RSHIFT_EXPR
in BITNUM.
Sometimes do the operations as signed.
From-SVN: r4747
Richard Kenner [Sat, 26 Jun 1993 15:05:12 +0000 (11:05 -0400)]
(fold_truthop): Treat a BIT_AND_EXPR with a constant of one as if it were surrounded with an NE_EXPR.
(fold_truthop): Treat a BIT_AND_EXPR with a constant of one as if it were
surrounded with an NE_EXPR.
(fold): Don't move operation into conditional if it is BIT_{AND,OR}_EXPR with
the constant 1; change it to TRUTH_*_EXPR instead.
When moving things inside conditions, move comparisons as well as binary
operations.
Don't make a SAVE_EXPR when moving things inside conditionals unless the value
would really have been used twice.
From-SVN: r4746
Richard Kenner [Sat, 26 Jun 1993 15:04:22 +0000 (11:04 -0400)]
(TRUTH_{AND,OR,XOR}_EXPR): Make code class be 'e' like the rest of the
truth operations.
From-SVN: r4745
Richard Stallman [Sat, 26 Jun 1993 12:27:32 +0000 (12:27 +0000)]
Include ctype.h.
(isalnum, isdigit): Macros deleted.
From-SVN: r4744
Richard Stallman [Sat, 26 Jun 1993 12:27:06 +0000 (12:27 +0000)]
Include ctype.h.
From-SVN: r4743
Richard Stallman [Sat, 26 Jun 1993 07:44:01 +0000 (07:44 +0000)]
(output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].
From-SVN: r4742
Richard Stallman [Sat, 26 Jun 1993 07:42:26 +0000 (07:42 +0000)]
(movdi): Delete the earlyclobber in load case.
From-SVN: r4741
Doug Evans [Sat, 26 Jun 1993 07:14:53 +0000 (07:14 +0000)]
(option_map): Add missing comma.
From-SVN: r4740
Richard Stallman [Sat, 26 Jun 1993 07:05:47 +0000 (07:05 +0000)]
Clean up formatting.
From-SVN: r4739
Richard Stallman [Sat, 26 Jun 1993 06:31:09 +0000 (06:31 +0000)]
(calls_function_1): Add declaration.
From-SVN: r4738
Richard Stallman [Sat, 26 Jun 1993 02:37:19 +0000 (02:37 +0000)]
(calls_function): Don't scan a single save_expr twice.
(calls_function_1): New subroutine for the actual recursion.
From-SVN: r4737
Richard Stallman [Sat, 26 Jun 1993 00:14:16 +0000 (00:14 +0000)]
(all_iter_stmt_simple): Add missing `else'.
From-SVN: r4736
Brendan Kehoe [Fri, 25 Jun 1993 23:17:30 +0000 (19:17 -0400)]
only 13 reduce/reduce
From-SVN: r4735
Brendan Kehoe [Fri, 25 Jun 1993 23:16:44 +0000 (19:16 -0400)]
add C++ flags
From-SVN: r4734
Richard Stallman [Fri, 25 Jun 1993 21:57:48 +0000 (21:57 +0000)]
Convert ...-sysvr4 into ...-sysv4.
From-SVN: r4733
Richard Stallman [Fri, 25 Jun 1993 21:35:23 +0000 (21:35 +0000)]
(CPP_PREDEFINES): Have two alternatives,
one for motorola and one for not motorola.
From-SVN: r4732
Richard Stallman [Fri, 25 Jun 1993 21:34:25 +0000 (21:34 +0000)]
(CPP_PREDEFINES): Add __motorola__.
From-SVN: r4731
Richard Stallman [Fri, 25 Jun 1993 18:14:35 +0000 (18:14 +0000)]
(store_expr): If TARGET is volatile mem ref, return it.
From-SVN: r4730
Richard Stallman [Fri, 25 Jun 1993 18:01:51 +0000 (18:01 +0000)]
(lang_options): Add -fdollars-in-identifiers.
From-SVN: r4729
Richard Stallman [Fri, 25 Jun 1993 18:01:20 +0000 (18:01 +0000)]
(c_decode_option): Handle -fdollars-in-identifiers.
From-SVN: r4728
Jeff Law [Fri, 25 Jun 1993 17:43:16 +0000 (11:43 -0600)]
pa-hpux.h (LINK_SPEC): Search shared libraries by default...
* pa-hpux.h (LINK_SPEC): Search shared libraries by default; turn off
shared library searching if -static is specified.
* pa-ghpux.h (LINK_SPEC): Likewise.
From-SVN: r4727
Jeff Law [Fri, 25 Jun 1993 17:41:01 +0000 (11:41 -0600)]
pa.c: References to TARGET_SHARED_LIBS deleted.
* pa.c: References to TARGET_SHARED_LIBS deleted.
* pa.md: Likewise.
From-SVN: r4726
Jeff Law [Fri, 25 Jun 1993 17:40:42 +0000 (11:40 -0600)]
pa.h (TARGET_SHARED_LIBS): Delete switch and all references to the switch.
* pa.h (TARGET_SHARED_LIBS): Delete switch and all references to
the switch.
From-SVN: r4725
Jeff Law [Fri, 25 Jun 1993 17:35:30 +0000 (11:35 -0600)]
* pa.h (TARGET_DISABLE_INDEXING): Clean up comments.
From-SVN: r4724
Jeff Law [Fri, 25 Jun 1993 17:35:04 +0000 (11:35 -0600)]
pa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports.
* pa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports.
* pa1-utahmach.h (TARGET_DEFAULT): Likewise.
From-SVN: r4723
Richard Stallman [Fri, 25 Jun 1993 04:51:39 +0000 (04:51 +0000)]
(negdi2, negdi2_internal): Renamed from negdi3...
From-SVN: r4722
Richard Stallman [Thu, 24 Jun 1993 04:32:25 +0000 (04:32 +0000)]
(option_map): Make --version alias for -dumpversion.
From-SVN: r4721