Richard Kenner
e3d616e3da
(force_to_mode): Add new parm JUST_SELECT; all callers changed.
...
From-SVN: r6342
1993-12-31 06:27:31 -05:00
Richard Kenner
996c63d336
(fold, case PLUS_EXPR): Add a missing test of flag_fast_math.
...
From-SVN: r6341
1993-12-29 18:04:48 -05:00
Richard Kenner
c407b802da
(simplify_binary_operation, case MULT): Don't convert to ASHIFT if
...
still generating RTL.
From-SVN: r6340
1993-12-29 06:51:45 -05:00
Ian Lance Taylor
bb7c21a564
Do not fix <syndev/ipi_error.h> to avoid problems with SunOS sed
...
From-SVN: r6339
1993-12-28 03:15:25 +00:00
Richard Kenner
2bbc163fd3
(maxsf3, minsf3): Correct numerous errors.
...
From-SVN: r6338
1993-12-27 12:02:09 -05:00
Richard Kenner
1fc3d466bf
(get_condition): Can reverse comparison if -ffast-math.
...
From-SVN: r6337
1993-12-27 08:50:11 -05:00
Richard Kenner
9b2e59adde
(can_reverse_comparison_p): Return 1 if -ffast-math.
...
From-SVN: r6336
1993-12-27 08:49:28 -05:00
Richard Kenner
fab446b8c3
(fold): Simplify more FP ops if -ffast-math.
...
From-SVN: r6335
1993-12-27 08:48:58 -05:00
Richard Kenner
a83afb65d0
(simplify_binary_operation, fold_rtx): Allow some FP simplications with -ffast-math.
...
(simplify_binary_operation, fold_rtx): Allow some FP simplications
with -ffast-math.
(simplify_relational_operation): FP comparisons can be reversed
if -ffast-math is specified.
From-SVN: r6334
1993-12-27 08:48:17 -05:00
Richard Kenner
7e2a0d8ef4
(subst, case MINUS): Allow some FP simplifications if -ffast-math.
...
(reversible_comparison_p): FP comparisons reversible with -ffast-math.
From-SVN: r6333
1993-12-27 08:47:14 -05:00
Richard Kenner
60614fddd4
(iordi3): Use ornot for some constant cases.
...
From-SVN: r6332
1993-12-27 06:28:38 -05:00
Richard Kenner
a61edda592
(PREDICATE_CODES): Add ior_operand.
...
From-SVN: r6331
1993-12-27 06:28:14 -05:00
Richard Kenner
8088469de4
(ior_operand): New function.
...
From-SVN: r6330
1993-12-27 06:27:52 -05:00
Richard Kenner
bf500664d7
(do_tablejump): Call emit_cmp_insn with likely-constant as second
...
operand.
From-SVN: r6329
1993-12-26 18:12:37 -05:00
Richard Kenner
5954c8a8b7
(jump_optimize): When deleting an insn after a jump, update
...
reallabelprev since it might point to the deleted insn.
From-SVN: r6328
1993-12-26 08:37:13 -05:00
Richard Kenner
79644f0689
(count_reg_usage): Don't count a register used within a SET that sets it.
...
(delete_dead_from_cse): Pass new parm to count_reg_usage.
From-SVN: r6327
1993-12-26 08:30:32 -05:00
Richard Kenner
c2cc077888
(fold_rtx...
...
(fold_rtx, case PLUS): If we have (plus A B), A is equivalent to a
negative constant, and the negated constant is in register, convert to
(minus A C) where C is the register containing the negated constant.
From-SVN: r6326
1993-12-26 07:55:11 -05:00
Jeff Law
75600ead0c
pa.h (DBX_BLOCKS_FUNCTION_RELATIVE): Define.
...
* pa.h (DBX_BLOCKS_FUNCTION_RELATIVE): Define.
(ASM_OUTPUT_SOURCE_LINE): Likewise.
(DBX_FUNCTION_FIRST): Likewise.
* pa.h (FRAME_POINTER_REGNUM, ARG_POINTER_REGNUM): Change to %r3
for compatability with HP compilers.
* pa.h (READONLY_DATA_SECTION): Re-enable use of $LIT$.
From-SVN: r6325
1993-12-25 21:46:37 -07:00
Richard Kenner
c0b178d09b
(gen_reg_rtx): Only clear part of arrays we aren't going to copy into.
...
From-SVN: r6324
1993-12-25 18:00:14 -05:00
Richard Kenner
3207b172f7
(expand_expr, case CONSTRUCTOR): If have a target, don't build
...
constructor into memory.
From-SVN: r6323
1993-12-25 17:51:12 -05:00
Richard Kenner
307b821c36
(expand_expr...
...
(expand_expr, case ARRAY_REF): Remove uses of *_type_node and simplify
folding a reference to a character in a STRING_CST.
From-SVN: r6322
1993-12-25 13:35:27 -05:00
Richard Kenner
43b603ea3d
Rename R_ACC to R_ACU to not conflict with access.h.
...
From-SVN: r6321
1993-12-25 13:11:53 -05:00
Richard Kenner
d9ee453842
(USG): Delete from here (already in xm.h file).
...
From-SVN: r6320
1993-12-25 13:05:05 -05:00
Richard Kenner
2c4d3019bd
(HAVE_VPRINTF): Define.
...
From-SVN: r6319
1993-12-25 13:04:48 -05:00
Richard Kenner
15a676cca0
(HAVE_VPRINTF): Delete from here.
...
From-SVN: r6318
1993-12-25 13:04:35 -05:00
Richard Kenner
3e5f801865
(print_node, print_node_brief): Say something when
...
TREE_CONSTANT_OVERFLOW is set.
From-SVN: r6317
1993-12-25 12:47:01 -05:00
Richard Kenner
0c847d7db5
(check_dbra_loop): Fix error in previous change.
...
From-SVN: r6316
1993-12-25 12:37:10 -05:00
Richard Kenner
9e69be8c65
(set_nonzero_bits_and_sign_copies, nonzero_bits): Fix errors in
...
SHORT_IMMEDIATES_SIGN_EXTEND code.
From-SVN: r6315
1993-12-25 09:28:45 -05:00
Richard Kenner
14d4a67a32
(FUNCTION_ARG): Pass complex float in float regs.
...
From-SVN: r6314
1993-12-25 09:02:34 -05:00
Richard Kenner
95aa28ae18
(fold...
...
(fold, case EQ_EXPR, NE_EXPR): If COMPLEX_TYPE and at least one arg is
a COMPLEX_EXPR, split into a logical operation on the real and
imaginary parts.
From-SVN: r6313
1993-12-25 08:52:25 -05:00
Richard Kenner
75326e8c5a
(common_type): For COMPLEX_TYPE, return one of the original types if is the desired common type.
...
(common_type): For COMPLEX_TYPE, return one of the original types if is the
desired common type.
(build_binary_op): Use SHORT_COMPARE code even if complex.
From-SVN: r6312
1993-12-25 08:30:49 -05:00
Richard Kenner
c470260b41
(grokdeclarator): Properly validate __complex__ and create the various
...
kinds of complex integer types.
From-SVN: r6311
1993-12-25 07:52:49 -05:00
Richard Kenner
089481a600
(simplify_unary_operations): Check that operations really are
...
double-word before doing them.
From-SVN: r6310
1993-12-25 06:05:04 -05:00
Richard Kenner
3308590619
(simplify_binary_operation): Fix typo in CONST_DOUBLE change.
...
From-SVN: r6309
1993-12-24 21:54:55 -05:00
Richard Kenner
30d69925b6
(simplify_binary_operation, case PLUS, MINUS):
...
Simplify such things as (X >> 1) - X.
From-SVN: r6308
1993-12-24 21:24:39 -05:00
Jim Wilson
6e7f952e96
(read_name_map, read_filename_string, open_include_file):
...
New functions.
(struct file_name_list): New members: name_map, got_name_map.
(main, path_include, do_include, do_once): Set got_name_map.
(do_include): Use open_include_file instead of open. Add new
parameter to lookup_import calls.
(lookup_import): New parameter searchptr. Call open_include_file
instead of open.
From-SVN: r6307
1993-12-24 12:49:47 -08:00
Jim Wilson
2bf29316da
(convert_modes): Can't truncate REG with gen_lowpart if
...
TRULY_NOOP_TRUNCATION doesn't allow it.
From-SVN: r6306
1993-12-24 12:20:44 -08:00
Jeff Law
4433322379
cse.c (cse_insn): Set "cse_jumps_altered" when collapsing a switch statement into an...
...
* cse.c (cse_insn): Set "cse_jumps_altered" when collapsing
a switch statement into an unconditional jump.
* toplev.c (rest_of_compilation): Rerun jump_optimize
before the second CSE pass.
From-SVN: r6305
1993-12-24 12:36:04 -07:00
Richard Kenner
18bd1bd9bb
(output_prolog): Need GP if type ISUBR.
...
From-SVN: r6304
1993-12-24 08:56:20 -05:00
Richard Kenner
454f33b937
(define_attr type): Add new type ISUBR.
...
(divmod): Set to type ISUBR.
From-SVN: r6303
1993-12-24 08:56:03 -05:00
Richard Kenner
03b72c86a8
(push_reload...
...
(push_reload, find_reloads): Reload inside a paradoxical SUBREG of MEM
except don't force a reload unless the inner mode is narrower than
BIGGEST_ALIGNMENT.
From-SVN: r6302
1993-12-24 08:33:15 -05:00
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
Jeff Law
14dc90724e
pa.c (output_function_prologue): Use ASM_GENERATE_INTERNAL_LABEL rather than generating one on its own.
...
* pa.c (output_function_prologue): Use ASM_GENERATE_INTERNAL_LABEL
rather than generating one on its own.
From-SVN: r6251
1993-12-21 11:06:48 -07:00
Richard Kenner
dea273dfa1
(struct initializer_stack): New field ELEMENTS.
...
(start_init, finish_init): Save and restore constructor_elements.
From-SVN: r6250
1993-12-20 19:22:51 -05:00
Richard Kenner
674d5d8bef
(gen_lowpart_common): Return a new hard reg even if not valid in MODE
...
if the input REG is not valid in its mode.
From-SVN: r6249
1993-12-20 19:16:01 -05:00
Richard Kenner
405c549531
(divsi3): Correct logic for when we call force_reg.
...
(modsi3): Ensure operands[2] is a CONST_INT; include REG in predicate.
From-SVN: r6248
1993-12-20 19:09:40 -05:00
Jeff Law
3bf35ccb68
pa.c (compute_frame_size): Remove implicit assumption that %r4 is the frame pointer.
...
* pa.c (compute_frame_size): Remove implicit assumption that
%r4 is the frame pointer.
From-SVN: r6247
1993-12-16 16:24:35 -07:00
Jeff Law
ba0bfdacea
pa.c (output_function_prologue): Reverse last change.
...
* pa.c (output_function_prologue): Reverse last change. Output
both the function label and the .PROC here.
* pa.h (ASM_DECLARE_FUNCTION_NAME): Do not output the function
label or the .PROC here.
From-SVN: r6246
1993-12-16 14:14:18 -07:00
Ian Lance Taylor
9deb7b7ca4
Do not preserve _HIDDEN_VA_LIST in <stdio.h>
...
From-SVN: r6245
1993-12-16 16:36:22 +00:00
Mike Stump
2c0d84d608
cp-decl.c (flag_conserve_space): New language specific flag to tell the compiler to use .common when possible.
...
* cp-decl.c (flag_conserve_space): New language specific flag to
tell the compiler to use .common when possible. Reduces the size of
.o files.
* cp-decl.c (duplicate_decls): Copy DECL_COMMON from the olddecl.
* cp-decl.c (start_decl): Set DECL_COMMON appropriately.
* cp-decl.c (finish_decl): Use flag_conserve_space, instead of
flag_no_common.
* cp-decl2.c (flag_conserve_space, lang_f_options): New flag.
* toplev.c (lang_options): New -fconserve-space flag.
* tree.h (DECL_COMMON): New flag.
* tree.h (tree_decl): New common_flag.
* varasm.c (assemble_variable): Use DECL_COMMON to help determine if
an object can be put in .common.
* c-decl.c (start_decl): Set DECL_COMMON to 1..
From-SVN: r6244
1993-12-16 00:15:21 +00:00
Richard Kenner
3d5e2367e9
(cccp.o, stmt-proto): Use $(includedir).
...
From-SVN: r6243
1993-12-15 19:04:46 -05:00
Richard Kenner
177ad45ae0
(profile_function): Set ALIGN properly.
...
From-SVN: r6242
1993-12-15 18:48:15 -05:00
Richard Kenner
49b08aba12
(copy_node): Handle length of INTEGER_CST like make_node.
...
From-SVN: r6241
1993-12-15 18:43:52 -05:00
Richard Kenner
c11ffdbd02
Remove declarations of setjmp and longjmp.
...
From-SVN: r6240
1993-12-15 18:37:17 -05:00
Richard Kenner
b71c7f8acb
(missing_braces_mentioned): Renamed from `partial_bracket_mentioned'.
...
(start_init): Clear `missing_braces_mentioned'.
(warning_init): New function.
(push_init_level): Optionally warn about missing braces.
When warning about braces around scalars, identify which scalars.
From-SVN: r6239
1993-12-15 18:30:48 -05:00
Richard Kenner
a50c47ec17
(LIB_SPEC): Use shared libc when not profiling, not debugging, and no
...
"-static".
From-SVN: r6238
1993-12-15 18:21:23 -05:00
Richard Kenner
1f9becfcbe
(expand_builtin): Allow __builtin_next_arg to be used in varargs
...
functions.
From-SVN: r6237
1993-12-15 18:14:13 -05:00
Richard Kenner
ede5754956
(gnucompare, gnucompare3): New targets.
...
From-SVN: r6236
1993-12-15 18:09:47 -05:00
Jeff Law
9473a84ff3
pa.c (output_call): Put temporary label after the RP adjustment.
...
* pa.c (output_call): Put temporary label after the
RP adjustment. "- 8" adjustment is no longer necessary.
From-SVN: r6235
1993-12-14 16:00:41 -07:00
Jeff Law
94c17ca5e6
* x-pa (CC): Do not use absolute path to gcc.
...
From-SVN: r6234
1993-12-14 15:59:35 -07:00
Jeff Law
081c2fafcf
pa.c (output_function_prologue): Do not output the .PROC directive here.
...
* pa.c (output_function_prologue): Do not output the .PROC directive
here.
* pa.h (ASM_DECLARE_FUNCTION_NAME): Emit the .PROC immediately
after the function's label.
From-SVN: r6233
1993-12-14 14:42:44 -07:00
Jeff Law
a7c1e13f93
pa.h (ASM_FILE_START): Emit a .file directive at the beginning of the output file if...
...
* pa.h (ASM_FILE_START): Emit a .file directive at the beginning
of the output file if debug symbols are being generated.
From-SVN: r6232
1993-12-14 14:02:09 -07:00
Jeff Law
a27d3fef51
* pa.h (MAX_OFILE_ALIGNMENT): Define appropriately for the PA.
...
From-SVN: r6231
1993-12-13 22:39:11 -07:00
Jeff Law
cf4627151e
pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_JUMP_IN_DELAY.
...
* pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_JUMP_IN_DELAY.
* pa-gux7.h (TARGET_DEFAULT): Likewise.
* pa-utahmach.h (TARGET_DEFAULT): Likewise.
* pa.h (TARGET_DEFAULT): Likewise.
* pa1-ghpux.h (TARGET_DEFAULT): Likewise.
* pa1-utahmach.h (TARGET_DEFAULT): Likewise.
* pa1.h (TARGET_DEFAULT): Likewise.
From-SVN: r6230
1993-12-13 22:22:57 -07:00
Jeff Law
5eaf490bc3
pa.md (lo_sum of a function address): Use short form as we have no intention of supporting MPE external calls.
...
* pa.md (lo_sum of a function address): Use short form as we have
no intention of supporting MPE external calls.
From-SVN: r6229
1993-12-13 22:20:15 -07:00
Jeff Law
b0ce651a54
pa.c (secondary_reload_class): Function addresses no longer need secondary reloads.
...
* pa.c (secondary_reload_class): Function addresses no longer
need secondary reloads.
(emit_move_sequence): Special handling of function addresses is
no longer needed.
From-SVN: r6228
1993-12-13 22:20:15 -07:00
Jeff Law
59036ece8f
* pa.h (LEGITIMATE_CONSTANT_P): Remove hack for function addresses.
...
From-SVN: r6227
1993-12-13 22:20:15 -07:00
Richard Kenner
7bef86801b
(subst, case MINUS): Canonicalize (minus A (plus A B)).
...
From-SVN: r6226
1993-12-13 20:58:37 -05:00
Richard Kenner
9e269f7292
(ASM_OUTPUT_ASCII): Wrap in `do { ... } while (0)'.
...
From-SVN: r6225
1993-12-13 19:09:31 -05:00
Richard Kenner
389bb5081b
(main): Combine tests of single-character suffixes.
...
(deps_output): Different second parameter: SPACER determines meaning of first
argument (target, dependency, literal text).
Wrap output correctly.
From-SVN: r6224
1993-12-12 08:19:22 -05:00
Richard Kenner
af49386505
(type_hash_canon): Clean up obstack usage a bit.
...
From-SVN: r6223
1993-12-12 08:04:10 -05:00
Richard Kenner
b0e0a0f9a8
(indirect_operand): Verify mode of OP is correct.
...
From-SVN: r6222
1993-12-12 08:01:09 -05:00
Richard Kenner
cc79451b14
(expand_call, store_one_arg): Properly push and pop temporary level
...
around expression evaluations.
From-SVN: r6221
1993-12-12 07:58:51 -05:00
Richard Kenner
bf104286fd
Delete EXTRA_OBJS and halfpic.o rule.
...
From-SVN: r6220
1993-12-12 07:53:50 -05:00
Richard Kenner
22c24a38fe
Don't require bash.
...
From-SVN: r6219
1993-12-12 07:53:26 -05:00
Richard Kenner
8c8fbd20b5
Delete EXTRA_PARTS.
...
From-SVN: r6218
1993-12-12 07:52:57 -05:00
Richard Kenner
72271569cd
Delete null LIB2FUNCS_EXTRA.
...
From-SVN: r6217
1993-12-12 07:49:25 -05:00
Richard Kenner
579d0ecff5
(halfpic.o): New rule; copied from t-osfrose.
...
From-SVN: r6216
1993-12-12 07:48:37 -05:00
Richard Kenner
83eb3b0ddb
(thread_prologue_and_epilogue_insns): When constructing USE chain, set both NEXT_INSN and PREV_INSN links.
...
(thread_prologue_and_epilogue_insns): When constructing USE chain, set
both NEXT_INSN and PREV_INSN links. Also, preserve order of USE insns
in chain.
From-SVN: r6215
1993-12-12 06:18:21 -05:00
Richard Kenner
2663b06b38
Initial revision
...
From-SVN: r6214
1993-12-12 06:13:42 -05:00
Richard Kenner
f21bde40df
Update to relect recent changes elsewhere.
...
From-SVN: r6213
1993-12-12 06:13:21 -05:00
Richard Kenner
39b52ba283
(modsi3): Correct error in last change.
...
From-SVN: r6212
1993-12-11 18:47:38 -05:00
Richard Kenner
3eda169fe0
(expand_inline_function): Remove last change.
...
From-SVN: r6211
1993-12-11 18:41:43 -05:00
Richard Kenner
f29a425b91
(output_type): The "base type" of a SET_TYPE is its DOMAIN_TYPE, not
...
its TREE_TYPE.
From-SVN: r6210
1993-12-11 18:26:40 -05:00
Richard Kenner
159e1f8430
(dbxout_type): The "base type" of a SET_TYPE is its DOMAIN_TYPE, not
...
its TREE_TYPE.
From-SVN: r6209
1993-12-11 18:09:38 -05:00
Richard Kenner
9b1674a8ed
(INPUT_STACK_MAX): Double size.
...
From-SVN: r6208
1993-12-11 08:50:06 -05:00
Richard Kenner
f231e307b4
(initialize_for_inline): Handle CONCAT when setting up parmdecl_map.
...
(expand_inline_function): Make test for overlap of TARGET and args_vals[i]
more conservative.
From-SVN: r6207
1993-12-11 08:33:22 -05:00
Richard Kenner
7f34054628
Add a few missing new nmemonics.
...
From-SVN: r6206
1993-12-11 07:36:44 -05:00
Richard Kenner
8b4a434166
(modsi3): Move test of exact_log2 into extra condition.
...
From-SVN: r6205
1993-12-11 07:05:02 -05:00
Richard Kenner
7df83bcec6
(modsi3): Remove unneeded test.
...
From-SVN: r6204
1993-12-11 07:02:13 -05:00
Richard Kenner
888ae81cc3
(modsi3): Correct predicate on operand 2.
...
From-SVN: r6203
1993-12-11 06:57:42 -05:00
Mike Stump
57f0a224e6
ls -lt tople
...
ls -lt tople
* toplev.c (lang_options): Change -fnodollars-in-identifiers to
-fno-dollars-in-identifiers to match docs.
From-SVN: r6202
1993-12-11 01:00:57 +00:00
Jim Wilson
b408c3fd00
(yylex): When reading malformed floating point constant,
...
avoid printing error more than once, and avoid passing malformed
number to subsequent atof call.
From-SVN: r6201
1993-12-10 12:41:43 -08:00
Richard Kenner
6f2f831199
(easy_fp_constant): Use input_operand to see if each word can be
...
loaded in one insn.
From-SVN: r6200
1993-12-10 07:40:23 -05:00
Richard Kenner
25c341fa21
Change numerous occurrences of TARGET_POWERPC to ! TARGET_POWER and
...
make related changes.
From-SVN: r6199
1993-12-10 07:23:07 -05:00
Richard Kenner
85644414f9
(modsi3): Rework to operate correctly for both POWER and PowerPC.
...
From-SVN: r6198
1993-12-10 06:03:23 -05:00
Jim Wilson
34aaacec0e
(APPLY_RESULT_SIZE): Define.
...
From-SVN: r6197
1993-12-08 15:04:10 -08:00
Jim Wilson
dc67e35c1d
(untyped_call+1, untyped_call+2): Use std not st for fp
...
results.
From-SVN: r6196
1993-12-08 15:03:38 -08:00
Richard Kenner
2f1553a4d5
(mark_used_regs, case CLOBBER): Refine previous change to just look at
...
the address of a MEM inside a CLOBBER.
From-SVN: r6195
1993-12-08 06:17:15 -05:00
Richard Kenner
aae678414b
(fold, case *_{DIV,MOD}_EXPR): When using distributive law, take care
...
when C2 is negative.
From-SVN: r6194
1993-12-08 05:46:16 -05:00
Richard Kenner
a03f67cb3c
(mark_used_regs): Look inside a CLOBBER...
...
(mark_used_regs): Look inside a CLOBBER; it may be the only place regs
are used if it has a stack slot that is from an inlined function.
From-SVN: r6193
1993-12-07 08:45:51 -05:00