Commit Graph

9173 Commits

Author SHA1 Message Date
Richard Kenner
0ea6b275aa (winnt_function_prologue): Deleted.
(gen_stdcall_suffix): New function.

From-SVN: r9199
1995-03-17 11:48:28 -05:00
Jason Merrill
f6b54ae808 Tweak LINK_SPEC
From-SVN: r9198
1995-03-17 02:38:52 +00:00
Jason Merrill
0600f3fab5 Move SunOS 4 assembler flags from default_compilers into ASM_SPEC.
From-SVN: r9197
1995-03-16 23:18:10 +00:00
Richard Kenner
de73f1713f (warn_if_unused_value, case SAVE_EXPR): New case.
(warn_if_unused_value, case NOP_EXPR): OK if CALL_EXPR inside.

From-SVN: r9196
1995-03-16 18:10:36 -05:00
Richard Kenner
d3e0f18932 (decl_attributes): Allow alignment for TYPE_DECLs.
From-SVN: r9195
1995-03-16 17:24:31 -05:00
Michael Meissner
ce133c0fae Call C++ static constructors.
From-SVN: r9194
1995-03-16 22:12:56 +00:00
Richard Kenner
c061c5d7a9 (xsys-protos.h): Fix typo in -U operand.
From-SVN: r9193
1995-03-16 17:05:46 -05:00
Per Bothner
59949f6031 Add support for cpplib and building cppmain.
From-SVN: r9192
1995-03-16 14:01:13 -08:00
Per Bothner
7f2935c734 Initial revision
From-SVN: r9191
1995-03-16 13:59:07 -08:00
Richard Kenner
b310a51d35 (FUNCTION_PROLOGUE, HAVE_probe, gen_probe): Deleted.
(ENCODE_SECTION_INFO, VALID_MACHINE_DECL_ATTRIBUTE): New macro.

From-SVN: r9190
1995-03-16 16:11:02 -05:00
Richard Kenner
8af24e2633 (apply_distributive_law, case SUBREG): Fix typo when checking for
paradoxical SUBREG.

From-SVN: r9189
1995-03-16 15:57:59 -05:00
Doug Evans
a2d163c4a9 libgcc1-test.c: Renamed from cross-test.c.
* libgcc1-test.c: Renamed from cross-test.c.
	* Makefile.in (LIBGCC1_TEST): Renamed from CROSS_TEST.
	(all.cross): Delete $(ENQUIRE) dependency.
	(libgcc1-test): Renamed from cross-test.
	Delete unnecessary gcc-cross and $(LIBGCC) dependencies.
	Link with -nostartfiles -nostdlib
	`$(GCC_FOR_TARGET) --print-libgcc-file-name`.
	(libgcc1-test.o): Renamed from cross-test.o.
	Change gcc-cross dependency to xgcc since the latter is used.

From-SVN: r9188
1995-03-15 23:44:51 +00:00
Doug Evans
2117d0f5dc Initial revision
From-SVN: r9187
1995-03-15 23:42:55 +00:00
Mike Stump
b7484fbe2b 58th Cygnus<->FSF merge
From-SVN: r9186
1995-03-15 23:03:59 +00:00
Jason Merrill
a0dabda52b Handle compilation of nested functions from another scope.
From-SVN: r9185
1995-03-15 21:48:01 +00:00
Michael Meissner
ea9be07758 Generate better code for sne on PowerPC.
From-SVN: r9184
1995-03-15 20:01:18 +00:00
Richard Kenner
22859ae8bd ({add,sub,mul,div}[sdx]f3): Add new patterns for recognizing SImode,
HImode, and QImode operands.

From-SVN: r9183
1995-03-14 18:38:25 -05:00
Michael Meissner
49a0b2043a Add 403 support.
From-SVN: r9182
1995-03-14 20:38:41 +00:00
Doug Evans
e82ea128f9 (arm_volatile_func): Install the government approved version of the comment.
From-SVN: r9181
1995-03-14 18:35:45 +00:00
Doug Evans
a0b2ce4ce9 (arm_volatile_func): Add comment describing purpose.
From-SVN: r9180
1995-03-14 17:53:10 +00:00
Jason Merrill
d05ae115ff e -fPIC instead of -fpic
From-SVN: r9179
1995-03-13 23:11:57 +00:00
Jason Merrill
a9cd52eb9d Use -fPIC instead of -fpic
From-SVN: r9178
1995-03-13 23:11:08 +00:00
Michael Meissner
0f07e76ca7 Fix typo in last change.
From-SVN: r9177
1995-03-13 21:53:18 +00:00
Michael Meissner
59313e4e25 Add -mno-traceback option; eliminate nop after call on V.4/eabi
From-SVN: r9176
1995-03-13 19:51:05 +00:00
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