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
Richard Stallman [Thu, 24 Jun 1993 03:36:08 +0000 (03:36 +0000)]
(decl_attributes): If first_arg_num is 0, no error for it.
From-SVN: r4720
Richard Kenner [Wed, 23 Jun 1993 23:17:47 +0000 (19:17 -0400)]
(alloc_qty_for_scratch): Can allocate likely-spilled register classes for SCRATCH.
(alloc_qty_for_scratch): Can allocate likely-spilled register classes
for SCRATCH.
(block_alloc): Likewise for regs in small register classes.
From-SVN: r4719
Richard Kenner [Wed, 23 Jun 1993 11:56:43 +0000 (07:56 -0400)]
(DBX_REGPARM_STABS_LETTER, DEBUGGER_{AUTO,ARG}_OFFSET): New macros.
From-SVN: r4718
Richard Kenner [Wed, 23 Jun 1993 11:56:13 +0000 (07:56 -0400)]
(output_prologue): Delete unused var, INSN.
(output_encoded_offset): New function.
(output_epilogue): Minor changes to traceback table; call
new output_encoded_offset.
(romp_debugger_{auto,arg}_correction): New functions.
From-SVN: r4717
Richard Kenner [Wed, 23 Jun 1993 11:54:14 +0000 (07:54 -0400)]
(fill_slots_from_thread): When replacing a use of a register with what it was set to...
(fill_slots_from_thread): When replacing a use of a register with what
it was set to, don't do it when either the destination or source of
the copy is set in the insn.
From-SVN: r4716
Richard Kenner [Wed, 23 Jun 1993 11:52:14 +0000 (07:52 -0400)]
(jump_optimize): Properly make jump into store-flag sequence when...
(jump_optimize): Properly make jump into store-flag sequence when the
jump can't be reversed but the TRUE branch is const0_rtx.
From-SVN: r4715
Richard Kenner [Wed, 23 Jun 1993 11:50:02 +0000 (07:50 -0400)]
(expand_expr): Set IGNORE if target is const0_rtx or result type is VOID.
Move most IGNORE processing to one place to avoid expanding things that don't
need to be expanded.
(expand_expr, case CONSTRUCTOR, case COND_EXPR): If IGNORE, don't expand
anything we don't have to.
(expand_expr, case CONVERT_EXPR): Don't deal with IGNORE here.
From-SVN: r4714
Richard Kenner [Wed, 23 Jun 1993 11:47:16 +0000 (07:47 -0400)]
(scratch_block, scratch_list{,_length}, scratch_index): New variables.
(local_alloc): Allocate and initialize them.
(block_alloc): Only allocate a SCRATCH if it can fit in the block we make.
Don't mark regs used in SCRATCH live here; instead, make entry in new tables.
From-SVN: r4713
Richard Kenner [Wed, 23 Jun 1993 11:46:27 +0000 (07:46 -0400)]
(mark_scratch_live): New function.
(reload): Call it on each SCRATCH.
Free scratch list and block.
(spill_hard_reg): Reallocate any SCRATCH whose register we want to spill.
From-SVN: r4712
Richard Kenner [Wed, 23 Jun 1993 11:45:47 +0000 (07:45 -0400)]
(scratch_list, scratch_block, scratch_list_length): New vars.
From-SVN: r4711
Brendan Kehoe [Tue, 22 Jun 1993 17:56:40 +0000 (13:56 -0400)]
toplev.c (report_error_function): Change format of the included-file stack to be more readable.
* toplev.c (report_error_function): Change format of the
included-file stack to be more readable.
* cccp.c (print_containing_files): Likewise.
From-SVN: r4710
Brendan Kehoe [Tue, 22 Jun 1993 17:56:40 +0000 (13:56 -0400)]
toplev.c (report_error_function): Change format of the included-file stack to be more readable.
* toplev.c (report_error_function): Change format of the
included-file stack to be more readable.
* cccp.c (print_containing_files): Likewise.
* toplev.c (report_error_function): Change format of the
included-file stack to be more readable.
* cccp.c (print_containing_files): Likewise.
From-SVN: r4709
Richard Stallman [Tue, 22 Jun 1993 06:07:19 +0000 (06:07 +0000)]
(grokdeclarator): Avoid the use of macros for ..._TYPE
nodes in cases where a parameter's type is error_mark_node.
From-SVN: r4708
Richard Kenner [Mon, 21 Jun 1993 23:21:04 +0000 (19:21 -0400)]
(print_operand, case 'J'): Write out shift count of 0, not 32 for bit
31 of CCR.
From-SVN: r4707
Richard Stallman [Sun, 20 Jun 1993 23:44:07 +0000 (23:44 +0000)]
(extraclean): Delete *.gz, and other diff and tar files.
From-SVN: r4706
Richard Stallman [Sun, 20 Jun 1993 22:21:49 +0000 (22:21 +0000)]
(expand_call): In last change, preserve the temp slot.
From-SVN: r4705
Richard Stallman [Sun, 20 Jun 1993 18:08:53 +0000 (18:08 +0000)]
(type_main_variant): New function.
Use it in place of TYPE_MAIN_VARIANT everywhere in dwarfout.c.
From-SVN: r4704
Richard Stallman [Sat, 19 Jun 1993 22:34:57 +0000 (22:34 +0000)]
(MAYBE_VMS_FUNCTION_PROLOGUE): Adjust stack pointer by 4 prior to calling C$MAIN_ARGS...
(MAYBE_VMS_FUNCTION_PROLOGUE): Adjust stack pointer by 4 prior
to calling C$MAIN_ARGS, otherwise POSIX edition of that routine dies.
From-SVN: r4703
Richard Stallman [Sat, 19 Jun 1993 22:34:05 +0000 (22:34 +0000)]
(compile_file): For static decl never defined,
use just warning, not pedwarn.
From-SVN: r4702
Richard Stallman [Sat, 19 Jun 1993 22:33:36 +0000 (22:33 +0000)]
(call_insn_operand): Require constant address be a general_operand.
(expander_call_insn_operand): New fn (what call_insn_operand was).
From-SVN: r4701
Richard Stallman [Sat, 19 Jun 1993 22:33:04 +0000 (22:33 +0000)]
(call_pop, call, call_value_pop, call_value)
(call_pop, call, call_value_pop, call_value)
(untyped_call): Use expander_call_insn_operand.
From-SVN: r4700
Richard Stallman [Sat, 19 Jun 1993 22:32:28 +0000 (22:32 +0000)]
(stack_result_p): New function.
(stack_reg_life_analysis): Use that.
From-SVN: r4699
Richard Stallman [Sat, 19 Jun 1993 09:57:10 +0000 (09:57 +0000)]
(dbxout_type): Reinstall #if 0 around code for
outputting structure types, that confused GDB.
From-SVN: r4698
Richard Stallman [Sat, 19 Jun 1993 08:14:23 +0000 (08:14 +0000)]
(MAYBE_VMS_FUNCTION_PROLOGUE): adjust stack pointer by 4 prior to calling C$MAIN_ARGS...
(MAYBE_VMS_FUNCTION_PROLOGUE): adjust stack pointer by 4 prior
to calling C$MAIN_ARGS, otherwise POSIX edition of that routine dies.
From-SVN: r4697
Richard Stallman [Sat, 19 Jun 1993 01:19:32 +0000 (01:19 +0000)]
(clean): Delete objc-headers subdir.
From-SVN: r4696
Richard Stallman [Fri, 18 Jun 1993 21:58:49 +0000 (21:58 +0000)]
(TARGET_SWITCHES): For -m68020, -m68000 and
-msoft-float, turn off 01400 bits.
From-SVN: r4695
Richard Stallman [Fri, 18 Jun 1993 21:43:40 +0000 (21:43 +0000)]
(gcc.xtar.gz): Renamed from gcc.tar.z.
(dist): Change the dependency.
(mostlyclean): Delete tmp-gcc.xtar.gz.
From-SVN: r4694
Richard Stallman [Fri, 18 Jun 1993 20:23:51 +0000 (20:23 +0000)]
(save_exprs): New variable.
(collect_iterators): Don't process a SAVE_EXPR twice.
(iterator_expand): Clear save_exprs.
From-SVN: r4693
Richard Stallman [Fri, 18 Jun 1993 18:52:56 +0000 (18:52 +0000)]
(gcc.info, cpp.info): Actually cd to srcdir.
From-SVN: r4692
Michael Meissner [Fri, 18 Jun 1993 17:36:27 +0000 (17:36 +0000)]
deal with block move input reg also being a scratch reg.
From-SVN: r4691
Richard Stallman [Thu, 17 Jun 1993 21:58:38 +0000 (21:58 +0000)]
(decrement_and_branch_until_zero): Pattern disabled.
From-SVN: r4690
Richard Stallman [Thu, 17 Jun 1993 21:31:32 +0000 (21:31 +0000)]
(calculate_giv_inc): Add new variables increment_total and tries...
(calculate_giv_inc): Add new variables increment_total
and tries, and new label retry, to handle case where increment is
two add instructions.
From-SVN: r4689
Richard Stallman [Thu, 17 Jun 1993 20:26:46 +0000 (20:26 +0000)]
(USE_GAS): New define.
From-SVN: r4688
Richard Stallman [Thu, 17 Jun 1993 20:26:23 +0000 (20:26 +0000)]
Changes for non gas gcc.
(ASM_FILE_START_1): Always output .noopt because /bin/as is buggy.
Added #undef to {INIT,FINI,CTORS,DTORS}_SECTION_ASM_OP, ... when
not using GAS.
(CONST_SECTION_FUNCTION): Override svr3 default.
(EXTRA_SECTION_FUNCTIONS): Override svr3 default.
(OBJECT_FORMAT_COFF): Added define for collect2.
(MY_ISCOFF): For collect2 to handle aix and svr3 object file.
From-SVN: r4687
Richard Kenner [Thu, 17 Jun 1993 19:16:45 +0000 (15:16 -0400)]
Fix typo in copyright line.
From-SVN: r4686
Richard Stallman [Thu, 17 Jun 1993 07:15:25 +0000 (07:15 +0000)]
(LEGITIMATE_CONSTANT_P): Reject function addresses for now.
From-SVN: r4685
Richard Stallman [Thu, 17 Jun 1993 04:44:04 +0000 (04:44 +0000)]
(output_addr_const): Don't insert a leading space
in the CONST_DOUBLE_HIGH != 0 case.
From-SVN: r4684
Richard Stallman [Wed, 16 Jun 1993 21:09:23 +0000 (21:09 +0000)]
(SMALL_ARG_MAX): Defined.
From-SVN: r4683
Richard Stallman [Wed, 16 Jun 1993 20:27:18 +0000 (20:27 +0000)]
(check_format): Don't crash if cur_type is an error_mark.
Handle identifier_node as the TYPE_NAME.
From-SVN: r4682
Richard Stallman [Wed, 16 Jun 1993 19:45:41 +0000 (19:45 +0000)]
Comment change.
From-SVN: r4681
Richard Stallman [Wed, 16 Jun 1993 06:48:10 +0000 (06:48 +0000)]
(ltoe, ultoe, eifrac, euifrac): Handle 64-bit longs.
(SFMODE_NAN, DFMODE_NAN, XFMODE_NAN, TFMODE_NAN): New macros
permit definitions of NaN patterns to be overridden in tm.h.
From-SVN: r4680
Richard Stallman [Mon, 14 Jun 1993 23:16:31 +0000 (23:16 +0000)]
(invalidate_skipped_set): Promote "nonscalar" to "all".
From-SVN: r4679
Richard Stallman [Mon, 14 Jun 1993 21:48:40 +0000 (21:48 +0000)]
(stdio.h math.h ctype.h sys/{limits.h,fcntl.h,dirent.h}):
Fix STDC/POSIX and other things for Interactive Unix 2.2 or later.
From-SVN: r4678
Richard Stallman [Mon, 14 Jun 1993 21:40:37 +0000 (21:40 +0000)]
(expand_call): If PCC_STATIC_STRUCT_RETURN and TARGET
is zero, copy result from static location.
From-SVN: r4677
Richard Stallman [Mon, 14 Jun 1993 18:06:44 +0000 (18:06 +0000)]
(iorsi3): Explicitly set length to 1.
(andsi3, lshrsi3, rotrsi3, rotlsi3): Likewise.
(ashift and ashiftrt by const_int_operand): Likewise.
((and (ashift)) optimizer): Likewise.
From-SVN: r4676
Richard Stallman [Mon, 14 Jun 1993 08:47:36 +0000 (08:47 +0000)]
(make_memloc): Don't reuse a memloc.
From-SVN: r4675
Richard Stallman [Sun, 13 Jun 1993 18:15:58 +0000 (18:15 +0000)]
(expand_expr, case COND_EXPR): Fix typo; const1_rtx should
be const0_rtx when ignoring expression.
From-SVN: r4674
Richard Stallman [Sun, 13 Jun 1993 04:16:47 +0000 (04:16 +0000)]
(optabs): For strlen_optab, don't look for `2' in name.
From-SVN: r4673
Richard Stallman [Sun, 13 Jun 1993 00:25:33 +0000 (00:25 +0000)]
(gen_lowpart_common): Use those macros if REAL_ARITHMETIC.
From-SVN: r4672
Richard Stallman [Sun, 13 Jun 1993 00:25:05 +0000 (00:25 +0000)]
(REAL_VALUE_FROM_TARGET_SINGLE): New macro.
(REAL_VALUE_FROM_TARGET_DOUBLE): Likewise.
From-SVN: r4671
Richard Stallman [Sun, 13 Jun 1993 00:24:44 +0000 (00:24 +0000)]
(ereal_from_float, ereal_from_double): New functions.
From-SVN: r4670
Richard Stallman [Sat, 12 Jun 1993 23:42:59 +0000 (23:42 +0000)]
(record_jump_cond): Look up op1 again after inserting op0.
From-SVN: r4669
Richard Stallman [Sat, 12 Jun 1993 20:23:42 +0000 (20:23 +0000)]
(movqi): Handle copying an address register to or
from memory when the address uses the address register.
From-SVN: r4668
Jim Wilson [Sat, 12 Jun 1993 17:43:42 +0000 (10:43 -0700)]
(add_dependence): Reject CODE_LABELs when searching for
last insn of a sched group.
From-SVN: r4667
Richard Kenner [Sat, 12 Jun 1993 01:49:20 +0000 (21:49 -0400)]
(movsf, movdf): Handle a move from an integer register before reload.
This can happen if the user uses asm to put a floating point variable
in an integer register.
From-SVN: r4666
Richard Kenner [Sat, 12 Jun 1993 01:45:00 +0000 (21:45 -0400)]
(rs6000_gen_section_name): Only replace last period in filename with section...
(rs6000_gen_section_name): Only replace last period in filename with
section name and correct calculation of string length.
From-SVN: r4665
Richard Kenner [Sat, 12 Jun 1993 01:43:05 +0000 (21:43 -0400)]
(constrain_operands): Correctly ignore MATCH_OPERATOR operands.
From-SVN: r4664
Richard Kenner [Sat, 12 Jun 1993 01:40:32 +0000 (21:40 -0400)]
(eliminate_regs_in_insn): Don't use a later elimination than
eliminate_regs would use.
From-SVN: r4663
Richard Stallman [Fri, 11 Jun 1993 17:32:08 +0000 (17:32 +0000)]
(finish_decl): Don't modify DECL_INITIAL of a PARM_DECL.
From-SVN: r4662
Richard Stallman [Fri, 11 Jun 1993 03:49:49 +0000 (03:49 +0000)]
(main): Use __volatile__, not volatile.
From-SVN: r4661
Michael Meissner [Thu, 10 Jun 1993 20:30:36 +0000 (20:30 +0000)]
More ELF changes.
From-SVN: r4660
Jim Blandy [Thu, 10 Jun 1993 20:28:32 +0000 (20:28 +0000)]
*** empty log message ***
From-SVN: r4659
Richard Stallman [Thu, 10 Jun 1993 17:47:20 +0000 (17:47 +0000)]
(translate_options): Don't assume option_map[j].arg_info != 0.
From-SVN: r4658
Richard Stallman [Thu, 10 Jun 1993 17:00:40 +0000 (17:00 +0000)]
(MAX_BITS_PER_WORD): Define earlier.
(shift_cost, shiftadd_cost, shiftsub_cost): Use MAX_BITS_PER_WORD.
From-SVN: r4657
Jim Wilson [Thu, 10 Jun 1993 16:55:59 +0000 (09:55 -0700)]
(sched_analyze_2): Don't ignore USE insns when creating dependencies.
(sched_analyze): Likewise.
From-SVN: r4656
Michael Meissner [Wed, 9 Jun 1993 20:20:45 +0000 (20:20 +0000)]
OSF/1 with ELF support patches.
From-SVN: r4655
Michael Meissner [Wed, 9 Jun 1993 19:57:21 +0000 (19:57 +0000)]
OSF/1 with ELF support patches.
From-SVN: r4654
Jim Wilson [Tue, 8 Jun 1993 21:57:08 +0000 (14:57 -0700)]
(move_movables): Delete REG_EQUAL notes that describe a
non loop invariant value.
From-SVN: r4653
John Hassey [Tue, 8 Jun 1993 20:20:21 +0000 (20:20 +0000)]
Initial revision
From-SVN: r4652
Jim Wilson [Tue, 8 Jun 1993 18:51:25 +0000 (11:51 -0700)]
(call_operand, call_operand_address): Accept any address not just REG rtx.
From-SVN: r4651