Commit Graph

9315 Commits

Author SHA1 Message Date
Jeff Law 0f5cddbdd1 pa.c (pa_reorg): Bump label use count for each entry in an exploded ADDR_VEC
* pa.c (pa_reorg): Bump label use count for each entry in an
	exploded ADDR_VEC

From-SVN: r9343
1995-04-09 22:26:01 -06:00
Richard Kenner dee6d39efa (adddi3, subdi3): Need scratch reg whenever operand 0 in mem and operands 1 not '0'.
(adddi3, subdi3): Need scratch reg whenever operand 0 in mem and operands 1
not '0'.
(subdi3): Don't treat two non-equal MEMs as non-aliasing.

From-SVN: r9342
1995-04-09 09:22:42 -04:00
Mike Stump 79ff2c6c8b 64th Cygnus<->FSF merge
From-SVN: r9341
1995-04-09 11:41:24 +00:00
Jeff Law aba892c44f * pa.c (pa_reorg): Fix typo.
From-SVN: r9340
1995-04-08 20:53:09 -06:00
Michael Meissner 128e5769ed Correct SELECT_SECTION.
From-SVN: r9339
1995-04-08 23:42:29 +00:00
Mike Stump 3b9835d76b * cpphash.c: Don't use const on compilers that don't support it.
From-SVN: r9338
1995-04-08 20:38:16 +00:00
Richard Kenner e9cdf6e48c (expand_increment): Handle case where INCREMENTED has a non-trivial
conversion.

From-SVN: r9337
1995-04-08 16:32:01 -04:00
Richard Kenner 6cb64c6a04 (TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): Fix assembler syntax
errors.

From-SVN: r9336
1995-04-07 19:33:16 -04:00
Richard Kenner bd8cb5e27f (VMS_fstat, VMS_stat): New functions.
From-SVN: r9335
1995-04-07 19:27:05 -04:00
Richard Kenner c29a4cbc4b (collect_expansion): If traditional...
(collect_expansion): If traditional, set stringify member to
SHARP_TOKEN regardless of the value of stringify_sharp_token_type.

From-SVN: r9334
1995-04-07 19:18:58 -04:00
Richard Kenner cceb347c21 (simplify_unary_operation): #ifdef POINTERS_EXTEND_UNSIGNED, handle
sign- or zero-extending addresses.

From-SVN: r9333
1995-04-07 16:04:38 -04:00
Richard Kenner 3091ecc183 (init{,_integral,_floating,_complex}_libfuncs):
Change SUFFIX to "char" to avoid confusion with prototype.

From-SVN: r9332
1995-04-07 14:03:52 -04:00
Richard Kenner ed9a9db1b0 (expand_computed_goto): Convert from ptr_mode to Pmode.
From-SVN: r9331
1995-04-07 12:36:39 -04:00
Richard Kenner 9c5f2956d0 (convert_memory_address): Add extra arg.
From-SVN: r9330
1995-04-07 12:36:20 -04:00
Richard Kenner 9fcfcce705 (expand_expr, case ADDR_EXPR): Always call convert_memory_address when
converting; add extra arg.

From-SVN: r9329
1995-04-07 12:35:49 -04:00
Richard Kenner 498b529f11 (convert_memory_address): No longer static.
New arg, TO_MODE.
Do something special for SYMBOL_REF, LABEL_REF, and CONST.
(memory_address): Add extra arg to call to convert_memory_address.

From-SVN: r9328
1995-04-07 12:35:25 -04:00
Richard Kenner 0aac88f627 (OBJECT_SUFFIX): Move to here; now has period.
From-SVN: r9327
1995-04-07 08:10:03 -04:00
Richard Kenner 39c93302bd (OBJECT_SUFFIX): Delete from here.
From-SVN: r9326
1995-04-07 08:09:51 -04:00
Richard Kenner adcb8d7d82 (OBJECT_SUFFIX): Default now ".o", not "o".
(all specs): Remove "." before %O; use %O in a few missing cases.

From-SVN: r9325
1995-04-07 08:09:21 -04:00
Richard Kenner bf3556b368 (STAGESTUFF): Use $(exeext) for executables.
From-SVN: r9324
1995-04-07 07:48:25 -04:00
Per Bothner 86c041d275 * cpplib.c (bcopy, bzero, bcmp): Remove #undefs.
From-SVN: r9323
1995-04-07 01:42:27 -07:00
Richard Stallman 203fffe550 Accept -lites* as op sys.
From-SVN: r9321
1995-04-07 07:32:44 +00:00
Per Bothner 6bac1e6496 cpplib.c (SELF_DIR_DUMMY): New macro.
* cpplib.c (SELF_DIR_DUMMY):  New macro.
(do_include):  Don't pass searchptr to finclude if it is dsp,
since that is on the stack, and would cause a dangling pointer.
If handling #include_next, recognize SELF_DIR_DUMMY.

From-SVN: r9320
1995-04-06 23:20:52 -07:00
Per Bothner 56c667474e * cppalloc.c (xcalloc): Re-implement using calloc, rather than malloc+bzero.
From-SVN: r9319
1995-04-06 23:19:22 -07:00
Jeff Law 746a9efa80 pa.h (MACHINE_DEPENDENT_REORG): Define.
* pa.h (MACHINE_DEPENDENT_REORG): Define.
	* pa.md (switch_jump): New pattern for jumps which implement
	a switch table.
	* pa.c (pa_reorg): New function to explode jump tables.
	(pa_adjust_insn_length): Account for jumps in switch tables with
	unfilled delay slots.

