Doug Evans [Wed, 15 Mar 1995 23:42:55 +0000 (23:42 +0000)]
Initial revision
From-SVN: r9187
Mike Stump [Wed, 15 Mar 1995 23:03:59 +0000 (23:03 +0000)]
58th Cygnus<->FSF merge
From-SVN: r9186
Jason Merrill [Wed, 15 Mar 1995 21:48:01 +0000 (21:48 +0000)]
Handle compilation of nested functions from another scope.
From-SVN: r9185
Michael Meissner [Wed, 15 Mar 1995 20:01:18 +0000 (20:01 +0000)]
Generate better code for sne on PowerPC.
From-SVN: r9184
Richard Kenner [Tue, 14 Mar 1995 23:38:25 +0000 (18:38 -0500)]
({add,sub,mul,div}[sdx]f3): Add new patterns for recognizing SImode,
HImode, and QImode operands.
From-SVN: r9183
Michael Meissner [Tue, 14 Mar 1995 20:38:41 +0000 (20:38 +0000)]
Add 403 support.
From-SVN: r9182
Doug Evans [Tue, 14 Mar 1995 18:35:45 +0000 (18:35 +0000)]
(arm_volatile_func): Install the government approved version of the comment.
From-SVN: r9181
Doug Evans [Tue, 14 Mar 1995 17:53:10 +0000 (17:53 +0000)]
(arm_volatile_func): Add comment describing purpose.
From-SVN: r9180
Jason Merrill [Mon, 13 Mar 1995 23:11:57 +0000 (23:11 +0000)]
e -fPIC instead of -fpic
From-SVN: r9179
Jason Merrill [Mon, 13 Mar 1995 23:11:08 +0000 (23:11 +0000)]
Use -fPIC instead of -fpic
From-SVN: r9178
Michael Meissner [Mon, 13 Mar 1995 21:53:18 +0000 (21:53 +0000)]
Fix typo in last change.
From-SVN: r9177
Michael Meissner [Mon, 13 Mar 1995 19:51:05 +0000 (19:51 +0000)]
Add -mno-traceback option; eliminate nop after call on V.4/eabi
From-SVN: r9176
Jason Merrill [Mon, 13 Mar 1995 17:05:17 +0000 (17:05 +0000)]
Initial revision
From-SVN: r9175
Jason Merrill [Mon, 13 Mar 1995 17:05:17 +0000 (17:05 +0000)]
#undef ASM_OUTPUT_EXTERNAL
From-SVN: r9174
Brendan Kehoe [Mon, 13 Mar 1995 02:06:56 +0000 (21:06 -0500)]
* Makefile.in (stamp-parse): Expect 5 shift/reduce failures.
From-SVN: r9173
Brendan Kehoe [Mon, 13 Mar 1995 02:04:52 +0000 (02:04 +0000)]
parse.y: New rules to allow attributes in a prefix position.
* parse.y: New rules to allow attributes in a prefix position.
(prefix_attributes): New variable. Pass it into cplus_decl_attributes.
(setattr): New rule.
(reserved_declspecs, declmods): Catch attributes here.
* decl2.c (cplus_decl_attributes): Add PREFIX_ATTRIBUTES argument.
* decl.c (duplicate_decls): Pass DECL_MACHINE_ATTRIBUTES to
descendent typedef.
(grokdeclarator): Added code to support machine attributes.
* Makefile.in (stamp-parse): Expect 5 shift/reduce failures.
From-SVN: r9172
Richard Kenner [Sat, 11 Mar 1995 11:42:39 +0000 (06:42 -0500)]
(dbxout_symbol): Properly handle decl whose DECL_NAME points to a
TYPE_DECL with a zero TYPE_NAME.
From-SVN: r9171
Torbjorn Granlund [Fri, 10 Mar 1995 23:17:34 +0000 (23:17 +0000)]
(PROMOTE_MODE): Define.
From-SVN: r9170
Jim Wilson [Fri, 10 Mar 1995 20:03:20 +0000 (12:03 -0800)]
(max_uid_cuid): New static variable.
(INSN_CUID): Call abort if INSN is out of range.
(combine_instructions): Set max_uid_cuid. Set uid_cuid directly
instead of through INSN_CUID.
(get_last_value): Use prev_real_insn instead of prev_nonnote_insn.
Ignore USE insns generated by combine.
From-SVN: r9169
Jim Wilson [Fri, 10 Mar 1995 19:50:49 +0000 (11:50 -0800)]
(find_reloads, case 'o'): Accept a fully reloaded auto-increment address.
From-SVN: r9168
Jim Wilson [Fri, 10 Mar 1995 19:45:20 +0000 (11:45 -0800)]
(expand_assignment): When offset is zero, make new MEM
before setting MEM_VOLATILE_P.
From-SVN: r9167
Richard Kenner [Fri, 10 Mar 1995 19:37:52 +0000 (14:37 -0500)]
(sdbout_record_type_name): If TYPE_NAME is a TYPE_DECL, get name from
DECL_NAME.
From-SVN: r9166
Jim Wilson [Fri, 10 Mar 1995 19:33:11 +0000 (11:33 -0800)]
(SETUP_INCOMING_VARARGS): Correct arguments to move_block_from_reg call.
From-SVN: r9165
Jim Wilson [Fri, 10 Mar 1995 19:28:07 +0000 (11:28 -0800)]
(copy_constant): Copy operand of ADDR_EXPR if it is a constant.
From-SVN: r9164
Doug Evans [Fri, 10 Mar 1995 19:11:08 +0000 (19:11 +0000)]
Update copyright.
From-SVN: r9163
Doug Evans [Fri, 10 Mar 1995 19:08:50 +0000 (19:08 +0000)]
arm.md (all fp patterns): Conditionalize on TARGET_HARD_FLOAT.
* arm/arm.md (all fp patterns): Conditionalize on TARGET_HARD_FLOAT.
(*movsf_soft_insn, *movdf_soft_insn): New patterns.
From-SVN: r9162
Doug Evans [Fri, 10 Mar 1995 19:08:13 +0000 (19:08 +0000)]
(SUBTARGET_SWITCHES): Renamed from ARM_EXTRA_TARGET_SWITCHES.
(TARGET_HARD_FLOAT, TARGET_SOFT_FLOAT): Define.
(TARGET_SWITCHES): Add -msoft-float, -mhard-float.
(BYTES_BIG_ENDIAN): Delete #ifndef/#endif.
(CONDITIONAL_REGISTER_USAGE): If -msoft-float, disable fp regs.
(FUNCTION_VALUE): R16 is return reg only if !-msoft-float.
(LIBCALL_VALUE): Likewise.
From-SVN: r9161
Jim Wilson [Fri, 10 Mar 1995 19:08:02 +0000 (11:08 -0800)]
(movdi define_split, movdf define_split): Correct indentation and formatting.
(movdi define_split, movdf define_split): Correct indentation
and formatting. Make the condition fail if an operand is a MEM
with an auto-inc address.
From-SVN: r9160
Doug Evans [Fri, 10 Mar 1995 19:03:43 +0000 (19:03 +0000)]
riscix.h (SUBTARGET_SWITCHES): Renamed from ARM_EXTRA_TARGET_SWITCHES.
* arm/riscix.h (SUBTARGET_SWITCHES): Renamed from ARM_EXTRA_TARGET_SWITCHES.
* arm/riscix1-1.h (SUBTARGET_SWITCHES): Likewise.
From-SVN: r9159
Jim Wilson [Fri, 10 Mar 1995 18:53:01 +0000 (10:53 -0800)]
(steal_delay_list_from_target): Exit at the top if the
branch in SEQ is not a single set.
From-SVN: r9158
Doug Evans [Fri, 10 Mar 1995 18:46:44 +0000 (18:46 +0000)]
* m68k/fpgnulib.c (__fixdfsi): Catch values < 0.5 in magnitude.
From-SVN: r9157
Ian Lance Taylor [Fri, 10 Mar 1995 17:02:02 +0000 (17:02 +0000)]
Fix `typedef struct term;' on hppa1.1-hp-hpux9.
From-SVN: r9156
Richard Kenner [Fri, 10 Mar 1995 10:58:28 +0000 (05:58 -0500)]
(sectname): Reverse Init and Normal.
(print_operand_address, case PLUS): Add case for LABEL_REF.
(print_operand_address, case LABEL_REF): Split fom SYMBOL_REF.
(print_operand_address, case CODE_LABEL): New case.
(ASM_FILE_END): Delete.
From-SVN: r9155
Richard Kenner [Fri, 10 Mar 1995 10:50:02 +0000 (05:50 -0500)]
(FUNCTION_EPILOGUE): Restore stack before freeing local vars.
(DEFAULT_SIGNED_CHAR): Now 1.
(DATA_SECTION_ASM_OP): Use pseudo-op for read-only data (later copied).
(JUMP_TABLES_IN_TEXT_SECTION): Define.
(ASM_OUTPUT_ASCII): Split into multiple lines if long.
(ASM_OUTPUT_{CHAR,SHORT,INT,LONG_INT}): Split up.
(ASM_OUTPUT_COMMON): Call check_section.
From-SVN: r9154
Jeff Law [Fri, 10 Mar 1995 03:40:38 +0000 (20:40 -0700)]
Update copyrights for files modified or added in 1995.
From-SVN: r9153
Richard Kenner [Fri, 10 Mar 1995 02:33:58 +0000 (21:33 -0500)]
(decl_attributes): Handle prefix and suffix attributes the same way.
From-SVN: r9152
Richard Kenner [Fri, 10 Mar 1995 02:33:33 +0000 (21:33 -0500)]
(fndef, nested_function): Pass prefix_attributes to start_function.
(setspecs): Save prefix_attributes in declspec_stack.
(decl rules): Restore prefix_attributes along with current_declspecs.
(setattrs): Concatenate prefix_attributes to previous value.
From-SVN: r9151
Richard Kenner [Fri, 10 Mar 1995 02:32:43 +0000 (21:32 -0500)]
(build_module_descriptor, really_start_method): Pass new parm to
start_function.
From-SVN: r9150
Richard Kenner [Fri, 10 Mar 1995 02:31:51 +0000 (21:31 -0500)]
(finish_file): Pass new parm to start_function.
From-SVN: r9149
Richard Kenner [Fri, 10 Mar 1995 02:31:28 +0000 (21:31 -0500)]
(start_function): Add new parameter.
From-SVN: r9148
Richard Kenner [Fri, 10 Mar 1995 02:31:02 +0000 (21:31 -0500)]
(start_function): Handle new parameter ATTRIBUTES.
From-SVN: r9147
Richard Kenner [Fri, 10 Mar 1995 01:40:49 +0000 (20:40 -0500)]
(print_node): Fix typo in printing large INTEGER_CST.
From-SVN: r9146
Richard Kenner [Fri, 10 Mar 1995 01:37:06 +0000 (20:37 -0500)]
(assemble_variable): Consistently use DECL_SIZE for everything.
From-SVN: r9145
Michael Meissner [Thu, 9 Mar 1995 17:51:37 +0000 (17:51 +0000)]
Fix -msoft-float on Power.
From-SVN: r9144
Richard Kenner [Thu, 9 Mar 1995 14:36:16 +0000 (09:36 -0500)]
Remove last change.
From-SVN: r9143
Richard Kenner [Thu, 9 Mar 1995 14:00:50 +0000 (09:00 -0500)]
(convert_for_assignment): Fix typo in testing for pointer to function
type.
From-SVN: r9142
Richard Kenner [Thu, 9 Mar 1995 13:51:20 +0000 (08:51 -0500)]
(record_constant_1): Handle NON_LVALUE_EXPR.
Rewrite to use switch instead of if/then/elseif/else.
From-SVN: r9141
Richard Kenner [Thu, 9 Mar 1995 11:45:13 +0000 (06:45 -0500)]
Update copyright dates.
From-SVN: r9140
Richard Kenner [Wed, 8 Mar 1995 23:21:34 +0000 (18:21 -0500)]
(do_include): Fix type typo: pcfbuflimit is char *, not int.
From-SVN: r9139
Richard Kenner [Wed, 8 Mar 1995 22:49:48 +0000 (17:49 -0500)]
(force_fit_type): Always propagate OVERFLOW.
From-SVN: r9138
Richard Kenner [Wed, 8 Mar 1995 22:30:20 +0000 (17:30 -0500)]
(gen_inline_header): Add new parm FORCED_LABELS.
From-SVN: r9137
Richard Kenner [Wed, 8 Mar 1995 22:29:43 +0000 (17:29 -0500)]
(initialize_for_inline, output_inline_function): Handle FORCED_LABELS.
From-SVN: r9136
Richard Kenner [Wed, 8 Mar 1995 22:29:20 +0000 (17:29 -0500)]
(FORCED_LABELS): New field; other fields adjusted.
(gen_inline_header_rtx): New parm FORCED_LABELS.
From-SVN: r9135
Richard Kenner [Wed, 8 Mar 1995 22:28:34 +0000 (17:28 -0500)]
(INLINE_HEADER): Add new "e" field.
From-SVN: r9134
Michael Meissner [Wed, 8 Mar 1995 21:29:44 +0000 (21:29 +0000)]
More typos
From-SVN: r9133
Jason Merrill [Wed, 8 Mar 1995 18:40:51 +0000 (18:40 +0000)]
Add -taso and -rpath to LINK_SPEC
From-SVN: r9132
Michael Meissner [Wed, 8 Mar 1995 16:54:20 +0000 (16:54 +0000)]
fix typo.
From-SVN: r9131
Michael Meissner [Wed, 8 Mar 1995 16:42:26 +0000 (16:42 +0000)]
Define _RELOCATABLE if -mrelocatable; Rewrite eabi.asm for use with -mrelocatable.
From-SVN: r9130
Michael Meissner [Wed, 8 Mar 1995 15:21:52 +0000 (15:21 +0000)]
Do not initialize the pointer variable __new_handler with an address.
From-SVN: r9129
Ian Lance Taylor [Tue, 7 Mar 1995 22:34:39 +0000 (22:34 +0000)]
Add support for #pragma align
From-SVN: r9128
Doug Evans [Tue, 7 Mar 1995 17:16:54 +0000 (17:16 +0000)]
(TARGET_VERSION): Define.
(CPP_PREDEFINES): Delete sun, sparc, unix. Delete OS assertions.
(ASM_SPEC): Define.
(LINK_SPEC): Delete solaris stuff, this is an embedded target.
(STARTFILE_SPEC, ENDFILE_SPEC): Define.
From-SVN: r9127
Doug Evans [Tue, 7 Mar 1995 16:56:39 +0000 (16:56 +0000)]
(install-common): Fix typo in installation of gcc-cross.
From-SVN: r9126
Doug Evans [Mon, 6 Mar 1995 22:54:51 +0000 (22:54 +0000)]
(install-common): Fix typo in installation of cpp.
From-SVN: r9125
Jeff Law [Mon, 6 Mar 1995 07:29:33 +0000 (00:29 -0700)]
* pa.md (movsicc): New expander.
From-SVN: r9124
Doug Evans [Sun, 5 Mar 1995 23:27:16 +0000 (23:27 +0000)]
Undo this patch, breaks libobjc builds.
* c-decl.c (pushdecl): When have a duplicate decl, and it is global,
delete lookup_name name in test for return.
(redeclaration_error_message): When newdecl is a block level
declaration, use lookup_name_current_level instead of DECL_CONTEXT.
From-SVN: r9123
Michael Meissner [Fri, 3 Mar 1995 21:33:52 +0000 (21:33 +0000)]
Pass -mrelocatable to assembler if passed to compiler.
From-SVN: r9122
Ian Lance Taylor [Fri, 3 Mar 1995 17:11:06 +0000 (17:11 +0000)]
Handle VxWorks typedef macros
From-SVN: r9121
Ian Lance Taylor [Fri, 3 Mar 1995 17:10:48 +0000 (17:10 +0000)]
Patch some VxWorks header files
From-SVN: r9120
Richard Kenner [Fri, 3 Mar 1995 10:48:33 +0000 (05:48 -0500)]
(dump_single_macro): Fix typo: % wasn't properly doubled in printf
formats.
From-SVN: r9119
Jason Merrill [Fri, 3 Mar 1995 03:45:02 +0000 (03:45 +0000)]
Update CLEANUP_POINT_EXPR docs.
From-SVN: r9118
Jason Merrill [Fri, 3 Mar 1995 03:45:02 +0000 (03:45 +0000)]
(expand_expr, CLEANUP_POINT_EXPR): Force the operand out
of memory before running cleanups.
From-SVN: r9117
Richard Kenner [Fri, 3 Mar 1995 00:20:50 +0000 (19:20 -0500)]
Fix formatting.
From-SVN: r9116
Richard Kenner [Fri, 3 Mar 1995 00:15:06 +0000 (19:15 -0500)]
(rescan): Prevent accidental token-pasting to get !=, *=, /=, ==, or ^=.
From-SVN: r9115
Richard Kenner [Fri, 3 Mar 1995 00:08:45 +0000 (19:08 -0500)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Fix typo in label name.
From-SVN: r9114
Jason Merrill [Thu, 2 Mar 1995 23:39:09 +0000 (23:39 +0000)]
(build_binary_op): Avoid spurious warning
| comparing enumerator to unsigned variable.
From-SVN: r9113
Richard Kenner [Thu, 2 Mar 1995 23:18:24 +0000 (18:18 -0500)]
(sqrtsf2,sqrtdf2): Use fp precision specifiers.
From-SVN: r9112
Richard Kenner [Thu, 2 Mar 1995 23:13:29 +0000 (18:13 -0500)]
Fix typo in last change.
From-SVN: r9111
Richard Kenner [Thu, 2 Mar 1995 23:08:54 +0000 (18:08 -0500)]
(yylex, case !NOT_FLOAT): Remove previous change.
From-SVN: r9110
Richard Kenner [Thu, 2 Mar 1995 20:51:00 +0000 (15:51 -0500)]
Update shift/reduce conflict documentation.
From-SVN: r9109
Richard Kenner [Thu, 2 Mar 1995 20:26:39 +0000 (15:26 -0500)]
(bootstrap*): Pass new STAGE_PREFIX to recursive makes.
From-SVN: r9108
Per Bothner [Thu, 2 Mar 1995 03:40:59 +0000 (19:40 -0800)]
Remove Feb 13's FUNCTION_NEEDS_STATIC_CHAIN changes.
From-SVN: r9107
Per Bothner [Thu, 2 Mar 1995 03:33:25 +0000 (19:33 -0800)]
Remove Feb 28's FUNCTION_NEEDS_STATIC_CHAIN changes.
From-SVN: r9106
Michael Meissner [Thu, 2 Mar 1995 01:07:59 +0000 (01:07 +0000)]
Move -mrelocatable word before function prologue.
From-SVN: r9105
Michael Meissner [Thu, 2 Mar 1995 01:07:14 +0000 (01:07 +0000)]
Define cpu/machine as powerpc, not rs6000
From-SVN: r9104
Michael Meissner [Wed, 1 Mar 1995 20:30:14 +0000 (20:30 +0000)]
Clone unwind_function for powerpc
From-SVN: r9103
Ian Lance Taylor [Wed, 1 Mar 1995 19:54:15 +0000 (19:54 +0000)]
Add cpp predefines for VxWorks, and default to -mca
From-SVN: r9102
Ian Lance Taylor [Wed, 1 Mar 1995 19:54:01 +0000 (19:54 +0000)]
Add support for COFF style constructors
From-SVN: r9101
Michael Meissner [Wed, 1 Mar 1995 19:09:39 +0000 (19:09 +0000)]
Silence warnings on uminsi3, umaxsi3.
From-SVN: r9100
Richard Kenner [Wed, 1 Mar 1995 11:48:17 +0000 (06:48 -0500)]
(decode_field_reference): Don't check TREE_CODE of EXP; let get_inner_reference decide if have reference.
(decode_field_reference): Don't check TREE_CODE of EXP; let
get_inner_reference decide if have reference.
Allow no bit reference if have AND_MASK.
(all_ones_mask_p): Use tree_int_cst_equal, not operand_equal_p.
(unextend): New function.
(fold_truthop): For constant cases, use new function, rework
conversion, and warn if comparison can never be true.
From-SVN: r9099
Richard Kenner [Wed, 1 Mar 1995 11:39:01 +0000 (06:39 -0500)]
(store_expr): Do conversion in two steps for promoted lhs.
From-SVN: r9098
Per Bothner [Tue, 28 Feb 1995 23:06:49 +0000 (15:06 -0800)]
* tree.c (staticp): Use FUNCTION_NEEDS_STATIC_CHAIN.
From-SVN: r9097
Per Bothner [Tue, 28 Feb 1995 23:06:03 +0000 (15:06 -0800)]
function.c (lookup_static_chain): Check for a static chain using FUNCTION_NEEDS_STATIC_CHAIN.
* function.c (lookup_static_chain): Check for a static chain
using FUNCTION_NEEDS_STATIC_CHAIN.
(init_function_start): Set current_function_needs_context depending
on FUNCTION_NEEDS_STATIC_CHAIN rather than decl_function_context.
From-SVN: r9096
Per Bothner [Tue, 28 Feb 1995 23:05:01 +0000 (15:05 -0800)]
expr.c (expand_expr): If non-local variable is expanded...
* expr.c (expand_expr): If non-local variable is expanded,
set FUNCTION_NEEDS_STATIC_CHAIN (current_function_decl).
* expr.c (expand_expr case ADDR_EXPR): Check for trampoline
using FUNCTION_NEEDS_STATIC_CHAIN, instead of decl_function_context.
From-SVN: r9095
Michael Meissner [Tue, 28 Feb 1995 22:16:31 +0000 (22:16 +0000)]
More soft-float/powerpc patches.
From-SVN: r9094
Michael Meissner [Tue, 28 Feb 1995 21:39:57 +0000 (21:39 +0000)]
Correctly reload r30 if -mrelocatable
From-SVN: r9093
Doug Evans [Tue, 28 Feb 1995 19:46:31 +0000 (19:46 +0000)]
(rest_of_compilation): Defer output of static inlines
even if not optimizing, they may never be referenced.
From-SVN: r9092
Doug Evans [Mon, 27 Feb 1995 22:06:25 +0000 (22:06 +0000)]
(do_include): Check for redundant file before opening in relative path case.
(do_include): Check for redundant file before opening in
relative path case. Don't call fstat unnecessarily.
From-SVN: r9091
Jim Wilson [Mon, 27 Feb 1995 19:33:18 +0000 (11:33 -0800)]
(muldi3_internal): Change dmul to dmult.
From-SVN: r9090
Jeff Law [Mon, 27 Feb 1995 07:30:31 +0000 (00:30 -0700)]
pa.c (hppa_expand_prologue): Don't save the PIC register into the stack for functions which have no stack of...
* pa.c (hppa_expand_prologue): Don't save the PIC register into
the stack for functions which have no stack of their own.
From-SVN: r9089
Roland McGrath [Mon, 27 Feb 1995 05:43:24 +0000 (05:43 +0000)]
(ASM_SPEC): Macro removed.
From-SVN: r9088