Commit Graph

8452 Commits

Author SHA1 Message Date
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
Doug Evans 3c7d7a4a7d (delete_insn): Delete labels in ADDR_VECs and
ADDR_DIFF_VECs if their use count becomes zero.

From-SVN: r8439
1994-11-15 15:36:58 +00:00
Doug Evans b2a80c0d2b (assign_stack_temp): Compute size of slot after
assign_stack_local has accounted for alignment.

From-SVN: r8438
1994-11-15 14:55:15 +00:00
Jeff Law ce3b287975 * config/pa/t-pa (INSTALLED_H): Delete.
From-SVN: r8437
1994-11-14 21:59:14 -07:00
Jeff Law e26268c2de x-pa (TAROUTOPTS): Delete.
* config/pa/x-pa (TAROUTOPTS): Delete.  It was an HPUX host
	conditional, and x-pa is a BSD host target fragment.
	(INSTALL_HEADERS): Define.
	(STMP_FIXPROTO): Define.

From-SVN: r8436
1994-11-14 21:56:03 -07:00
Jeff Law 7cc28e24ca pa-hiux.h: Include "pa/pa-hpux.h" and just override the CPP predefines.
* config/pa/pa-hiux.h: Include "pa/pa-hpux.h" and just override
	the CPP predefines.
	(CPP_PREDEFINES): Add -A assertions.
	* config/pa/{pa1-hiux.h, pa-ghiux.h, pa1-ghiux.h}: Likewise.

From-SVN: r8435
1994-11-14 21:52:54 -07:00
Richard Kenner e12c22a658 Fixes for NextStep 3.2.
Fixes for NextStep 3.2.  Remove ``__const__'' from sin and cos
prototypes in ansi/math.h.  Remove keyword ``template'' from
bfd/libc.h.  Remove ``volatile'' from abort in bsd/libc.h and abort
and exit in ansi/stdlib.h.

From-SVN: r8434
1994-11-14 19:14:54 -05:00
Per Bothner 4dad6ae1c5 Support paragon as i860-intel-osf1. (From RMS.)
From-SVN: r8433
1994-11-14 16:05:02 -08:00
Richard Kenner 1e22fa6ffe (INCLUDE_DEFAULTS): Move definition beyond FREEBSD_NATIVE conditional.
(FUNCTION_PROFILER): Move down to make file more similar to netbsd-i386.h.
(DEFAULT_TARGET_MACHINE, etc): Comment our this braindamage!

From-SVN: r8432
1994-11-14 18:48:17 -05:00
Richard Kenner 4f48d56aa7 (expand_call): If IS_CONST and VALREG == 0, end our sequence and emit
the insns.

From-SVN: r8431
1994-11-14 18:46:08 -05:00
Richard Kenner e80316129f (expand_divmod, case TRUNC_DIV_EXPR): Promote signed division by
0x80000000 to unsigned.

From-SVN: r8430
1994-11-12 06:35:09 -05:00
Richard Kenner 84e24c036d (assign_stack_temp): Always initialize p->rtl_expr.
From-SVN: r8429
1994-11-11 18:55:49 -05:00
Richard Kenner e3c56d1b51 (duplicate_decls): Properly merge decls with differing DECL_CONTEXT.
From-SVN: r8428
1994-11-11 17:53:39 -05:00