Commit Graph

8514 Commits

Author SHA1 Message Date
Richard Kenner
ec2c907ae8 Include <machine/ansi.h> on NetBSD.
Check for _BSD_XXX_T_ as well as _XXX_T_.
Add _BSD_XXX_T_ to list of defines to check and define for a given
type for SIZE_T, PTRDIFF_T, and WCHAR_T.

From-SVN: r8489
1994-11-17 17:25:58 -05:00
Doug Evans
005f764db7 Initial revision
From-SVN: r8488
1994-11-17 22:21:03 +00:00
Doug Evans
627b12bc5b Initial revision
From-SVN: r8487
1994-11-17 21:59:01 +00:00
Doug Evans
338023d4cb (program_transform_name, program_transform_cross_name): Define.
(GCC_INSTALL_NAME, GCC_CROSS_NAME): Define.
(install-common): Use them.
(install-man): Likewise.
(distclean): Delete *.asm.
(stage*, risky-stage*): If as/ld/real-ld exist, copy them to stage dir.

From-SVN: r8486
1994-11-17 21:03:59 +00:00
Doug Evans
b82b6eea93 (expand_unop): Try subtraction from zero if there isn't a
negate library function.

From-SVN: r8485
1994-11-17 20:14:21 +00:00
Doug Evans
13d50804a0 (sparc): Recognize as a cpu.
(ecoff*, vsta, udi): Recognize as os's.
(udi29k): New alias.

From-SVN: r8484
1994-11-17 20:12:13 +00:00
Richard Kenner
b58f0de150 (addsi3, adddi3): For patterns valid only during reload, allow operand
1 to be `some_operand'.

From-SVN: r8483
1994-11-17 14:44:28 -05:00
Richard Kenner
4e26af5f37 (PREDICATE_CODES): Add `some_operand'.
From-SVN: r8482
1994-11-17 14:44:04 -05:00
Richard Kenner
8d36d33b3c (some_operand): New function.
From-SVN: r8481
1994-11-17 14:43:33 -05:00
Richard Kenner
02df8aba6b (find_auto_inc): Insert missing "return" statement.
From-SVN: r8480
1994-11-17 12:45:29 -05:00
Richard Kenner
cf1003b3b5 (RTX_COSTS): Removed reference to obsolete LSHIFT.
From-SVN: r8479
1994-11-17 11:11:42 -05:00
Richard Kenner
9ee2aa48b2 (notice_update_cc): Removed reference to obsolete LSHIFT.
From-SVN: r8478
1994-11-17 11:11:17 -05:00
Richard Kenner
4cc00c5a1c (print_char_table): Allow L' for u'.
From-SVN: r8477
1994-11-17 11:06:36 -05:00
Richard Stallman
531e78ef6f Accept -domain as OS, and make it default for Apollo.
From-SVN: r8476
1994-11-17 15:16:50 +00:00
Richard Kenner
dd202606f5 (move_movables): For move_insn case, skip notes when deleting
instructions.

From-SVN: r8475
1994-11-16 19:28:34 -05:00
Richard Kenner
ec2d92affb (record_reg_classes): Handle case of single SET between a hard
register alone in a class and a pseudo.

From-SVN: r8474
1994-11-16 19:11:55 -05:00
Richard Kenner
9ad265b05e (integer_{zero,one,all_ones,pow2}p): Handle COMPLEX_CST.
(real_{zero,one,two}p): Likewise.

From-SVN: r8473
1994-11-16 17:37:52 -05:00
Richard Kenner
9c4faac1d5 (main): For -V output, give both driver and compiler versions, if they
differ.

From-SVN: r8472
1994-11-16 16:40:04 -05:00
Ian Lance Taylor
96abdcb1dd add support for -EL and -EB
From-SVN: r8471
1994-11-16 21:35:44 +00:00
Ian Lance Taylor
f76b9db287 Check target endianness at run time, not compile time
From-SVN: r8470
1994-11-16 21:10:09 +00:00
Richard Kenner
1942e82068 (rescan): Remove unnecessary comparisons of ibp to limit.
From-SVN: r8469
1994-11-16 16:03:44 -05:00
Richard Kenner
534bfae4ad (rest_of_compilation): Always rerun jump_optimize after CSE if -O2.
From-SVN: r8468
1994-11-16 07:59:24 -05:00
Richard Kenner
e1f56f62a0 (fold): If moved conversion into COND_EXPR, leave it there if it is an integral conversion to word or narrower.
(fold): If moved conversion into COND_EXPR, leave it there if it is an
integral conversion to word or narrower.
(fold, case NOP_EXPR): Ignore conversion to same type as operand.
(fold, case COND_EXPR): Make third operand the simplest.

From-SVN: r8467
1994-11-16 07:55:26 -05:00
Richard Kenner
5a32d03841 (convert_move): Don't put FROM in a register if it is a SUBREG.
(store_expr): If don't want a value and storing into promoted
variable, do conversion at tree level; don't copy volatile MEM unless
want value, as comment says.

