Commit Graph

6604 Commits

Author SHA1 Message Date
Richard Kenner
75ddf8b0d2 Add prototypes for static functions; delete forward declarations of non-static functions.
Add prototypes for static functions; delete forward declarations of
non-static functions.
(initializer_constant_valid_p): Add missing parameter to recursive call.

From-SVN: r6467
1994-02-02 14:38:36 -05:00
Richard Kenner
9c10d25f5e Re-order declarations for functions in c-typeck.c to agree with order
there; add some missing declarations.

From-SVN: r6466
1994-02-02 14:37:57 -05:00
Richard Kenner
82812e560c (SUBDIR_INCLUDES): Add -I for include directory.
From-SVN: r6465
1994-02-02 14:21:50 -05:00
Richard Kenner
52786026fa (synth_mult): Delay allocation of algorithm structures until they are needed.
(synth_mult): Delay allocation of algorithm structures until they are
needed.  Reorder early-exit tests to avoid comparing value that is not
yet set.

From-SVN: r6464
1994-02-02 13:24:14 -05:00
Richard Kenner
09e3dd7232 (decl_attributes): Allow format attributes on old style
(non-prototype) function declarations.

From-SVN: r6463
1994-02-01 18:56:12 -05:00
Richard Kenner
e737355637 (make_extraction): Don't make an extraction that has the potential of
crossing a boundary.

From-SVN: r6462
1994-02-01 18:27:04 -05:00
Richard Kenner
08d95f9128 Add prototypes for static functions.
(auto_inc_dec_reg_p): New function.
(regclass): Call it to allow a register needing a secondary reload to be used
for inc/dec if it is already valid for it.

From-SVN: r6461
1994-02-01 18:22:21 -05:00
Richard Kenner
2c3dd6b7bd (build_type_variant): Simplify by using build_type_copy.
From-SVN: r6460
1994-02-01 11:41:57 -05:00
Richard Kenner
8e158db406 (rest_of_compilation): `volatile' function warning corrected to read
`noreturn' function warning.

From-SVN: r6459
1994-02-01 11:25:27 -05:00
Richard Kenner
08bf538e50 (c_expand_return): `volatile' function warning corrected to read
`noreturn' function warning.

From-SVN: r6458
1994-02-01 11:23:47 -05:00
Richard Kenner
11433f425c (grokdeclarator): `volatile' function warning corrected to read
`noreturn' function warning.

From-SVN: r6457
1994-02-01 11:21:23 -05:00
Richard Kenner
4aea22caf1 (default_compilers, @ada): Don't duplicate "-gnat" parameters; pass
-quiet unless -Q is specified.

From-SVN: r6456
1994-02-01 08:32:46 -05:00
Richard Kenner
6db77abd9e (minsf3, maxdf3, mindf3): Properly insert constant of zero into
patterns.

From-SVN: r6455
1994-02-01 06:06:13 -05:00
Jim Wilson
bb562bfc33 (i960_function_name_declare): Handle names that start with '*'.
From-SVN: r6454
1994-01-31 17:55:18 -08:00
Jim Wilson
03217a8b98 (sched_analyze_insn): Add use dependencies for registers
mentioned in REG_DEAD notes.

From-SVN: r6453
1994-01-31 16:23:18 -08:00
Jim Wilson
80901ed818 New file.
From-SVN: r6452
1994-01-31 16:16:50 -08:00
Richard Kenner
eb711c86b3 Unify error and message functions:
* toplev.c: Include "gvarargs.h".
(fatal_insn_not_found): Omit superfluous argument to error.
(vmessage, v_message_with_file_and_line): New functions.
(v_message_with_decl, file_and_line_for_asm): Likewise.
(v_error_with_file_and_line, v_error_with_decl): Likewise.
(v_error_for_asm, verror, vfatal): Likewise.
(v_warning_with_file_and_line, v_warning_with_decl): Likewise.
(v_warning_for_asm, vwarning): Likewise.
(error_with_file_and_line, error_with_decl, error, fatal): Now just wrappers
for above functions.
(error_for_asm, warning_with_file_and_line): Likewise.
(warning_with_decl, warning_for_asm, warning): Likewise.

From-SVN: r6451
1994-01-31 19:13:20 -05:00
Jim Wilson
7ecd5f1a30 (priority): Call insn_cost() for anti- and output-
dependencies as well as for true dependencies.

From-SVN: r6450
1994-01-31 16:13:06 -08:00
Jim Wilson
f6516aeee4 (find_best_addr): Limit number of cse_gen_binary calls to
20 per iteration.

From-SVN: r6449
1994-01-31 16:02:12 -08:00
Richard Kenner
239b043b8a (emovo): Use separate variable for loop index.
From-SVN: r6448
1994-01-31 18:43:28 -05:00
Richard Kenner
7a75868d8e (operand_equal_for_comparison_p): Declare correct_width as unsigned.
From-SVN: r6447
1994-01-31 18:40:54 -05:00
Richard Kenner
4925f285c1 (cross-test, enquire, protoize, unprotoize): Specify program name in
-o to force into build directory.

From-SVN: r6446
1994-01-31 18:31:24 -05:00
Richard Kenner
bd7da539d5 (CPP_SPEC): Add -Dsun.
From-SVN: r6445
1994-01-31 18:16:45 -05:00
Jim Wilson
bacacd4dc4 (class_narrowest_mode, byte_mode, word_mode): Add
extern to declaration.

From-SVN: r6444
1994-01-31 14:25:21 -08:00
Jim Wilson
186f92ce97 (local_vars_size): Add extern to declaration.
From-SVN: r6443
1994-01-31 14:24:34 -08:00
Jim Wilson
cb1520bc9f (expand_units): When calculate BLOCKAGE, reverse terms to POS_MINUS_OP.
(expand_units): When calculate BLOCKAGE, reverse
terms to POS_MINUS_OP.  Clarify comment before BLOCKAGE computation.
(write_complex_function): Use EXECUTING_INSN for first switch, and
CANDIDATE_INSN for second switch.