From-SVN: r9318
1995-04-06 22:56:45 -06:00
Jason Merrill 605a99f6be (build_binary_op): Don't call common_type for uncommon pointer types.
From-SVN: r9317
1995-04-06 21:31:01 +00:00
Per Bothner b3ca463cda Re-write fixproto/fix-header/etc to use cpplib.
From-SVN: r9316
1995-04-05 14:16:26 -07:00
Per Bothner 355142da80 Moved 'high-level' error functions from cpperror.c to cpplib.c.
From-SVN: r9315
1995-04-05 13:34:58 -07:00
Roland McGrath 784ea07468 (GNU_CPP_PREDEFINES): Remove -D__HURD__.
From-SVN: r9314
1995-04-05 03:35:44 +00:00
Jeff Law a65c428438 pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment problem.
* pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment
	problem.

From-SVN: r9313
1995-04-04 15:26:02 -06:00
Jeff Law 6f7775d58f reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN a the target of another JUMP_INSN to fill a delay slot.
* reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN
	a the target of another JUMP_INSN to fill a delay slot.

From-SVN: r9312
1995-04-04 15:16:40 -06:00
Mike Stump b19b4a787d 63rd Cygnus<->FSF merge
From-SVN: r9311
1995-04-04 17:51:34 +00:00
Torbjorn Granlund 9fa6d012c0 (force_to_mode, case PLUS): Sign extend masks that are negative in OP_MODE.
(simplify_and_const_int): Sign-extend constants when they have the
most significant bit set for the target.
(merge_outer_ops): Likewise.
(simplify_shift_const): Likewise.

From-SVN: r9310
1995-04-03 23:19:41 +00:00
Torbjorn Granlund ad89d6f68a (simplify_unary_operation): Sign-extend constants when they have the most significant bit set for the target.
(simplify_unary_operation): Sign-extend constants when
they have the most significant bit set for the target.
(simplify_binary_operation): Likewise.

From-SVN: r9309
1995-04-03 23:19:02 +00:00
Jason Merrill 2e14370ed4 oops
From-SVN: r9308
1995-04-03 23:16:19 +00:00
Torbjorn Granlund 28d29b39bc (umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE, not CONSTANT_P.
(smulsi3_highpart): Likewise.

(const_umulsi3_highpart): Use const_uint32_operand instead
of immediate_operand for op3.  Delete mode.
(const_smulsi3_highpart): Analogous change.

From-SVN: r9307
1995-04-03 22:54:09 +00:00
Torbjorn Granlund 67cd4f83cf (const_uint32_operand): New function.
(const_sint32_operand): New function.

From-SVN: r9306
1995-04-03 22:53:36 +00:00
Richard Kenner 88f63c77d9 (clear_storage, expand_assignment, store_{expr,constructor}): Use ptr_mode instead of Pmode in some places.
(clear_storage, expand_assignment, store_{expr,constructor}): Use ptr_mode
instead of Pmode in some places.
(expand_expr, expand_builtin): Likewise.
(push_block, store_expr): Convert size to Pmode.
(expand_expr, case ADDR_EXPR): Convert from Pmode to ptr_mode.

From-SVN: r9305
1995-04-03 18:12:50 -04:00
Richard Kenner ea534b63c6 (convert_memory_address): New function.
(memory_address): Call if it needed.
(promote_mode, case POINTER_TYPE): Use Pmode and pointer extension.
(allocate_dynamic_stack_space): Convert size from ptr_mode.

From-SVN: r9304
1995-04-03 18:12:15 -04:00
Richard Kenner ff0dbdd176 (nonzero_bits, case REG): Check POINTERS_EXTEND_UNSIGNED.
(num_sign_bit_copies, case REG): Likewise.

From-SVN: r9303
1995-04-03 18:11:26 -04:00
Jim Wilson 96ec484f7a (allocate_dynamic_stack_space): Correct typo in last change.
From-SVN: r9302
1995-04-03 15:08:08 -07:00
Jim Wilson 9a4bdb8649 (gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not a constant.
From-SVN: r9301
1995-04-03 15:00:32 -07:00
Jason Merrill 08fda98275 Add -frepo
From-SVN: r9300
1995-04-03 20:37:59 +00:00
Michael Meissner 641916126a Get correct bit offset for big endian (SUBREG (REG))
From-SVN: r9299
1995-04-03 20:19:05 +00:00
Mike Stump faae18abc2 62nd Cygnus<->FSF merge
From-SVN: r9298
1995-04-03 19:28:01 +00:00
Roland McGrath 684cfb6b2f Include "config/linux.h" instead of "linux.h", to avoid recursion.
From-SVN: r9297
1995-04-03 04:08:34 +00:00
Jim Wilson c27b5c621a (simplify_relational_operation): Don't simplify A-B for
compare of A and B when the compare is unsigned.

From-SVN: r9296
1995-04-02 14:34:42 -07:00
Richard Kenner e3124505ec (stdio.h): BSDI 2.0 changed the spelling of _VA_LIST_ to
_BSD_VA_LIST_.

From-SVN: r9295
1995-04-02 08:22:56 -04:00
Richard Kenner 0b1dbf9e61 (default_compilers): Pass -W and -w to gnat1.
From-SVN: r9294
1995-04-02 08:11:46 -04:00
Richard Kenner 6c6923cc2f (STDC_VALUE): Add #undef.
From-SVN: r9293
1995-04-02 07:57:23 -04:00