Commit Graph

6288 Commits

Author SHA1 Message Date
Richard Kenner
3c9d8bafe2 (check_init_type_bitfields): Check recursively inside arrays and
records.

From-SVN: r6301
1993-12-24 07:54:26 -05:00
Richard Kenner
6f38f669d0 (decl_attribute): Verify that alignment and format argument numbers are all integer constants.
(decl_attribute): Verify that alignment and format argument numbers are all
integer constants.
Continue on to next attribute if one is in error.

From-SVN: r6300
1993-12-24 07:38:37 -05:00
Richard Kenner
ba09c753fb (attrib): Allow expressions instead of constants.
From-SVN: r6299
1993-12-24 07:37:56 -05:00
Richard Kenner
fe87324067 (simplify_binary_operation): Can fold multi-word operations when first is CONST_INT.
(simplify_binary_operation): Can fold multi-word operations when first is
CONST_INT.
(simplify_binary_operation, case PLUS, MINUS): Don't call plus_constant when
OP0 is VOIDmode.

From-SVN: r6298
1993-12-24 06:53:52 -05:00
Torbjorn Granlund
27f006ebb1 (thread_jumps): Delete redundant loop termination test.
From-SVN: r6297
1993-12-24 11:46:56 +00:00
Torbjorn Granlund
4d61f8c559 (simplify_binary_operation, case *SHIFT*): Reduce arg1 as
defined by SHIFT_COUNT_TRUNCATED.

From-SVN: r6296
1993-12-24 11:46:16 +00:00
Richard Kenner
792089b33e (pop_init_level): Don't abort if have incomplete array type inside
some other type.