From-SVN: r6442
1994-01-31 12:43:02 -08:00
Jim Wilson
8cfaf7a7bb (TARGET_DEFFAULT): Add -mapp-regs.
From-SVN: r6441
1994-01-31 12:35:27 -08:00
Jim Wilson
34ad7aaf78 (TARGET_APP_REGS): Define.
(TARGET_SWITCHES): Add new options -mapp-regs and -mno-app-regs.
(TARGET_DEFAULT): Add -mapp-regs.
(CONDITIONAL_REGISTER_USAGE): Make %g2, %g3, and %g4 be fixed when
the -mno-app-regs option is used.

From-SVN: r6440
1994-01-31 12:34:58 -08:00
Jim Wilson
10a78a0a2a (TARGET_DEFAULT): Delete.
From-SVN: r6439
1994-01-31 12:34:29 -08:00
Jim Wilson
6cef330c37 (STARTFILE_SPEC): Include values-X[cta].o file in link.
From-SVN: r6438
1994-01-31 12:28:39 -08:00
Jim Wilson
9509444c68 (ASM_OUTPUT_LFE): Output absolute line number not
relative line number.

From-SVN: r6437
1994-01-31 12:19:28 -08:00
Richard Kenner
05ed5d57d9 (find_auto_inc): Check for increment using single_set.
From-SVN: r6436
1994-01-28 19:19:59 -05:00
Richard Kenner
b77dfefc0c (fsel): Remove insns with record bit set.
From-SVN: r6435
1994-01-28 19:11:02 -05:00
Richard Kenner
28c1753a1b (output_prolog): Fix typo in previous change.
From-SVN: r6434
1994-01-27 18:22:20 -05:00
Per Bothner
ca1f6b57bb * c-typeck.c (initializer_constant_valid_p): Make non-static.
From-SVN: r6433
1994-01-26 15:24:12 -08:00
Jim Wilson
5124001030 (attach_deaths_insn): Add REG_DEAD notes to CLOBBER if
it is for a MEM.

From-SVN: r6432
1994-01-26 10:56:51 -08:00
Richard Kenner
2197a88a8c (HASHBITS): Removed.
(HASH, struct set, canon_hash, safe_hash, remove_from_table):
Generate and use unsigned hash values, to avoid potential trouble
with signed shift/overflow.
Also name variables consistently: "hash", not "hash_code".
(lookup, lookup_for_remove, insert, merge_equiv_classes): Likewise.
(invalidate, rehash_using_reg, invalidate_for_call): Likewise.
(find_best_addr, record_jump_cond, cse_insn):  Likewise.

From-SVN: r6431
1994-01-25 08:29:50 -05:00
Jim Wilson
bc8a0e39b7 (store_split_bit_field): Reject gen_lowpart_common
output if it returns the input value.

From-SVN: r6430
1994-01-24 16:33:14 -08:00
Jim Wilson
9033081d38 (store_split_bit_field): For BYTES_BIG_ENDIAN, only
pad on left if value not in memory.

From-SVN: r6429
1994-01-24 16:24:18 -08:00
Jim Wilson
648a09eed9 (copy_loop_body): When delete simplified condjump,
protect the label, so that it doesn't get deleted also.

From-SVN: r6428
1994-01-24 16:19:48 -08:00
Jim Wilson
453dfc7887 (compile_file): If yyparse returns an error, pop all
pending binding levels.

From-SVN: r6427
1994-01-24 15:59:48 -08:00
Doug Evans
ff942a9829 #ifdef out uses of TypedStream for the alpha, not supported yet.
From-SVN: r6426
1994-01-24 23:28:33 +00:00
Jim Wilson
a0a74fda8d (ADDRESS_COST): Define to 1.
From-SVN: r6425
1994-01-24 14:56:27 -08:00
Jim Wilson
cf9188c193 (sparc_address_cost): Delete.
From-SVN: r6424
1994-01-24 14:55:49 -08:00
Jim Wilson
d10b5bca4e (ASM_OUTPUT_NEWLINE): New default for new macro.
(ASM_OUTPUT_ASCII): Use ASM_OUTPUT_NEWLINE.

From-SVN: r6423
1994-01-24 14:52:18 -08:00
Jim Wilson
de74274fd2 (ASM_OUTPUT_NEWLINE): Define new macro.
From-SVN: r6422
1994-01-24 14:51:58 -08:00
Jim Wilson
b277ceaf60 (ASM_OUTPUT_COMMON): Don't output .global. Use SIZE not ROUNDED.
(ASM_OUTPUT_LOCAL): Delete.
(ASM_OUTPUT_ALIGNED_LOCAL): Define.

From-SVN: r6421
1994-01-24 14:40:31 -08:00
Richard Kenner
2d55b7e858 (find_reloads): Properly test for output operand when changing
RELOAD_FOR_OUTPUT_ADDRESS to RELOAD_FOR_INPUT_ADDRESS.

From-SVN: r6420
1994-01-23 20:11:18 -05:00
Richard Kenner
b65c1b5b01 (subst, case SUBREG): Handle paradoxical SUBREG of constant.
(IF_THEN_ELSE): Add missing "else" and check for comparison before
calling reversible_comparison_p.

From-SVN: r6419
1994-01-23 19:40:58 -05:00
Richard Kenner
127e4d19bd (do_jump_for_compare): Initialize JUMP_LABEL for the branch insn
before trying to invert it.

From-SVN: r6418
1994-01-23 18:56:41 -05:00