Richard Kenner [Mon, 15 Jan 1996 15:02:59 +0000 (10:02 -0500)]
(expand_expr, case COMPONENT_REF): Don't make recursive call on object
with EXPAND_SUM.
From-SVN: r10989
Richard Kenner [Mon, 15 Jan 1996 13:49:58 +0000 (08:49 -0500)]
(pushdi): Allow "i" for operand 1.
(extendqidi2): Improve 68000 code generation.
(adddi_lshrdi_63): New pattern.
From-SVN: r10988
Richard Kenner [Mon, 15 Jan 1996 13:38:00 +0000 (08:38 -0500)]
Initial revision
From-SVN: r10987
Richard Kenner [Mon, 15 Jan 1996 13:37:29 +0000 (08:37 -0500)]
(INSTALL_ASSERT_H): Unset it.
From-SVN: r10986
Richard Kenner [Mon, 15 Jan 1996 13:31:41 +0000 (08:31 -0500)]
(STARTFILE_SPEC): Use crtbegin.o for both shared llibrary and normal executable; use gcrt1.o for -profile.
(STARTFILE_SPEC): Use crtbegin.o for both shared llibrary and normal
executable; use gcrt1.o for -profile.
(ENDFILE_SPEC): Use crtend.o for shared llibrary and normal executable.
From-SVN: r10985
Richard Kenner [Mon, 15 Jan 1996 13:28:30 +0000 (08:28 -0500)]
(LIB_SPEC): Remove %{mieee-fp:-lieee}.
Use -lc_p for -profile.
(CC1_SPEC): New macro.
From-SVN: r10984
Richard Kenner [Mon, 15 Jan 1996 12:40:55 +0000 (07:40 -0500)]
(in_data_section): New function.
From-SVN: r10983
Richard Kenner [Mon, 15 Jan 1996 12:36:59 +0000 (07:36 -0500)]
(build_c_cast): Don't warn about alignment when we have an opaque type.
From-SVN: r10982
Richard Kenner [Mon, 15 Jan 1996 12:22:46 +0000 (07:22 -0500)]
(find_equiv_reg): Apply single_set, not PATTERN, to WHERE.
From-SVN: r10981
Richard Kenner [Mon, 15 Jan 1996 12:02:10 +0000 (07:02 -0500)]
(mark_referenced_resources, case TRAP_IF): Set volatil.
From-SVN: r10980
Richard Kenner [Mon, 15 Jan 1996 11:20:22 +0000 (06:20 -0500)]
(save_expr_regs): Delete declaration; unused.
From-SVN: r10979
Michael Meissner [Mon, 15 Jan 1996 03:07:35 +0000 (03:07 +0000)]
make exception table work with -mrelocable; fix long long ++/--; Make long longs passed correctly in V.4
From-SVN: r10978
Jeff Law [Mon, 15 Jan 1996 01:34:36 +0000 (18:34 -0700)]
* expr.c (expand_assignment): Fix alignment parm in emit_block_move.
From-SVN: r10977
Jim Wilson [Mon, 15 Jan 1996 00:57:18 +0000 (16:57 -0800)]
(save_for_inline_copying, case NOTE): Copy RTX_INTEGRATED_P bit.
From-SVN: r10976
Jim Wilson [Sun, 14 Jan 1996 23:59:52 +0000 (15:59 -0800)]
(schedule_block): Copy RTX_INTEGRATE_P bit when create a new note.
From-SVN: r10975
Richard Kenner [Sun, 14 Jan 1996 22:57:47 +0000 (17:57 -0500)]
(stupid_find_reg): Don't try to allocate reg if live over more than
5,000 insns.
From-SVN: r10974
Jeff Law [Sun, 14 Jan 1996 06:03:38 +0000 (23:03 -0700)]
* pa.h (STACK_BOUNDARY): Bring back down to 64bits.
From-SVN: r10973
Jeff Law [Sun, 14 Jan 1996 04:15:10 +0000 (21:15 -0700)]
pa.md (pre_ldwm): Fix bug exposed by recent changes.
* pa.md (pre_ldwm): Fix bug exposed by recent changes.
Simplify.
(pre_stwm, post_ldwm, post_stwm): Likewise.
(HImode and QImode variants): Likewise.
* pa.c (hppa_expand_prologue): Corresponding changes.
(hppa_expand_epilogue): Likewise.
* pa.c (hppa_legitimize_address): Generate more indexing
address modes.
From-SVN: r10972
Doug Evans [Sat, 13 Jan 1996 00:03:10 +0000 (00:03 +0000)]
(COMMON_ASM_OP): Delete, use sysv4.h's.
From-SVN: r10971
Doug Evans [Fri, 12 Jan 1996 22:47:32 +0000 (22:47 +0000)]
sched.c (schedule_block): Maintain a valid chain so emit_note_before works.
* sched.c (schedule_block): Maintain a valid chain so
emit_note_before works.
From-SVN: r10970
Michael Meissner [Fri, 12 Jan 1996 20:11:35 +0000 (20:11 +0000)]
Add @nobits to .sbss/.sbss2.
From-SVN: r10969
Michael Meissner [Fri, 12 Jan 1996 18:27:19 +0000 (18:27 +0000)]
Support for .sdata/.sbss/.sdata2/.sbss2
From-SVN: r10968
Per Bothner [Fri, 12 Jan 1996 00:25:11 +0000 (16:25 -0800)]
sparc.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use AGGREGATE_TYPE_P so QUAL_UNION_TYPE and SET_TYPE are also passed by...
* sparc.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use AGGREGATE_TYPE_P so
QUAL_UNION_TYPE and SET_TYPE are also passed by invisible reference.
* sparc.h (INIT_CUMULATIVE_ARGS for SPARCV9): Return types of
QUAL_UNION_TYPE and SET_TYPE also make invisible 1st argument.
From-SVN: r10967
Doug Evans [Thu, 11 Jan 1996 23:33:39 +0000 (23:33 +0000)]
h8300.h (TARGET_ALIGN_STRUCT_300): New macro.
* h8300/h8300.h (TARGET_ALIGN_STRUCT_300): New macro.
(TARGET_SWITCHES): Add -malign-struct-300.
(BIGGEST_FIELD_ALIGNMENT): Update.
From-SVN: r10966
Michael Meissner [Thu, 11 Jan 1996 18:55:29 +0000 (18:55 +0000)]
Properly align data section.
From-SVN: r10965
Doug Evans [Thu, 11 Jan 1996 17:22:46 +0000 (17:22 +0000)]
(OVERRIDE_OPTIONS): Clean up comment.
From-SVN: r10964
Doug Evans [Thu, 11 Jan 1996 17:06:42 +0000 (17:06 +0000)]
(CPP_PREDEFINES): Delete _DOUBLE_IS_32BITS.
From-SVN: r10963
Michael Meissner [Thu, 11 Jan 1996 16:36:41 +0000 (16:36 +0000)]
insure eabi destructors get called
From-SVN: r10962
Doug Evans [Thu, 11 Jan 1996 16:28:49 +0000 (16:28 +0000)]
* fixincludes: Wrap rpc/types.h in extern "C", for osf2.0.
From-SVN: r10961
Doug Evans [Wed, 10 Jan 1996 18:15:49 +0000 (18:15 +0000)]
varasm.c (variable_section): New function.
* varasm.c (variable_section): New function.
(assemble_variable): Call it.
From-SVN: r10960
Michael Meissner [Wed, 10 Jan 1996 16:45:21 +0000 (16:45 +0000)]
Make powerpc-eabi work again
From-SVN: r10959
Doug Evans [Tue, 9 Jan 1996 22:30:05 +0000 (22:30 +0000)]
(merge_attributes): Moved to tree.h.
From-SVN: r10958
Doug Evans [Tue, 9 Jan 1996 22:29:43 +0000 (22:29 +0000)]
(merge_attributes): Moved here from c-tree.h.
(valid_machine_attribute, is_attribute_p, lookup_attribute): Prefix
decl with `extern'.
From-SVN: r10957
Doug Evans [Tue, 9 Jan 1996 22:24:01 +0000 (22:24 +0000)]
(merge_attributes): Moved to tree.c.
From-SVN: r10956
Doug Evans [Tue, 9 Jan 1996 22:23:26 +0000 (22:23 +0000)]
(merge_attributes): Moved here from c-typeck.c.
From-SVN: r10955
Jim Wilson [Mon, 8 Jan 1996 23:27:06 +0000 (15:27 -0800)]
(LINK_SPEC): Change nostdlib to nostartfiles.
(LOCAL_LABEL_PREFIX): Delete.
(ASM_OUTPUT_SECTION_NAME): Define.
From-SVN: r10954
Michael Meissner [Sun, 7 Jan 1996 22:44:36 +0000 (22:44 +0000)]
Don't define MAX_OFILE_ALIGNMENT twice.
From-SVN: r10953
Michael Meissner [Sun, 7 Jan 1996 22:14:58 +0000 (22:14 +0000)]
Fix recogniztion of import libraries under AIX
From-SVN: r10952
Michael Meissner [Sun, 7 Jan 1996 22:00:44 +0000 (22:00 +0000)]
Allow large alignments on ELF systems
From-SVN: r10951
Karl Heuer [Sun, 7 Jan 1996 07:00:56 +0000 (07:00 +0000)]
(alloca): If malloc fails, just abort.
From-SVN: r10949
Richard Kenner [Sat, 6 Jan 1996 22:33:11 +0000 (17:33 -0500)]
Fix formatting.
From-SVN: r10948
Doug Evans [Sat, 6 Jan 1996 21:16:05 +0000 (21:16 +0000)]
(crt*.o,gcrt1.o): Replace $(AS) with $(GCC_FOR_TARGET).
From-SVN: r10947
Doug Evans [Sat, 6 Jan 1996 21:15:02 +0000 (21:15 +0000)]
(crt*.o): Replace $(AS) with $(GCC_FOR_TARGET).
From-SVN: r10946
Doug Evans [Sat, 6 Jan 1996 21:11:54 +0000 (21:11 +0000)]
Makefile.in (MAKEINFOFLAGS): New variable.
* Makefile.in (MAKEINFOFLAGS): New variable.
(cpp.info,gcc.info): Use it.
From-SVN: r10945
Doug Evans [Sat, 6 Jan 1996 20:52:10 +0000 (20:52 +0000)]
(CPP_SPEC): Define.
From-SVN: r10944
Michael Meissner [Fri, 5 Jan 1996 17:23:44 +0000 (17:23 +0000)]
Add -mcpu={505,821,860} support; Fixup common mode support; Make eabi not rely on GLD
From-SVN: r10943
Michael Meissner [Fri, 5 Jan 1996 16:33:59 +0000 (16:33 +0000)]
Add -mcpu={505,821,860} support; Fixup common mode support; Make eabi not rely on GLD
From-SVN: r10942
Michael Meissner [Fri, 5 Jan 1996 16:28:59 +0000 (16:28 +0000)]
Initial revision
From-SVN: r10941
Doug Evans [Fri, 5 Jan 1996 05:32:14 +0000 (05:32 +0000)]
(MACHINE_STATE_RESTORE): Add missing .align.
From-SVN: r10940
Doug Evans [Wed, 3 Jan 1996 23:28:10 +0000 (23:28 +0000)]
lib1funcs.asm (__USER_LABEL_PREFIX__): Define if not already.
* arm/lib1funcs.asm (__USER_LABEL_PREFIX__): Define if not already.
(CONCAT1,CONCAT2,SYM): Define.
(__udivsi3,__divsi3,__umodsi3,__modsi3,__div0): Use SYM to define
global labels.
From-SVN: r10939
Jeff Law [Wed, 3 Jan 1996 07:43:56 +0000 (00:43 -0700)]
* pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Call text_section.
From-SVN: r10938
Jim Wilson [Tue, 2 Jan 1996 21:27:38 +0000 (13:27 -0800)]
(gen_shifty_op): Output a NOP for a shift by 0.
(find_barrier): New variables si_limit, hi_limit. Set them depending
on whether we are optimizing. Set found_hi if the destination is
HImode.
(machine_dependent_reorg): If not optimizing, then change scan to a
note instead of calling delete_insn.
From-SVN: r10937
Jim Wilson [Tue, 2 Jan 1996 21:26:53 +0000 (13:26 -0800)]
OVERRIDE_OPTIONS): Don't set optimize or flag_delayed_branch.
From-SVN: r10936
Jim Wilson [Tue, 2 Jan 1996 21:11:20 +0000 (13:11 -0800)]
(gstab.h): Include if cross compiling.
From-SVN: r10935
Richard Kenner [Tue, 2 Jan 1996 02:13:39 +0000 (21:13 -0500)]
Initial revision
From-SVN: r10934
Richard Kenner [Tue, 2 Jan 1996 01:53:23 +0000 (20:53 -0500)]
Use DECL_C_BIT_FIELD, not DECL_BIT_FIELD in all tests.
From-SVN: r10933
Richard Kenner [Mon, 1 Jan 1996 23:53:22 +0000 (18:53 -0500)]
(reg_allocno): Declare.
(order_regs_for_reload): New arg, GLOBAL.
Bias against regs allocated in local-alloc.
(reload): Pass new parm to order_regs_for_reload.
From-SVN: r10932
Richard Kenner [Mon, 1 Jan 1996 23:52:39 +0000 (18:52 -0500)]
(reg_allocno): No longer static.
From-SVN: r10931
Richard Kenner [Mon, 1 Jan 1996 23:23:33 +0000 (18:23 -0500)]
(reg_equiv_replacement): New variable.
(memref_referenced_p, case REG): Check for reg_equiv_replacement.
(update_equiv_regs): reg_equiv_replacement now file-scope.
From-SVN: r10930
Richard Kenner [Mon, 1 Jan 1996 21:15:08 +0000 (16:15 -0500)]
(decl_attributes): Fix default alignment: BIGGEST_ALIGNMENT is a
number of bits, not bytes.
From-SVN: r10929
Richard Kenner [Mon, 1 Jan 1996 14:30:37 +0000 (09:30 -0500)]
(finish_struct): Warn if field with enumeral type is narrower than
values of that type.
From-SVN: r10928
Richard Kenner [Mon, 1 Jan 1996 14:07:38 +0000 (09:07 -0500)]
(rtx_equal_for_field_assignment_p): New function.
(make_field_assignment): Use it.
Expand compound operations on both sides of an IOR.
Properly adjust constand in IOR when computing bit position.
From-SVN: r10927
Jeff Law [Mon, 1 Jan 1996 02:32:57 +0000 (19:32 -0700)]
hard-reg-set.h (losing_caller_save_reg_set): Declare.
* hard-reg-set.h (losing_caller_save_reg_set): Declare.
* regclass.c (losing_caller_save_reg_set): Define.
(init_reg_sets_1): Initialize losing_caller_save_reg_set.
* global.c (find_reg): Avoid caller-saving registers in
LOSING_CALLER_SAVE_REGS if it's defined.
* local-alloc.c (find_free_reg): Avoid caller-saving registers
in losing_caller_save_reg_set.
(CLASS_LIKELY_SPILLED_P): Delete definition. Moved into regs.h.
* regs.h (CLASS_LIKELY_SPILLED_P): Define if not already defined.
From-SVN: r10926
Richard Kenner [Mon, 1 Jan 1996 02:27:36 +0000 (21:27 -0500)]
(expand_asm_operands): Call assign_temp with extra arg.
From-SVN: r10925
Richard Kenner [Mon, 1 Jan 1996 02:26:50 +0000 (21:26 -0500)]
(save_nocopied_parts, expand_expr): Call assign_temp with extra arg.
(expand_expr, case SAVE_EXPR): Set TEMP to (const_int 0) if MODE is VOIDmode.
(expand_expr): Don't use assign_temp for pseudos when might want to be TMODE.
From-SVN: r10924
Richard Kenner [Mon, 1 Jan 1996 02:26:06 +0000 (21:26 -0500)]
(assign_temp): Add extra arg, DONT_PROMOTE.
Don't return (const_int 0) for VOIDmode.
From-SVN: r10923
Richard Kenner [Mon, 1 Jan 1996 02:25:48 +0000 (21:25 -0500)]
(assign_temp): Add extra arg.
From-SVN: r10922
Doug Evans [Sun, 31 Dec 1995 23:46:10 +0000 (23:46 +0000)]
(MULTILIB_DEFAULTS): Define.
From-SVN: r10921
Jeff Law [Sun, 31 Dec 1995 23:05:16 +0000 (16:05 -0700)]
reorg.c (fill_simple_delay_slots): Try to fill from the target of an unconditional branch if necessary.
* reorg.c (fill_simple_delay_slots): Try to fill from the
target of an unconditional branch if necessary.
From-SVN: r10920
Jeff Law [Sun, 31 Dec 1995 21:34:11 +0000 (14:34 -0700)]
pa.h (REG_ALLOC_ORDER): Allocate PA1.1 caller-saved FP regs before PA1.0 caller-saved FP regs.
* pa.h (REG_ALLOC_ORDER): Allocate PA1.1 caller-saved FP regs
before PA1.0 caller-saved FP regs.
From-SVN: r10919
Jeff Law [Sun, 31 Dec 1995 20:48:17 +0000 (13:48 -0700)]
sched.c (adjust_priority): Use ADJUST_PRIORITY if its defined.
* sched.c (adjust_priority): Use ADJUST_PRIORITY if its defined.
* pa.h (ADJUST_PRIORITY): Define to keep lifetimes of registers
that will be allocated to %r1 shorter.
From-SVN: r10918
Richard Kenner [Sun, 31 Dec 1995 20:31:18 +0000 (15:31 -0500)]
(tail_recursion_args): Compare TYPE_MAIN_VARIANTs.
From-SVN: r10917
Richard Kenner [Sun, 31 Dec 1995 20:03:51 +0000 (15:03 -0500)]
(rest_of_compilation): Leave DECL_INLINE set even if won't inline.
From-SVN: r10916
Richard Kenner [Sun, 31 Dec 1995 20:03:23 +0000 (15:03 -0500)]
(instantiate_decls): Check DECL_SAVED_INSNS to see if obstack change
is needed.
From-SVN: r10915
Richard Kenner [Sun, 31 Dec 1995 20:02:34 +0000 (15:02 -0500)]
(clear_pending_stack_adjust): Don't do optimization if -O0.
From-SVN: r10914
Richard Kenner [Sun, 31 Dec 1995 20:00:12 +0000 (15:00 -0500)]
(expand_call): Don't warn about not being able to inline if -O0.
From-SVN: r10913
Richard Kenner [Sun, 31 Dec 1995 19:20:39 +0000 (14:20 -0500)]
({bc_,}make_decl_rtl): Don't look at DECL_REGISTER for functions.
From-SVN: r10912
Richard Kenner [Sun, 31 Dec 1995 19:20:08 +0000 (14:20 -0500)]
(compile_file): DECL_REGISTER isn't defined for FUNCTION_DECL.
From-SVN: r10911
Richard Kenner [Sun, 31 Dec 1995 19:19:25 +0000 (14:19 -0500)]
(fixup_gotos): Use DECL_ERROR_ISSUED instead of DECL_REGISTER.
From-SVN: r10910
Richard Kenner [Sun, 31 Dec 1995 19:18:48 +0000 (14:18 -0500)]
(gen_decl): DECL_REGISTER isn't defined for FUNCTION_DECL.
From-SVN: r10909
Richard Kenner [Sun, 31 Dec 1995 19:18:23 +0000 (14:18 -0500)]
Add documentation on uses of common area flags.
(DECL_ERROR_ISSUED): New macro.
(DECL_NO_STATIC_CHAIN): New macro; currently unused.
From-SVN: r10908
Jason Merrill [Sat, 30 Dec 1995 16:21:50 +0000 (16:21 +0000)]
remove auto_export functionality.
From-SVN: r10907
Richard Kenner [Sat, 30 Dec 1995 12:57:04 +0000 (07:57 -0500)]
(plain_type_1, case ARRAY_TYPE): Subtract lower bound when writing
dimension.
From-SVN: r10906
Richard Kenner [Sat, 30 Dec 1995 11:36:58 +0000 (06:36 -0500)]
(assign_temp): Fix formatting.
From-SVN: r10905
Richard Kenner [Fri, 29 Dec 1995 23:23:53 +0000 (18:23 -0500)]
(yylex, parse_c_expression, main): Likewise.
From-SVN: r10904
Richard Kenner [Fri, 29 Dec 1995 23:23:19 +0000 (18:23 -0500)]
(eval_if_expression): End expression with '\n', not '\0' so '\0' can
be diagnosed properly.
From-SVN: r10903
Per Bothner [Fri, 29 Dec 1995 19:16:33 +0000 (11:16 -0800)]
* expr.c (save_noncopied_parts, expand_expr): Use new assign_temp function.
From-SVN: r10902
Per Bothner [Fri, 29 Dec 1995 19:15:54 +0000 (11:15 -0800)]
* stmt.c (expand_asm_operands): Use new assign_temp function.
From-SVN: r10901
Per Bothner [Fri, 29 Dec 1995 19:15:35 +0000 (11:15 -0800)]
* rtl.h (assign_temp): New declaration.
From-SVN: r10900
Per Bothner [Fri, 29 Dec 1995 19:14:31 +0000 (11:14 -0800)]
function.c (assign_temp): New function.
* function.c (assign_temp): New function. Can handle Chill-style
variable-sized array with static maximum size.
From-SVN: r10899
Per Bothner [Fri, 29 Dec 1995 19:14:11 +0000 (11:14 -0800)]
* tree.h (TYPE_ARRAY_MAX_SIZE): New macro (used by Chill).
From-SVN: r10898
Per Bothner [Fri, 29 Dec 1995 19:05:20 +0000 (11:05 -0800)]
* function.c (assign_parms): Fix thinko for struct value arg.
From-SVN: r10897
Michael Meissner [Fri, 29 Dec 1995 17:40:54 +0000 (17:40 +0000)]
Remove code accidently put back in.
From-SVN: r10896
Michael Meissner [Fri, 29 Dec 1995 03:42:54 +0000 (03:42 +0000)]
Undo most of 12/27 changes
From-SVN: r10895
Mike Stump [Thu, 28 Dec 1995 19:35:49 +0000 (19:35 +0000)]
77th Cygnus<->FSF merge
From-SVN: r10894
Mike Stump [Thu, 28 Dec 1995 18:40:19 +0000 (18:40 +0000)]
sparc.h (RETURN_ADDR_OFFSET): Rename from NORMAL_RETURN_ADDR_OFFSET...
* sparc.h (RETURN_ADDR_OFFSET): Rename from
NORMAL_RETURN_ADDR_OFFSET, returns the offset for the current
function specifically.
From-SVN: r10893
Richard Kenner [Thu, 28 Dec 1995 12:21:45 +0000 (07:21 -0500)]
(yylex): Improve error message for bogus numbers.
Consolidate duplicated code.
From-SVN: r10892
Richard Kenner [Thu, 28 Dec 1995 12:17:30 +0000 (07:17 -0500)]
(parse_number): Improve error message for bogus numbers.
(yylex): Consider `0xe-1' to be a (bogus) number if not traditional.
From-SVN: r10891
Richard Kenner [Thu, 28 Dec 1995 12:06:51 +0000 (07:06 -0500)]
(do_include): In VMS, worry only about EACCES when open fails.
(new_include_prefix): Don't try to stat dir prefixes in VMS.
From-SVN: r10890
Richard Kenner [Wed, 27 Dec 1995 22:54:27 +0000 (17:54 -0500)]
(_bb_init_prg): Cast arg to bzero to (char *).
From-SVN: r10889