From-SVN: r6295
1993-12-24 05:35:46 -05:00
Torbjorn Granlund
2f95ebc26b (iorscc): New recognizer.
2 new recognizers for sub;subb.  1 new recognizer for addi;subb.
(movstrsi): Remove predicates.  Set inline threshold to 8.
(umulsidi3): Change predicates to nonimmediate_operand.
New recognizer for multiply-by-immediate.
(andsi3): Add `!' for register alternative.
(vdepi_ior, vdepi_and): New recognizers.
(vextru rx,1,ry, vextrs rx,1,ry): New recognizers.
(call, call_value): If PIC, emit USE for for
PIC_OFFSET_TABLE_REGNUM.  Use PIC_OFFSET_TABLE_REGNUM rather than 19.

From-SVN: r6294
1993-12-24 03:13:01 +00:00
Torbjorn Granlund
5a1c10de98 (FUNCTION_INCOMING_ARG): Delete definition.
(RTX_COSTS) [PLUS]: Rewrite.
(output_scc_insn): Delete.
(output_floatsisf2): Delete.
(output_floatsidf2): Delete.
(PREDICATE_CODES): Define, but leave within #if 0 for now.
(CONDITIONAL_REGISTER_USAGE): Never make
PIC_OFFSET_TABLE_REGNUM fixed.
(INITIALIZE_PIC): Delete.

From-SVN: r6293
1993-12-24 03:11:57 +00:00
Torbjorn Granlund
23f6f34fca (Several places): Declare values from INTVAL(x) as HOST_WIDE_INT.
(uint32_operand): New function.
(output_block_move): Change unroll threshold from 64 to 32.
(compute_movstrsi_length): Corresponding change.
(print_operand): Don't call debug_rtx, just abort.
(initialize_pic): Delete.
(finalize_pic): Use PIC_OFFSET_TABLE_REGNUM rather than 19.

From-SVN: r6292
1993-12-24 03:10:48 +00:00
Jim Wilson
2d19a71c10 (optimize_reg_copy_1): After decreasing sregno's
reg_live_length, correct it if it is now obviously too small.

From-SVN: r6291
1993-12-23 17:35:17 -08:00
Jim Wilson
b418c26e7f (check_dbra_loop): Don't reverse loop if there is a
single memory store to an invariant address.

From-SVN: r6290
1993-12-23 17:33:02 -08:00
Jim Wilson
fb99c21cfa (translate_options): Skip arguments of -B, -b, -V, -x,
and -Xlinker options.

From-SVN: r6289
1993-12-23 16:26:16 -08:00
Jim Wilson
a6642da8c0 backport: host_mips, mips, MIPSE[LB], R[34]000, SYSTYPE_*.
Merge in changes from fixinc.mips.  Fix identifiers
host_mips, mips, MIPSE[LB], R[34]000, SYSTYPE_*.  Fix size_t uses
in stddef.h, memory.h, unistd.h.  Fix /**/ in bsd43/bsd43_.h.

From-SVN: r6288
1993-12-23 15:50:50 -08:00
Richard Kenner
c0a085741f (expand_mult): Preserve useful sub-expressions when
expanding a synthesized mult.

From-SVN: r6287
1993-12-23 18:27:51 -05:00
Richard Kenner
cfc327a271 (libgcc.a): Allow chmod of tmpcopy directory to fail since it can be
empty.

From-SVN: r6286
1993-12-23 18:12:32 -05:00
Richard Kenner
c1a9a99cd0 (default_compilers, gnat1): Don't write -gnatb.
From-SVN: r6285
1993-12-23 17:49:04 -05:00
Richard Kenner
df8a401ad5 (T_ST): Fix typo in last change.
From-SVN: r6284
1993-12-23 17:19:33 -05:00
Richard Kenner
ea87523e22 (expand_expr, case MINUS_EXPR): When expanding an initializer, use
plus_constant as appropriate.

From-SVN: r6283
1993-12-23 17:14:26 -05:00
Richard Kenner
5d49bd0cf2 (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long, not .double.
From-SVN: r6282
1993-12-23 09:03:23 -05:00
Richard Kenner
0dbb682da4 (ENQUIRE_CFLAGS): Omit -DNO_STDDEF.
(USE_ALLOCA): Allow ${ALLOCA} to begin with a dash.
(OBJC, OBJECTIVE-C): Depend on objc-runtime.
(objc-headers): Make include directory if missing.

From-SVN: r6281
1993-12-23 08:39:56 -05:00
Richard Kenner
b3a2ef9465 (main): When searching compiler directories, look for ld_suffix, not
full_ld_suffix.

From-SVN: r6280
1993-12-23 08:17:07 -05:00
Richard Kenner
de9253a04d Refine last change; just add -I.
From-SVN: r6279
1993-12-23 08:11:50 -05:00
Richard Kenner
1c4eddf19b (TARGET_DEFAULT): Update to use new values.
From-SVN: r6278
1993-12-23 07:33:56 -05:00
Richard Kenner
1a161f08c8 (GCC_CFLAGS): Add -B and -I options.
From-SVN: r6277
1993-12-23 07:30:10 -05:00
Richard Kenner
a4e262bcec (delete_reg_equiv): Don't reference elements of REG_{NEXT,PREV}_EQV
that are not defined.

From-SVN: r6276
1993-12-23 06:57:20 -05:00
Jim Wilson
4e6ee2672e (dbxout_parms): For parameter passed by invisible
reference, use DECL_INCOMING_RTL if DECL_RTL is a pseudo-reg address.

From-SVN: r6275
1993-12-22 18:06:15 -08:00
Jim Wilson
76767c30d9 (DBX_FINISH_SYMBOL): Get variable name from DECL_RTL
instead of from DECL_ASSEMBLER_NAME.

From-SVN: r6274
1993-12-22 17:35:24 -08:00
Richard Kenner
b16bd3ad93 Fix typo in comment.
From-SVN: r6273
1993-12-22 14:43:24 -05:00
Jim Wilson
489e2090a4 (priority): Handle INSN_DELETED_P insns, in addition to
insns which were deleted by being turned into notes.

From-SVN: r6272
1993-12-22 11:41:47 -08:00
Jim Wilson
5b22bee861 (expand_expr, NEGATE_EXPR case): Use subtarget in
recursive call, not target.

From-SVN: r6271
1993-12-22 11:35:27 -08:00
Jim Wilson
66a9d9f8d5 (required_unistd_h): Delete getgroups from list.
From-SVN: r6270
1993-12-22 11:31:24 -08:00
Jim Wilson
af86171da7 (missing_extern_C_count): Ifdef out.
(write_lbrac, recognized_function, read_scan_file, write_rbrac):
Likewise.

From-SVN: r6269
1993-12-22 11:29:00 -08:00
Jim Wilson
3c0e5268f9 (main): Cast alloca result to char * to avoid warning.
From-SVN: r6268
1993-12-22 11:25:04 -08:00
Jim Wilson
75540fea2d (find_splittable_givs): For rewritting illegal init
insn, use force_operand instead of emit_iv_add_mult.

From-SVN: r6267
1993-12-22 11:21:01 -08:00
Richard Kenner
1810c3fa48 (chainon): Detect more circularities.
From-SVN: r6266
1993-12-22 14:18:06 -05:00
Richard Kenner
b60e974d79 (main): Move declarations of SIZE and TOTAL to where they won't cause "unused" warnings when NO_MEM is defined.
(main):  Move declarations of SIZE and TOTAL to where they won't cause
"unused" warnings when NO_MEM is defined.
(promotions):  Explicitly declare return type (to avoid warnings).
Always return a value.

From-SVN: r6265
1993-12-22 13:44:10 -05:00
Richard Kenner
53117a2f4d (compiler_version): New variable.
(spec_version): Initialize from DEFAULT_TARGET_VERSION.
(main): Distinguish COMPILER_VERSION from TARGET_VERSION.
(process_command): Use COMPILER_VERSION for %v.
Guard against a COMPILER_VERSION that lacks a minor.

From-SVN: r6264
1993-12-22 13:39:29 -05:00
Richard Kenner
964ceda1db (gcc.o): Define DEFAULT_TARGET_VERSION.
From-SVN: r6263
1993-12-22 13:38:50 -05:00
Richard Kenner
4da617d882 (strip_off_ending): Strip off ".cpp" extension.
From-SVN: r6262
1993-12-22 07:47:03 -05:00
Richard Kenner
a0c2b8e969 (main): Strip off ".cpp" extension.
From-SVN: r6261
1993-12-22 07:45:11 -05:00
Richard Kenner
cc70323d03 (default_compilers): Treat ".cpp" as C++.
From-SVN: r6260
1993-12-22 07:42:29 -05:00
Richard Kenner
78ea9cda0f (install-headers, install-headers-tar): Correctly handle directories
when $(libsubdir) is a relative path.

From-SVN: r6259
1993-12-22 07:26:11 -05:00
Richard Kenner
af3c5588ab (T_ST): New macro.
(scan_char_table): With s, c and [, allow `a' flag.
(print_char_table): Accept Z and m codes.
(check_format_info): Handle the `a' flag.

From-SVN: r6258
1993-12-22 07:11:59 -05:00
Richard Kenner
3b0ad9f9c4 (rpc/auth.h, rpc/xdr.h): Declare structures before using them in prototypes, for Irix 4.0.5.
(rpc/auth.h, rpc/xdr.h): Declare structures before using them in
prototypes, for Irix 4.0.5.
(rpc/rpc.h): Avoid a nested comment on Ultrix 4.3.

From-SVN: r6257
1993-12-21 21:09:32 -05:00
Richard Kenner
aa90345aad (MD_FILE rule): Depend on $(MD_DEPS). Invoke $(MD_CPP).
From-SVN: r6256
1993-12-21 18:41:11 -05:00
Jim Wilson
87ac38094d (FUNCTION_ARG_PASS_BY_REFERENCE): Also pass Pascal arrays by reference.
From-SVN: r6255
1993-12-21 11:26:59 -08:00
Jim Wilson
38d4236812 (sched_analyze): For CALL_INSN followed by NOTE_INSN_SETJMP note...
(sched_analyze): For CALL_INSN followed by
NOTE_INSN_SETJMP note, make it depend on all registers not just
hard registers, and add a REG_DEAD -1 note.
(unlink_notes): Don't save away NOTE_INSN_SETJMP notes.
(schedule_block): After scheduling CALL_INSN, check for REG_DEAD
-1 note.  If find it, delete it, and output a NOTE_INSN_SETJMP note.

From-SVN: r6254
1993-12-21 10:58:10 -08:00
Jim Wilson
3eb8f14cbc (replace_regs, case REG): Return copies of SUBREGs, to
avoid invalid sharing.

From-SVN: r6253
1993-12-21 10:25:26 -08:00
Jeff Law
77541d4e83 pa.h (ASM_GENERATE_INTERNAL_LABEL): Always use L$ as the prefix for internal labels.
* pa.h (ASM_GENERATE_INTERNAL_LABEL): Always use L$ as the prefix
        for internal labels.
        (ASM_OUTPUT_INTERNAL_LABEL): Likewise.

From-SVN: r6252
1993-12-21 11:06:57 -07:00