Jim Wilson [Wed, 1 Jun 1994 00:21:39 +0000 (17:21 -0700)]
(xcoff_lastfile): Declare.
(DBX_OUTPUT_MAIN_SOURCE_FILENAME): Clean up. Set xcoff_lastfile.
(ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Delete here.
(DBX_OUTPUT_SOURCE_FILENAME): Delete.
From-SVN: r7407
Jim Wilson [Wed, 1 Jun 1994 00:17:00 +0000 (17:17 -0700)]
(copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field.
From-SVN: r7406
Jim Wilson [Wed, 1 Jun 1994 00:04:46 +0000 (17:04 -0700)]
(ASM_SPEC): Don't pass -k when -pg or -p given.
(OVERRIDE_OPTIONS): Warn when disabling -fpic.
From-SVN: r7405
Jim Wilson [Tue, 31 May 1994 23:58:03 +0000 (16:58 -0700)]
(print_global_hdr): Remove "l" from printf format for flags.
(print_global_hdr): Remove "l" from printf format
for flags.
(print_sym_hdr): Add missing "l" to printf formats.
(print_symbol, print_file_desc): Likewise.
From-SVN: r7404
Jim Wilson [Tue, 31 May 1994 23:54:27 +0000 (16:54 -0700)]
(PUT_SDB_TYPE): Adjust value for compatibility with GNU960 toolchain.
From-SVN: r7403
Jim Wilson [Tue, 31 May 1994 23:37:39 +0000 (16:37 -0700)]
New file.
From-SVN: r7402
Jim Wilson [Tue, 31 May 1994 23:32:03 +0000 (16:32 -0700)]
(LIB_SPEC): Don't link in /usr/lib/bb_link.o with -a.
(CONDITIONAL_REGISTER_USAGE): When -a, make %g1 and %g2 fixed.
From-SVN: r7401
Doug Evans [Tue, 31 May 1994 23:31:48 +0000 (23:31 +0000)]
(main): -MG doesn't make sense with -MD or -MMD!
From-SVN: r7400
Torbjorn Granlund [Tue, 31 May 1994 23:17:21 +0000 (23:17 +0000)]
(movsi matcher): Use ldi for moving of 0 to a reg.
(movhi matcher): Likewise.
(movqi matcher): Likewise.
(many patterns): Prefer addl to add, and shNaddl to shNadd.
(define_split for (plus (reg) (large_constant))): Cleanup.
(divsi3): Use match_dup for operand 3, not match_operand.
(udivsi3): Likewise.
(modsi3): Likewise.
(umodsi3): Likewise.
From-SVN: r7399
Doug Evans [Tue, 31 May 1994 23:15:01 +0000 (23:15 +0000)]
(v_pedwarn_with_decl): Don't even issue warnings from
pedantic errors in system header files.
From-SVN: r7398
Richard Kenner [Tue, 31 May 1994 21:16:25 +0000 (17:16 -0400)]
(extendqidi2, extendqisi2, extendqihi2): Remove non-existent lba instruction.
(ashrdi3): Undo previous change.
From-SVN: r7397
Jason Merrill [Tue, 31 May 1994 19:31:18 +0000 (19:31 +0000)]
(lang_options): Add -f{no-,}implicit-templates.
(compile_file): Don't output SDB debugging info for
externals.
From-SVN: r7396
Richard Kenner [Tue, 31 May 1994 11:20:06 +0000 (07:20 -0400)]
(note_addr_stored): A SET or CLOBBER of a BLKmode MEM means that all
memory is clobbered.
From-SVN: r7395
Richard Kenner [Tue, 31 May 1994 11:19:37 +0000 (07:19 -0400)]
(expand_asm_operands): Make MEM with BLKmode for clobber of "memory".
From-SVN: r7394
Doug Evans [Mon, 30 May 1994 18:01:10 +0000 (18:01 +0000)]
(print_deps_missing_files): New global.
(main): New argument -MG. Treat missing include files as
generated files and output dependencies for them.
From-SVN: r7393
Doug Evans [Mon, 30 May 1994 17:58:54 +0000 (17:58 +0000)]
(default_compilers): Pass -MG to cpp if present.
(option_map): New option --print-missing-file-dependencies/-MG.
From-SVN: r7392
Richard Kenner [Mon, 30 May 1994 16:38:00 +0000 (12:38 -0400)]
(expand_float): Fix error in last change.
From-SVN: r7391
Richard Kenner [Mon, 30 May 1994 14:42:01 +0000 (10:42 -0400)]
Disable code that manages gcc.ifile.
From-SVN: r7390
Richard Kenner [Mon, 30 May 1994 14:41:31 +0000 (10:41 -0400)]
(PREFERRED_DEBUGGING_TYPE): Define as SDB_DEBUG.
From-SVN: r7389
Richard Kenner [Mon, 30 May 1994 14:35:44 +0000 (10:35 -0400)]
(significand_size): Declare.
From-SVN: r7388
Richard Kenner [Mon, 30 May 1994 14:34:11 +0000 (10:34 -0400)]
(significand_size): New function.
From-SVN: r7387
Richard Kenner [Mon, 30 May 1994 14:33:41 +0000 (10:33 -0400)]
(expand_float): Avoid double-rounding when float is is narrower than
int.
From-SVN: r7386
Richard Kenner [Sun, 29 May 1994 20:24:15 +0000 (16:24 -0400)]
(jump_optimize): When deleting unneeded stack adjusts or mem-mem
copies, use delete_computation.
From-SVN: r7385
Richard Kenner [Sun, 29 May 1994 20:03:08 +0000 (16:03 -0400)]
(force_to_mode): NEXT_SELECT is true for NEG.
Only exit quickly if X is narrower than MODE and MASK has all bits in X's
mode set.
(force_to_mode, case SUBREG): Don't check for WORD_REGISTER_OPERATIONS.
(force_to_mode, case NEG): Special-case test for low-order bit.
From-SVN: r7384
Richard Kenner [Sun, 29 May 1994 19:58:14 +0000 (15:58 -0400)]
(volatile_insn_p): Call ourselves in recursive scan.
From-SVN: r7383
Richard Kenner [Sun, 29 May 1994 02:44:55 +0000 (22:44 -0400)]
(init...
(init, compstmt, stmt, all_iter_stmt_with_decl): If the lookahead
token is a constant and we need to pop the momentary obstack, don't
free it.
From-SVN: r7382
Richard Kenner [Sat, 28 May 1994 23:03:12 +0000 (19:03 -0400)]
(expand_end_case): Have INDEX_TYPE track conversions done to
INDEX_EXPR.
From-SVN: r7381
Torbjorn Granlund [Sat, 28 May 1994 10:25:01 +0000 (10:25 +0000)]
(call): Force address into register in non-symbol case.
(call_value): Likewise.
From-SVN: r7380
Doug Evans [Fri, 27 May 1994 23:29:18 +0000 (23:29 +0000)]
toplev.c (compile_file): Call init_regs after `word_mode' is valid.
* toplev.c (compile_file): Call init_regs after `word_mode' is valid.
* regclass.c (init_reg_modes): If choose_hard_reg_mode can't find a
valid mode, fall back to word_mode.
From-SVN: r7379
Doug Evans [Fri, 27 May 1994 23:27:50 +0000 (23:27 +0000)]
expr.c (use_reg): Fix recording of USE information.
* expr.c (use_reg): Fix recording of USE information.
(use_regs): Likewise.
Delete argument `reg'. All callers changed.
* expr.h (use_regs): Update prototype.
* calls.c (expand_call): Update call to use_regs. Call use_reg
if parm is wholly in registers.
From-SVN: r7378
Richard Kenner [Fri, 27 May 1994 22:18:17 +0000 (18:18 -0400)]
(RTX_COSTS): Update PPC603 and PPC604 values.
From-SVN: r7377
Richard Kenner [Fri, 27 May 1994 22:17:52 +0000 (18:17 -0400)]
(zero_extendqidi2, zero_extendhidi2): Use rldicl instruction.
From-SVN: r7376
Richard Kenner [Fri, 27 May 1994 21:56:04 +0000 (17:56 -0400)]
(DIR_SEPARATOR): New macro.
From-SVN: r7375
Richard Kenner [Fri, 27 May 1994 21:44:59 +0000 (17:44 -0400)]
(PCC_STATIC_STRUCT_RETURN): No longer defined.
From-SVN: r7374
Richard Kenner [Fri, 27 May 1994 21:36:47 +0000 (17:36 -0400)]
Update to handle `ginclude' subdirectory when compiling libgcc2.
From-SVN: r7373
Richard Kenner [Fri, 27 May 1994 21:30:31 +0000 (17:30 -0400)]
(print_operand_address): print_operand_address creates PLUS-rtls for
internal use, so it has to handle them.
From-SVN: r7372
Richard Kenner [Fri, 27 May 1994 20:47:01 +0000 (16:47 -0400)]
(find_reloads): Revert to old code and change secondary reloads to
RELOAD_FOR_OPERAND_ADDRESS too.
From-SVN: r7371
Richard Kenner [Fri, 27 May 1994 20:42:08 +0000 (16:42 -0400)]
(try_combine): Don't make complemented NOT for constant out of range.
From-SVN: r7370
Richard Kenner [Fri, 27 May 1994 20:38:54 +0000 (16:38 -0400)]
(iordi3): Rename ior_operand to or_operand.
(xordi3): Use or_operand and add second alternative.
(eqv): Only accept registers.
From-SVN: r7369
Richard Kenner [Fri, 27 May 1994 20:38:07 +0000 (16:38 -0400)]
(PREDICATE_CODES): Rename ior_operand to or_operand.
From-SVN: r7368
Richard Kenner [Fri, 27 May 1994 20:37:42 +0000 (16:37 -0400)]
(or_operand): Renamed from ior_operand.
From-SVN: r7367
Richard Kenner [Fri, 27 May 1994 20:13:41 +0000 (16:13 -0400)]
(assign_parms): Set REG_USERVAR_P when parm is passed by invisible
reference but can live in register.
From-SVN: r7366
Richard Kenner [Fri, 27 May 1994 18:56:31 +0000 (14:56 -0400)]
(expand_expr...
(expand_expr, case CONSTRUCTOR): If constant and large enough for
memcpy to be used, build constructor into static memory.
From-SVN: r7365
Richard Kenner [Fri, 27 May 1994 18:15:25 +0000 (14:15 -0400)]
Add define_split for sign-extended PLUS of a MULT of an SImode
comparison.
From-SVN: r7364
Richard Kenner [Fri, 27 May 1994 17:36:40 +0000 (13:36 -0400)]
(simplify_comparison): Narrow comparison for AND's that are ZERO_EXTENDs.
Can widen for all comparisons if inputs are both sign extended.
From-SVN: r7363
Richard Kenner [Fri, 27 May 1994 17:32:13 +0000 (13:32 -0400)]
(reload_as_needed): Update spill_reg_order once we sort spill_regs.
From-SVN: r7362
Richard Kenner [Fri, 27 May 1994 15:53:02 +0000 (11:53 -0400)]
(local_alloc): Fix typo in last change.
From-SVN: r7361
Richard Kenner [Fri, 27 May 1994 11:26:20 +0000 (07:26 -0400)]
Add define_split for sign-extended PLUS of an SImode comparison;
change comparison to DImode.
From-SVN: r7360
Richard Kenner [Fri, 27 May 1994 10:33:04 +0000 (06:33 -0400)]
(expand_end_case): Use old type of INDEX_EXPR when making a constant.
From-SVN: r7359
Richard Kenner [Fri, 27 May 1994 10:27:03 +0000 (06:27 -0400)]
(requires_inout): Renamed from requires_inout_p and returns number of alternatives that require a match.
(requires_inout): Renamed from requires_inout_p and returns number of
alternatives that require a match.
(block_alloc): Use new function and handle case where all alternatives have
some operand that must match operand 0.
From-SVN: r7358
Richard Kenner [Fri, 27 May 1994 10:16:16 +0000 (06:16 -0400)]
(qty_sugg_compare_1): Fix typo in last change.
From-SVN: r7357
Richard Kenner [Fri, 27 May 1994 10:03:04 +0000 (06:03 -0400)]
(qty_phys_num{,_copy}_sugg): New variables.
(qty_phys_has{,_copy}_sugg): Deleted.
(qty_sugg_compare{,_1}): New functions.
(local_alloc): Allocate and init new vars instead of deleted ones.
(block_alloc): Update and use new vars.
Order quantities using new functions when allocating quantities with
suggested registers.
(combine_regs, find_free_reg): Use new vars to count number of suggestions.
From-SVN: r7356
Richard Kenner [Thu, 26 May 1994 22:58:47 +0000 (18:58 -0400)]
(jump_optimize): When looking for an `if' statement that takes two insns to compute a result using a temporary...
(jump_optimize): When looking for an `if' statement that takes two
insns to compute a result using a temporary, allow the temporary to be
a SUBREG.
From-SVN: r7355
Richard Kenner [Thu, 26 May 1994 22:49:06 +0000 (18:49 -0400)]
(CANONICALIZE_COMPARISON): New macro.
From-SVN: r7354
Richard Kenner [Thu, 26 May 1994 22:48:18 +0000 (18:48 -0400)]
(simplify_comparison): Call CANONICALIZE_COMPARISON, if defined.
From-SVN: r7353
Ian Lance Taylor [Thu, 26 May 1994 22:37:59 +0000 (22:37 +0000)]
Protect bool in curses.h
From-SVN: r7352
Richard Kenner [Thu, 26 May 1994 22:03:39 +0000 (18:03 -0400)]
(simplify_if_then_else): Don't make (mult (cond)) in simple case;
leave as IF_THEN_ELSE instead.
From-SVN: r7351
Ian Lance Taylor [Thu, 26 May 1994 16:23:31 +0000 (16:23 +0000)]
Protect __P in math.h and floatingpoint.h.
From-SVN: r7350
Richard Kenner [Thu, 26 May 1994 15:55:34 +0000 (11:55 -0400)]
(expand_divmod): Correctly set CAN_CLOBBER_OP0 when we've converted OP0
to COMPUTE_MODE.
From-SVN: r7349
Ian Lance Taylor [Thu, 26 May 1994 15:50:35 +0000 (15:50 +0000)]
Don't pass $(srcdir) to fixincludes scripts; don't explicitly copy files
which are now copied by ${required} code.
From-SVN: r7348
Ian Lance Taylor [Thu, 26 May 1994 15:50:13 +0000 (15:50 +0000)]
Don't pass $(srcdir) to fixincludes scripts
From-SVN: r7347
Jim Wilson [Fri, 20 May 1994 16:59:51 +0000 (09:59 -0700)]
(expand_exit_loop_if_false): Emit conditional jump around
unconditional loop exit instead of conditional loop exit.
From-SVN: r7346
Jim Wilson [Fri, 20 May 1994 16:53:46 +0000 (09:53 -0700)]
(output_prolog): Use multiple fputs calls instead of
one call with multiple strings.
From-SVN: r7345
Jim Wilson [Fri, 20 May 1994 16:50:02 +0000 (09:50 -0700)]
(STARTFILE_SPEC, LIB_SPEC): Define.
From-SVN: r7344
Jim Wilson [Fri, 20 May 1994 16:48:11 +0000 (09:48 -0700)]
(MAKE_LINE_SAFE): Delete.
(ASM_OUTPUT_LBB, ASM_OUTPUT_LBE): Don't use MAKE_LINE_SAFE.
From-SVN: r7343
Richard Stallman [Fri, 20 May 1994 05:29:36 +0000 (05:29 +0000)]
(basic_machine): Accept cxux*.
From-SVN: r7342
Mike Stump [Thu, 19 May 1994 23:14:04 +0000 (23:14 +0000)]
calls.c (expand_call): Only destroy temps here, if -fshort-temps is given.
* calls.c (expand_call): Only destroy temps here, if -fshort-temps
is given.
From-SVN: r7341
Richard Stallman [Thu, 19 May 1994 23:08:12 +0000 (23:08 +0000)]
Fix unrecognized os error message.
From-SVN: r7340
Richard Kenner [Thu, 19 May 1994 21:46:31 +0000 (17:46 -0400)]
(emit_reload_insns): When seeing if an equivalent register can have it's output reload deleted...
(emit_reload_insns): When seeing if an equivalent register can have
it's output reload deleted, check for REG_DEAD notes for reload_in
instead of calling dead_or_set_p.
From-SVN: r7339
Richard Kenner [Thu, 19 May 1994 20:38:15 +0000 (16:38 -0400)]
(operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE and ..._DOUBLE.
(operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE and
.._DOUBLE. Permit float subword extraction when host's word width iswider than target's.
From-SVN: r7338
Mike Stump [Thu, 19 May 1994 20:19:03 +0000 (20:19 +0000)]
38th Cygnus<->FSF merge
From-SVN: r7337
Ian Lance Taylor [Thu, 19 May 1994 19:09:56 +0000 (19:09 +0000)]
Make OSF/1 getopt.h fix work on AIX also
From-SVN: r7336
Jason Merrill [Wed, 18 May 1994 23:08:30 +0000 (23:08 +0000)]
(FIXPROTO_DEFINES): Set to -D_XOPEN_SOURCE.
From-SVN: r7335
Jason Merrill [Wed, 18 May 1994 23:08:30 +0000 (23:08 +0000)]
Use ${FIXPROTO_DEFINES}.
From-SVN: r7334
Jason Merrill [Wed, 18 May 1994 23:08:30 +0000 (23:08 +0000)]
(FIXPROTO_DEFINES): New variable: extra #defines for fixproto to use.
(FIXPROTO_DEFINES): New variable: extra #defines for
fixproto to use.
(stmp-fixproto): Pass it.
From-SVN: r7333
Jason Merrill [Wed, 18 May 1994 23:08:30 +0000 (23:08 +0000)]
(FIXPROTO_DEFINES): Set to -D__EXTENSIONS__.
From-SVN: r7332
Jason Merrill [Wed, 18 May 1994 22:33:40 +0000 (22:33 +0000)]
Add forward declaration of struct exception to
SunOS 4 math.h.
From-SVN: r7331
Per Bothner [Wed, 18 May 1994 20:51:28 +0000 (13:51 -0700)]
Allow any integral type for bitfields (such as booleans).
From-SVN: r7330
Richard Kenner [Wed, 18 May 1994 20:32:20 +0000 (16:32 -0400)]
(compare_spill_regs): Fix typo in declaration.
From-SVN: r7329
Brendan Kehoe [Wed, 18 May 1994 18:05:32 +0000 (14:05 -0400)]
get rid of CYGNUS LOCAL comment
From-SVN: r7328
Brendan Kehoe [Wed, 18 May 1994 17:54:24 +0000 (13:54 -0400)]
fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when compiling for C++...
* fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when
compiling for C++, since g++ now supports it as an official typename.
From-SVN: r7327
Jason Merrill [Wed, 18 May 1994 06:46:33 +0000 (06:46 +0000)]
#define NO_IMPLICIT_EXTERN_C
From-SVN: r7326
Jason Merrill [Wed, 18 May 1994 06:46:33 +0000 (06:46 +0000)]
(convert_to_real): Accept boolean values.
From-SVN: r7325
Richard Kenner [Tue, 17 May 1994 22:56:16 +0000 (18:56 -0400)]
(__umoddi3): Correct type of variable `w'.
From-SVN: r7324
Richard Kenner [Tue, 17 May 1994 22:51:25 +0000 (18:51 -0400)]
(simplify_set): Move call to make_field_assignment to end; if SRC or DEST is a (clobber (const_int 0)), return it.
(simplify_set): Move call to make_field_assignment to end; if SRC or DEST is
a (clobber (const_int 0)), return it.
(force_to_mode): If X is a CALL, just return it.
From-SVN: r7323
Richard Kenner [Tue, 17 May 1994 22:12:05 +0000 (18:12 -0400)]
(simplify_set): Use rtx_equal_p to compare cc_use and its setter.
(make_extraction): Don't put a subreg around a register if it is already in
the correct mode.
From-SVN: r7322
Richard Kenner [Tue, 17 May 1994 22:06:24 +0000 (18:06 -0400)]
Don't use the extsd/extd instructions on the ns32532.
From-SVN: r7321
Richard Kenner [Tue, 17 May 1994 21:44:33 +0000 (17:44 -0400)]
(CFLAGS): Separate include file handling; for stage 1, CFLAGS1 is
appended to CFLAGS, otherwise CFLAGS2.
From-SVN: r7320
Richard Kenner [Tue, 17 May 1994 19:51:48 +0000 (15:51 -0400)]
(find_reloads): Properly account for cost when constant is forced to
memory to ensure same alternative chosen later.
From-SVN: r7319
Richard Kenner [Tue, 17 May 1994 15:30:03 +0000 (11:30 -0400)]
(compare_spill_regs): New function.
(reload_as_needed): Sort the spilled regs.
(allocate_reload_reg): If we have group needs and failure would be fatal, do
not try to do round-robin allocation of the spill regs.
From-SVN: r7318
Richard Kenner [Mon, 16 May 1994 22:57:55 +0000 (18:57 -0400)]
(zero_extendqidi2): Fix omission of TARGET_POWERPC64 test in previous
change.
From-SVN: r7317
Richard Stallman [Mon, 16 May 1994 22:38:23 +0000 (22:38 +0000)]
(enumlist): Add error alternative.
From-SVN: r7316
Per Bothner [Mon, 16 May 1994 22:23:11 +0000 (15:23 -0700)]
(dbxout_type): Write non-default precision of of ENUMERAL_TYPEs.
From-SVN: r7315
Richard Kenner [Mon, 16 May 1994 21:52:21 +0000 (17:52 -0400)]
(split_double): Fix arg of REAL_VALUE_TO_TARGET_DOUBLE.
From-SVN: r7314
Richard Kenner [Mon, 16 May 1994 21:51:44 +0000 (17:51 -0400)]
(ereal_from_int, ereal_to_int, etarsingle): Correct signed/unsigned discrepancies.
(ereal_from_int, ereal_to_int, etarsingle): Correct signed/unsigned
discrepancies.
(ereal_from_double): Avoid "right shift count too big" warning in previous
change.
From-SVN: r7313
Richard Kenner [Mon, 16 May 1994 21:44:34 +0000 (17:44 -0400)]
(ereal_from_float, .._double): Change arg from long to HOST_WIDE_INT
and unpack the HOST_WIDE_INTs.
From-SVN: r7312
Richard Kenner [Mon, 16 May 1994 21:43:38 +0000 (17:43 -0400)]
(REAL_VALUE_FROM_TARGET_SINGLE, .._DOUBLE): Change arg from long to
HOST_WIDE_INT.
From-SVN: r7311
Richard Kenner [Mon, 16 May 1994 20:27:09 +0000 (16:27 -0400)]
(rs6000_convert_preincs): Delete.
From-SVN: r7310
Richard Kenner [Mon, 16 May 1994 20:26:46 +0000 (16:26 -0400)]
(FINAL_PRESCAN_INSN): Delete.
From-SVN: r7309
Richard Kenner [Mon, 16 May 1994 20:21:39 +0000 (16:21 -0400)]
(try_pre_increment_1): Don't try to create a pre-increment expression
if the register dies in the succeeding insn.
From-SVN: r7308