From-SVN: r8466
1994-11-16 07:47:58 -05:00
Per Bothner
38d42ddbcf Extend comment for SET_TYPE to mention Chill.
From-SVN: r8465
1994-11-15 20:19:55 -08:00
Doug Evans
60033bb76f But don't delete too much!
From-SVN: r8464
1994-11-16 02:49:08 +00:00
Doug Evans
8204a4b90c Delete cygnus stuff.
From-SVN: r8463
1994-11-16 01:29:45 +00:00
Doug Evans
23621543c2 Clean up some comments. Delete unnecessary cygnus stuff.
From-SVN: r8462
1994-11-16 01:20:03 +00:00
Doug Evans
7e7be9c3b1 (ASM_OUTPUT_SECTION_NAME): New arg DECL.
From-SVN: r8461
1994-11-16 01:02:01 +00:00
Doug Evans
2ffe831c36 (named_section): New argument decl, all callers changed.
From-SVN: r8460
1994-11-16 00:53:50 +00:00
Jason Merrill
9a2073d855 (FUNCTION_VALUE): Use
POINTER_TYPE_P rather than checking the type against POINTER_TYPE
        (to include references).

From-SVN: r8459
1994-11-16 00:48:05 +00:00
Jason Merrill
8eda074c87 (init_function_start): Use
POINTER_TYPE_P rather than checking the type against POINTER_TYPE
        (to include references).

From-SVN: r8458
1994-11-16 00:45:41 +00:00
Jason Merrill
2df330f4d2 Don't define __PTR_TO_INT and
__INT_TO_PTR.

From-SVN: r8457
1994-11-16 00:45:41 +00:00
Jason Merrill
9e6cfc4326 (POINTER_TYPE_P): New macro.
From-SVN: r8456
1994-11-16 00:45:41 +00:00
Jason Merrill
d377038a55 Define __PTR_TO_INT and __INT_TO_PTR.
From-SVN: r8455
1994-11-16 00:45:41 +00:00
Jason Merrill
20e76cb977 (FUNCTION_VALUE): Use INTEGRAL_MODE_P rather than
checking the type against various integral and pointer types.

From-SVN: r8454
1994-11-16 00:45:41 +00:00
Jason Merrill
b92f397852 (FUNCTION_VALUE): Use POINTER_TYPE_P rather than checking the type against POINTER_TYPE (to include references).
(FUNCTION_VALUE): Use
        POINTER_TYPE_P rather than checking the type against POINTER_TYPE
        (to include references).
 Don't define __PTR_TO_INT and
        __INT_TO_PTR.

From-SVN: r8453
1994-11-16 00:45:41 +00:00
Richard Kenner
9e8b2461bd (relax_delay_slots): When invert a conditional jump over a single unconditional jump...
(relax_delay_slots): When invert a conditional jump over a single
unconditional jump, invert the INSN_FROM_TARGET_P bit of insns in the
delay slots.

From-SVN: r8452
1994-11-15 19:33:56 -05:00
Richard Kenner
1324c5deb7 (staticp): A non-nested function is always static.
From-SVN: r8451
1994-11-15 19:28:56 -05:00
Richard Kenner
d521a02342 (specs, float.h-cross, xlimits.h): Use temporary instead of redirecting output directly to make target.
(specs, float.h-cross, xlimits.h): Use temporary instead of redirecting
output directly to make target.
($(MD_FILE), xsys-protos.h): Likewise.
(mostlyclean): Remove any of these temporaries.

From-SVN: r8450
1994-11-15 19:17:27 -05:00
Richard Kenner
f9a329089b (libgcc2.a): Add missing semicolon in commented code that could cause
a /bin/sh syntax error if uncommented.

From-SVN: r8449
1994-11-15 19:11:53 -05:00
Richard Kenner
1486ce347c (NO_IMPLICIT_EXTERN_C): Define.
From-SVN: r8448
1994-11-15 19:06:55 -05:00
Richard Kenner
f898abd71d (redundant_insn): Renamed from redundant_insn_p; all callers changed.
From-SVN: r8447
1994-11-15 19:00:32 -05:00
Richard Kenner
5317d2f8b4 (redundant_insn_p): Change return type to rtx.
(redundant_insn_p): Change return type to rtx.  Return the redundant insn
instead of true.
(update_reg_unused_notes): New function.
(fill_slots_from_thread): Call update_reg_unused_notes after one of the
redundant_insn_p calls.

From-SVN: r8446
1994-11-15 18:57:29 -05:00
Richard Kenner
e31492751a Declare expand_abs.
From-SVN: r8445
1994-11-15 18:39:21 -05:00
Richard Kenner
7fd01431a3 (expand_abs): New function, code moved from expand_expr.
From-SVN: r8444
1994-11-15 18:37:55 -05:00
Richard Kenner
2e5ec6cf3b (do_jump_by_parts_greater_rtx): No longer static.
(expand_expr): Delete code for plain `abs'.

From-SVN: r8443
1994-11-15 18:35:35 -05:00
Richard Kenner
69f619018a (expand_divmod, case ROUND_DIV_EXPR): Implement.
From-SVN: r8442
1994-11-15 16:50:23 -05:00
Jeff Law
923f781d83 pa.c (output_cbranch): Improve code for short backwards branch with an unfilled delay slot.
* pa.c (output_cbranch): Improve code for short backwards branch
	with an unfilled delay slot.
	(output_bb, output_dbra, output_movb): Likewise.

From-SVN: r8441
1994-11-15 10:12:02 -07:00
Doug Evans
8329b5ec7e (flow_delete_insn): New function.
(find_basic_blocks): Call it to physically delete insns in
unreachable blocks.  When scanning blocks after dead ones,
start scanning after the dead one (not at the dead one).
If there are lots of unreachable blocks, make another pass to squeeze
them out (this reduces memory usage in some pathalogical cases by a
significant amount without resorting to sparse matrices).
(propagate_block): Make code a bit more efficient (for example,
no need to test `loop_depth' for each insn, just notes).

From-SVN: r8440
1994-11-15 15:38:07 +00:00