Commit Graph

9149 Commits

Author SHA1 Message Date
Jason Merrill
d7757a12ff Initial revision
From-SVN: r9175
1995-03-13 17:05:17 +00:00
Jason Merrill
6aa7d4afae #undef ASM_OUTPUT_EXTERNAL
From-SVN: r9174
1995-03-13 17:05:17 +00:00
Brendan Kehoe
f0d642f338 * Makefile.in (stamp-parse): Expect 5 shift/reduce failures.
From-SVN: r9173
1995-03-12 21:06:56 -05:00
Brendan Kehoe
f6abb50a8a 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
1995-03-12 21:04:52 -05:00
Richard Kenner
bf6ed04031 (dbxout_symbol): Properly handle decl whose DECL_NAME points to a
TYPE_DECL with a zero TYPE_NAME.

From-SVN: r9171
1995-03-11 06:42:39 -05:00
Torbjorn Granlund
9f9fba3664 (PROMOTE_MODE): Define.
From-SVN: r9170
1995-03-10 23:17:34 +00:00
Jim Wilson
4255220d92 (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
1995-03-10 12:03:20 -08:00
Jim Wilson
26ba4aeef6 (find_reloads, case 'o'): Accept a fully reloaded auto-increment address.
From-SVN: r9168
1995-03-10 11:50:49 -08:00
Jim Wilson
01188446e8 (expand_assignment): When offset is zero, make new MEM
before setting MEM_VOLATILE_P.

From-SVN: r9167
1995-03-10 11:45:20 -08:00
Richard Kenner
12357e4274 (sdbout_record_type_name): If TYPE_NAME is a TYPE_DECL, get name from
DECL_NAME.

From-SVN: r9166
1995-03-10 14:37:52 -05:00
Jim Wilson
0196c710f1 (SETUP_INCOMING_VARARGS): Correct arguments to move_block_from_reg call.
From-SVN: r9165
1995-03-10 11:33:11 -08:00
Jim Wilson
310bbbf468 (copy_constant): Copy operand of ADDR_EXPR if it is a constant.
From-SVN: r9164
1995-03-10 11:28:07 -08:00
Doug Evans
31c97f6a22 Update copyright.
From-SVN: r9163
1995-03-10 19:11:08 +00:00
Doug Evans
39c0ef95f7 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
1995-03-10 19:08:50 +00:00
Doug Evans
3ada8e173a (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
1995-03-10 19:08:13 +00:00
Jim Wilson
b9b7c1c9fd (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
1995-03-10 11:08:02 -08:00
Doug Evans
41b455df14 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
1995-03-10 19:03:43 +00:00
Jim Wilson
fe41a98eb2 (steal_delay_list_from_target): Exit at the top if the
branch in SEQ is not a single set.

From-SVN: r9158
1995-03-10 10:53:01 -08:00
Doug Evans
63a33c9463 * m68k/fpgnulib.c (__fixdfsi): Catch values < 0.5 in magnitude.
From-SVN: r9157
1995-03-10 18:46:44 +00:00
Ian Lance Taylor
0323c17857 Fix `typedef struct term;' on hppa1.1-hp-hpux9.
From-SVN: r9156
1995-03-10 17:02:02 +00:00
Richard Kenner
3be29ba788 (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
1995-03-10 05:58:28 -05:00
Richard Kenner
e6e4366158 (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
1995-03-10 05:50:02 -05:00
Jeff Law
aa526ccd42 Update copyrights for files modified or added in 1995.
From-SVN: r9153
1995-03-09 20:40:38 -07:00
Richard Kenner
eed328336c (decl_attributes): Handle prefix and suffix attributes the same way.
From-SVN: r9152
1995-03-09 21:33:58 -05:00
Richard Kenner
ee7d912e9b (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
1995-03-09 21:33:33 -05:00
Richard Kenner
d8d27748c5 (build_module_descriptor, really_start_method): Pass new parm to
start_function.

From-SVN: r9150
1995-03-09 21:32:43 -05:00
Richard Kenner
60905ee8bd (finish_file): Pass new parm to start_function.
From-SVN: r9149
1995-03-09 21:31:51 -05:00
Richard Kenner
78675f9178 (start_function): Add new parameter.
From-SVN: r9148
1995-03-09 21:31:28 -05:00
Richard Kenner
7665dfd47b (start_function): Handle new parameter ATTRIBUTES.
From-SVN: r9147
1995-03-09 21:31:02 -05:00
Richard Kenner
8fcf10c01f (print_node): Fix typo in printing large INTEGER_CST.
From-SVN: r9146
1995-03-09 20:40:49 -05:00
Richard Kenner
809d657596 (assemble_variable): Consistently use DECL_SIZE for everything.
From-SVN: r9145
1995-03-09 20:37:06 -05:00
Michael Meissner
e2041e684f Fix -msoft-float on Power.
From-SVN: r9144
1995-03-09 17:51:37 +00:00
Richard Kenner
a74853cb65 Remove last change.
From-SVN: r9143
1995-03-09 09:36:16 -05:00
Richard Kenner
caf2e8e401 (convert_for_assignment): Fix typo in testing for pointer to function
type.

From-SVN: r9142
1995-03-09 09:00:50 -05:00
Richard Kenner
2871d24f4a (record_constant_1): Handle NON_LVALUE_EXPR.
Rewrite to use switch instead of if/then/elseif/else.

From-SVN: r9141
1995-03-09 08:51:20 -05:00
Richard Kenner
9040d8731a Update copyright dates.
From-SVN: r9140
1995-03-09 06:45:13 -05:00
Richard Kenner
720e51b748 (do_include): Fix type typo: pcfbuflimit is char *, not int.
From-SVN: r9139
1995-03-08 18:21:34 -05:00
Richard Kenner
a7a0564039 (force_fit_type): Always propagate OVERFLOW.
From-SVN: r9138
1995-03-08 17:49:48 -05:00
Richard Kenner
a6108925a2 (gen_inline_header): Add new parm FORCED_LABELS.
From-SVN: r9137
1995-03-08 17:30:20 -05:00
Richard Kenner
5b0e2c7ddc (initialize_for_inline, output_inline_function): Handle FORCED_LABELS.
From-SVN: r9136
1995-03-08 17:29:43 -05:00
Richard Kenner
2fbb1ada27 (FORCED_LABELS): New field; other fields adjusted.
(gen_inline_header_rtx): New parm FORCED_LABELS.

From-SVN: r9135
1995-03-08 17:29:20 -05:00
Richard Kenner
1129c9f83e (INLINE_HEADER): Add new "e" field.
From-SVN: r9134
1995-03-08 17:28:34 -05:00
Michael Meissner
9890ad7a9e More typos
From-SVN: r9133
1995-03-08 21:29:44 +00:00
Jason Merrill
b890f297ea Add -taso and -rpath to LINK_SPEC
From-SVN: r9132
1995-03-08 18:40:51 +00:00
Michael Meissner
81a5008ec3 fix typo.
From-SVN: r9131
1995-03-08 16:54:20 +00:00
Michael Meissner
c2baf13392 Define _RELOCATABLE if -mrelocatable; Rewrite eabi.asm for use with -mrelocatable.
From-SVN: r9130
1995-03-08 16:42:26 +00:00
Michael Meissner
8a552066c6 Do not initialize the pointer variable __new_handler with an address.
From-SVN: r9129
1995-03-08 15:21:52 +00:00
Ian Lance Taylor
c9040e2c81 Add support for #pragma align
From-SVN: r9128
1995-03-07 22:34:39 +00:00
Doug Evans
ae8b85c2ad (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
1995-03-07 17:16:54 +00:00
Doug Evans
94a8b9feee (install-common): Fix typo in installation of gcc-cross.
From-SVN: r9126
1995-03-07 16:56:39 +00:00