aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
1998-07-06Make-lang.in (f77.stage?): Use mv -f instead of just mv so that we can move ↵Mike Stump1-4/+4
g77.c. 8 * Make-lang.in (f77.stage?): Use mv -f instead of just mv so that we can move g77.c. From-SVN: r20958
1998-07-06Make-lang.in (f77.stage?): Use mv -f instead of just mv so that we can move ↵Mike Stump1-0/+5
g77.c. � * Make-lang.in (f77.stage?): Use mv -f instead of just mv so that we can move g77.c. From-SVN: r20957
1998-07-06* Disable the following change from gcc2. Not appropriate for egcs:Jeffrey A Law2-1/+15
Sun Jun 7 09:30:31 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * reload.c (find_reloads): Give preference to pseudo that was the reloaded output of previous insn. From-SVN: r20955
1998-07-06decl.c (lookup_tag): Use CP_DECL_CONTEXT.Jason Merrill3-2/+8
* decl.c (lookup_tag): Use CP_DECL_CONTEXT. * tree.c (make_binfo): Fix length. From-SVN: r20954
1998-07-06Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly.Kaveh R. Ghazi8-98/+121
Redesign GCC_FUNC_PRINTF_PTR so that it doesn't define HOST_PTR_PRINTF directly. Instead, autoconf will only determine whether "%p" works and its up to machmode.h to base its definition of HOST_PTR_PRINTF on that. This ensures that machmode.h is always included to get the definition of HOST_PTR_PRINTF for lossy hosts or cross compiles where "%p" is not found. * aclocal.m4 (GCC_FUNC_PRINTF_PTR): Don't define HOST_PTR_PRINTF. Instead, define a new macro HAVE_PRINTF_PTR which only signifies whether we have the %p format specifier or not. * acconfig.h: Delete stub for HOST_PTR_PRINTF, add HAVE_PRINTF_PTR. * machmode.h (HOST_PTR_PRINTF): When determining the definition, check HAVE_PRINTF_PTR to see whether "%p" is okay. * mips-tfile.c: Include machmode.h to get HOST_PTR_PRINTF. * Makefile.in (mips-tfile.o): Depend on machmode.h. From-SVN: r20953
1998-07-06jump.c (duplicate_loop_exit_test): Don't refuse to copy a section of code ↵Mark Mitchell3-20/+143
just because it contains... * jump.c (duplicate_loop_exit_test): Don't refuse to copy a section of code just because it contains NOTE_INSN_BLOCK_{BEG,END}. * stmt.c (expand_end_loop): Likewise. Also, don't refuse to move CALL_INSNs or CODE_LABELs. When moving code, don't move NOTE_INSN_BLOCK_{BEG,END}. From-SVN: r20952
1998-07-06intdoc.in (HOSTNM_func, [...]): Note possible need for -lsocket.Dave Love3-12/+32
1998-07-06 Dave Love <d.love@dl.ac.uk> * intdoc.in (HOSTNM_func, HOSTNM_subr): Note possible need for -lsocket. From-SVN: r20949
1998-07-06cse.c (CSE_ADDRESS_COST): New macro, based on ADDRESS_COST, but dealing with ↵Mark Mitchell2-17/+35
ADDRESSOF. * cse.c (CSE_ADDRESS_COST): New macro, based on ADDRESS_COST, but dealing with ADDRESSOF. (find_best_addr): Use it. From-SVN: r20945
1998-07-06* alpha/vms.h (TRAMPOLINE_TEMPLATE): Revert last change.Richard Henderson2-1/+5
From-SVN: r20944
1998-07-06libgcc2.c (__eprintf): Make args consistent with prototype in assert.h.Dave Love2-1/+6
* libgcc2.c (__eprintf): Make args consistent with prototype in assert.h. From-SVN: r20943
1998-07-06intdoc.in: Add entry for DATE_AND_TIME.Dave Love6-10/+83
1998-07-05 Dave Love <d.love@dl.ac.uk> * intdoc.in: Add entry for DATE_AND_TIME. * intrin.def: Add implementation for DATE_AND_TIME. Make second and third args of SYSTEM_CLOCK optional. * com.c (ffecom_expr_intrinsic_): New case for DATE_AND_TIME. * com-rt.def (FFECOM_gfrtSYSTEM_CLOCK): Call G77_system_clock_0, not system_clock_. (FFECOM_gfrtDATE_AND_TIME): New DEFGFRT. From-SVN: r20938
1998-07-05Daily bump.Jeff Law1-1/+1
From-SVN: r20937
1998-07-05cse.c (cse_insn): Second arg is an RTX now.Jeffrey A Law2-10/+27
* cse.c (cse_insn): Second arg is an RTX now. Update all callers. (cse_basic_block): Keep track of the current RETVAL insn for a libcall instead of just noting that we're in a libcall. From-SVN: r20936
1998-07-05cse.c (cse_insn): When SETting (MEM (ADDRESSOF (X))) to Y...Mark Mitchell2-2/+18
* cse.c (cse_insn): When SETting (MEM (ADDRESSOF (X))) to Y, don't claim that the former is equivalent to the latter. From-SVN: r20935
1998-07-05combine.c (simplify_comparison): Do not commute a AND into a paradoxical ↵Jeffrey A Law2-0/+13
SUBREG if not WORD_REGISTER_OPERATIONS. * combine.c (simplify_comparison): Do not commute a AND into a paradoxical SUBREG if not WORD_REGISTER_OPERATIONS. From-SVN: r20934
1998-07-05freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with ↵Jeff Law2-0/+4
HAVE_GAS_MAX_SKIP_P2ALIGN. 0 * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with HAVE_GAS_MAX_SKIP_P2ALIGN. * i386/linux.h: Likewise. From-SVN: r20933
1998-07-05freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with ↵Jeff Law1-0/+6
HAVE_GAS_MAX_SKIP_P2ALIGN. � * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with HAVE_GAS_MAX_SKIP_P2ALIGN. * i386/linux.h: Likewise. From-SVN: r20932
1998-07-04Daily bump.Jeff Law1-1/+1
From-SVN: r20929
1998-07-03Daily bump.Jeff Law1-1/+1
From-SVN: r20920
1998-07-02sparc.c (sparc_operand, [...]): Recognize CONSTANT_P_RTX.David S. Miller10-432/+202
* sparc.c (sparc_operand, move_operand, arith_operand, arith11_operand, arith10_operand, arith_double_operand, arith11_double_operand, arith10_double_operand, small_int, uns_small_int): Recognize CONSTANT_P_RTX. (output_sized_memop, output_move_with_extension, output_load_address, output_size_for_block_move, output_block_move, delay_operand): Remove, has not been enabled or referenced for years. * sparc.md (movstrsi, block_move_insn): Likewise. * sparc.h (PREDICATE_CODES): Define. * linux-aout.h (MACHINE_STATE_{SAVE,RESTORE}): Override with version which uses getcc/setcc traps to save/restore condition codes. * linux64.h: Likewise. * sunos4.h: Likewise. * linux.h: Likewise. * sol2.h: Likewise. * sun4o3.h: Likewise. From-SVN: r20917
1998-07-02alpha.c (alpha_initialize_trampoline): Hack around Pmode/ptr_mode lossage on ↵Richard Henderson3-5/+14
VMS. * alpha.c (alpha_initialize_trampoline): Hack around Pmode/ptr_mode lossage on VMS. Reported by kkaempf@rmi.de. * alpha/vms.h (TRAMPOLINE_TEMPLATE): Add missing 0. From-SVN: r20916
1998-07-02Daily bump.Jeff Law1-1/+1
From-SVN: r20915
1998-07-02Define MUST_PASS_IN_STACK to override default. (Fixes ↵Nick Clifton2-0/+11
testsuite/gcc.c-execute/strct-stdarg-1.c) From-SVN: r20908
1998-07-02Switch reg_n_info structure to use varraysMichael Meissner6-96/+189
From-SVN: r20894
1998-07-02expr.h (STACK_SIZE_MODE): New macro.David Edelsohn7-146/+195
* expr.h (STACK_SIZE_MODE): New macro. * explow.c (allocate_dynamic_stack_space): Use it for mode of allocate_stack pattern increment operand. * tm.texi (STACK_SAVEAREA_MODE, STACK_SIZE_MODE): Document. * md.texi (stack_save_block, ...): Reflect use of macro. * rs6000.h (PROMOTE_MODE): Always promote to word_mode. (PROMOTE_FUNCTION_ARGS): Define. (PROMOTE_FUNCTION_RETURN): Define. (FUNCTION_VALUE): Promote to word_mode if smaller. Convert to gen_rtx_FOO. * rs6000.md (call_indirect): Store doubleword in 64-bit mode. Convert to gen_rtx_FOO. From-SVN: r20893
1998-07-02Add initial varray support infrastructureMichael Meissner6-5/+281
From-SVN: r20892
1998-07-02Regenerate file.Robert Lipe1-90/+94
From-SVN: r20891
1998-07-02install.texi (sco3.2v5): Document new --with-gnu-as flag.Robert Lipe6-10/+86
* install.texi (sco3.2v5): Document new --with-gnu-as flag. * config/i386/sco5.h (JUMP_TABLES_IN_TEXT_SECTION): Defined as in other targets. (USE_GAS): Conditionalize away native assembler usage. * config/i386/sco5gas.h: New file. * config/i386/t-sco5gas: New file. * configure.in (ix86-sco3.2v5*): Use new files if --with-gnu-as From-SVN: r20890
1998-07-02haifa-sched.c (alloc_EXPR_LIST): Change to use unused_expr_list.Catherine Moore2-3/+8
* haifa-sched.c (alloc_EXPR_LIST): Change to use unused_expr_list. From-SVN: r20889
1998-07-02Makefile.in (install-info): Don't use $realfile.Dave Love2-6/+9
Thu Jul 2 14:13:28 1998 Dave Love <d.love@dl.ac.uk> * Makefile.in (install-info): Don't use $realfile. Ignore possible errors from the install-info program. From-SVN: r20888
1998-07-01* combine.c (simplify_comparison): Apply SUBREG_REG to SUBREGs.Alasdair Baird2-2/+6
From-SVN: r20887
1998-07-01Daily bump.Jeff Law1-1/+1
From-SVN: r20886
1998-07-01* gcc.c-torture/compile/980701-1.c: New test.Jeffrey A Law2-0/+11
From-SVN: r20885
1998-07-01i386.h (HARD_REGNO_MODE_OK): Kill spurrious test.Richard Henderson2-3/+10
* i386.h (HARD_REGNO_MODE_OK): Kill spurrious test. (MODES_TIEABLE_P): Tie SImode and HImode. From-SVN: r20884
1998-07-01O * invoke.texi (Optimize Options): Fix typo.Andreas Jaeger2-1/+5
From-SVN: r20883
1998-07-01Fix 24 powerpc-ibm-aix4.1 gdb testsuite failures due to bad gcc debug info.Jim Wilson2-0/+15
* xcoffout.c (xcoffout_begin_function): Call xcoffout_block for the zero'th block. From-SVN: r20882
1998-07-01h8300.c (print_operand): Delete %L support.Ken Raeburn4-17/+13
* h8300.c (print_operand): Delete %L support. * h8300.md (branch_true, branch_false): Use %= with a prefix instead of %L for local branch labels. Prevents emitting of "tl###" labels that are not assembler-temporary and thus confuse gdb. From-SVN: r20881
1998-07-01reload1.c (emit_reload_insns): Use proper register classes for ↵J"orn Rennecke2-4/+8
SECONDARY_INPUT_RELOAD_CLASS /... * reload1.c (emit_reload_insns): Use proper register classes for SECONDARY_INPUT_RELOAD_CLASS / SECONDARY_MEMORY_NEEDED code. From-SVN: r20878
1998-07-01reload.c (find_reloads): If there are multiple RELOAD_FOR_INPUT_ADDRESS / ↵J"orn Rennecke2-9/+82
RELOAD_FOR_OUTPUT_ADDRESS... * reload.c (find_reloads): If there are multiple RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_OUTPUT_ADDRESS reloads for one operand, change RELOAD_FOR_INPADDR_ADDRESS / RELOAD_FOR_OUTADDR_ADDRESS for all but the first RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_OUTPUT_ADDRESS reloads. From-SVN: r20877
1998-07-01Typo fix.Joern Rennecke1-1/+1
From-SVN: r20876
1998-07-01Fix 980701-1.f (which was producing "unaligned trap" on an Alpha running ↵Craig Burley4-17/+62
GNU/Linux, as predicted): Wed Jul 1 11:19:13 1998 Craig Burley <burley@gnu.org> Fix 980701-1.f (which was producing "unaligned trap" on an Alpha running GNU/Linux, as predicted): * equiv.c (ffeequiv_layout_local_): Don't bother coping with pre-padding of entire area while building it; do that instead after the building is done, and do it by modifying only the modulo field. This covers the case of alignment stringency being increased without lowering the starting offset, unlike the previous changes, and even more elegantly than those. * target.c (ffetarget_align): Make sure alignments are non-zero, just in case. From-SVN: r20875
1998-07-01980701-0.f, 980701-1.f: New test from Craig.Dave Love1-0/+5
1998-07-01 Dave Love <d.love@dl.ac.uk> * g77.f-torture/execute/980701-0.f, g77.f-torture/execute/980701-1.f: New test from Craig. From-SVN: r20874
1998-07-01New test from Craig.Dave Love2-0/+144
From-SVN: r20873
1998-07-01md.texi: fix typo in save_stack_* node.David Edelsohn1-1/+1
From-SVN: r20869
1998-07-01regmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before using its ↵J"orn Rennecke2-0/+7
PATTERN. * regmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before using its PATTERN. From-SVN: r20868
1998-06-30expr.c (emit_group_load, [...]): Rewrite considering the size and alignment ↵Richard Henderson6-76/+200
of the structure being manipulated. * expr.c (emit_group_load, emit_group_store): Rewrite considering the size and alignment of the structure being manipulated. * expr.c, calls.c, function.c: Update all callers. * expr.h: Update prototypes. * cse.c (invalidate): Cope with parallels. From-SVN: r20867
1998-06-30sparc.c (function_arg_record_value): Take a MODE arg with which to create ↵Richard Henderson2-5/+11
the PARALLEL. * sparc.c (function_arg_record_value): Take a MODE arg with which to create the PARALLEL. Update all callers. From-SVN: r20866
1998-06-30expr.c (expand_assignment, [...]): Use convert_memory_address instead of ↵Richard Henderson2-3/+8
convert_to_mode when possible. * expr.c (expand_assignment, store_constructor, expand_expr): Use convert_memory_address instead of convert_to_mode when possible. From-SVN: r20865
1998-06-30alpha.c (alpha_initialize_trampoline): Take arguments describing the layout.Richard Henderson9-100/+79
* alpha.c (alpha_initialize_trampoline): Take arguments describing the layout. Use ptr_mode. Disable hint generation. Use gen_imb. * alpha.h (INITIALIZE_TRAMPOLINE): Pass extra args to the init func. (TRANSFER_FROM_TRAMPOLINE): Move ... * alpha/osf.h: ... here. * alpha/vms.h (INITIALIZE_TRAMPOLINE): Use alpha_initialize_trampoline. (TRANSFER_FROM_TRAMPOLINE): Remove undef. * alpha/win-nt.h: Likewise. * alpha/vxworks.h: Likewise. * alpha/linux.h: Revert gcc2 merge lossage. From-SVN: r20864
1998-07-01c-decl.c (grokdeclarator): Don't warn about implicit int in `typedef foo = bar'.Andreas Schwab2-0/+7
* c-decl.c (grokdeclarator): Don't warn about implicit int in `typedef foo = bar'. From-SVN: r20863