Jim Wilson [Thu, 23 Dec 1993 01:35:24 +0000 (17:35 -0800)]
(DBX_FINISH_SYMBOL): Get variable name from DECL_RTL
instead of from DECL_ASSEMBLER_NAME.
From-SVN: r6274
Richard Kenner [Wed, 22 Dec 1993 19:43:24 +0000 (14:43 -0500)]
Fix typo in comment.
From-SVN: r6273
Jim Wilson [Wed, 22 Dec 1993 19:41:47 +0000 (11:41 -0800)]
(priority): Handle INSN_DELETED_P insns, in addition to
insns which were deleted by being turned into notes.
From-SVN: r6272
Jim Wilson [Wed, 22 Dec 1993 19:35:27 +0000 (11:35 -0800)]
(expand_expr, NEGATE_EXPR case): Use subtarget in
recursive call, not target.
From-SVN: r6271
Jim Wilson [Wed, 22 Dec 1993 19:31:24 +0000 (11:31 -0800)]
(required_unistd_h): Delete getgroups from list.
From-SVN: r6270
Jim Wilson [Wed, 22 Dec 1993 19:29:00 +0000 (11:29 -0800)]
(missing_extern_C_count): Ifdef out.
(write_lbrac, recognized_function, read_scan_file, write_rbrac):
Likewise.
From-SVN: r6269
Jim Wilson [Wed, 22 Dec 1993 19:25:04 +0000 (11:25 -0800)]
(main): Cast alloca result to char * to avoid warning.
From-SVN: r6268
Jim Wilson [Wed, 22 Dec 1993 19:21:01 +0000 (11:21 -0800)]
(find_splittable_givs): For rewritting illegal init
insn, use force_operand instead of emit_iv_add_mult.
From-SVN: r6267
Richard Kenner [Wed, 22 Dec 1993 19:18:06 +0000 (14:18 -0500)]
(chainon): Detect more circularities.
From-SVN: r6266
Richard Kenner [Wed, 22 Dec 1993 18:44:10 +0000 (13:44 -0500)]
(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
Richard Kenner [Wed, 22 Dec 1993 18:39:29 +0000 (13:39 -0500)]
(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
Richard Kenner [Wed, 22 Dec 1993 18:38:50 +0000 (13:38 -0500)]
(gcc.o): Define DEFAULT_TARGET_VERSION.
From-SVN: r6263
Richard Kenner [Wed, 22 Dec 1993 12:47:03 +0000 (07:47 -0500)]
(strip_off_ending): Strip off ".cpp" extension.
From-SVN: r6262
Richard Kenner [Wed, 22 Dec 1993 12:45:11 +0000 (07:45 -0500)]
(main): Strip off ".cpp" extension.
From-SVN: r6261
Richard Kenner [Wed, 22 Dec 1993 12:42:29 +0000 (07:42 -0500)]
(default_compilers): Treat ".cpp" as C++.
From-SVN: r6260
Richard Kenner [Wed, 22 Dec 1993 12:26:11 +0000 (07:26 -0500)]
(install-headers, install-headers-tar): Correctly handle directories
when $(libsubdir) is a relative path.
From-SVN: r6259
Richard Kenner [Wed, 22 Dec 1993 12:11:59 +0000 (07:11 -0500)]
(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
Richard Kenner [Wed, 22 Dec 1993 02:09:32 +0000 (21:09 -0500)]
(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
Richard Kenner [Tue, 21 Dec 1993 23:41:11 +0000 (18:41 -0500)]
(MD_FILE rule): Depend on $(MD_DEPS). Invoke $(MD_CPP).
From-SVN: r6256
Jim Wilson [Tue, 21 Dec 1993 19:26:59 +0000 (11:26 -0800)]
(FUNCTION_ARG_PASS_BY_REFERENCE): Also pass Pascal arrays by reference.
From-SVN: r6255
Jim Wilson [Tue, 21 Dec 1993 18:58:10 +0000 (10:58 -0800)]
(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
Jim Wilson [Tue, 21 Dec 1993 18:25:26 +0000 (10:25 -0800)]
(replace_regs, case REG): Return copies of SUBREGs, to
avoid invalid sharing.
From-SVN: r6253
Jeff Law [Tue, 21 Dec 1993 18:06:57 +0000 (11:06 -0700)]
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
Jeff Law [Tue, 21 Dec 1993 18:06:48 +0000 (11:06 -0700)]
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
Richard Kenner [Tue, 21 Dec 1993 00:22:51 +0000 (19:22 -0500)]
(struct initializer_stack): New field ELEMENTS.
(start_init, finish_init): Save and restore constructor_elements.
From-SVN: r6250
Richard Kenner [Tue, 21 Dec 1993 00:16:01 +0000 (19:16 -0500)]
(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
Richard Kenner [Tue, 21 Dec 1993 00:09:40 +0000 (19:09 -0500)]
(divsi3): Correct logic for when we call force_reg.
(modsi3): Ensure operands[2] is a CONST_INT; include REG in predicate.
From-SVN: r6248
Jeff Law [Thu, 16 Dec 1993 23:24:35 +0000 (16:24 -0700)]
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
Jeff Law [Thu, 16 Dec 1993 21:14:18 +0000 (14:14 -0700)]
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
Ian Lance Taylor [Thu, 16 Dec 1993 16:36:22 +0000 (16:36 +0000)]
Do not preserve _HIDDEN_VA_LIST in <stdio.h>
From-SVN: r6245
Mike Stump [Thu, 16 Dec 1993 00:15:21 +0000 (00:15 +0000)]
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
Richard Kenner [Thu, 16 Dec 1993 00:04:46 +0000 (19:04 -0500)]
(cccp.o, stmt-proto): Use $(includedir).
From-SVN: r6243
Richard Kenner [Wed, 15 Dec 1993 23:48:15 +0000 (18:48 -0500)]
(profile_function): Set ALIGN properly.
From-SVN: r6242
Richard Kenner [Wed, 15 Dec 1993 23:43:52 +0000 (18:43 -0500)]
(copy_node): Handle length of INTEGER_CST like make_node.
From-SVN: r6241
Richard Kenner [Wed, 15 Dec 1993 23:37:17 +0000 (18:37 -0500)]
Remove declarations of setjmp and longjmp.
From-SVN: r6240
Richard Kenner [Wed, 15 Dec 1993 23:30:48 +0000 (18:30 -0500)]
(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
Richard Kenner [Wed, 15 Dec 1993 23:21:23 +0000 (18:21 -0500)]
(LIB_SPEC): Use shared libc when not profiling, not debugging, and no
"-static".
From-SVN: r6238
Richard Kenner [Wed, 15 Dec 1993 23:14:13 +0000 (18:14 -0500)]
(expand_builtin): Allow __builtin_next_arg to be used in varargs
functions.
From-SVN: r6237
Richard Kenner [Wed, 15 Dec 1993 23:09:47 +0000 (18:09 -0500)]
(gnucompare, gnucompare3): New targets.
From-SVN: r6236
Jeff Law [Tue, 14 Dec 1993 23:00:41 +0000 (16:00 -0700)]
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
Jeff Law [Tue, 14 Dec 1993 22:59:35 +0000 (15:59 -0700)]
* x-pa (CC): Do not use absolute path to gcc.
From-SVN: r6234
Jeff Law [Tue, 14 Dec 1993 21:42:44 +0000 (14:42 -0700)]
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
Jeff Law [Tue, 14 Dec 1993 21:02:09 +0000 (14:02 -0700)]
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
Jeff Law [Tue, 14 Dec 1993 05:39:11 +0000 (22:39 -0700)]
* pa.h (MAX_OFILE_ALIGNMENT): Define appropriately for the PA.
From-SVN: r6231
Jeff Law [Tue, 14 Dec 1993 05:22:57 +0000 (22:22 -0700)]
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
Jeff Law [Tue, 14 Dec 1993 05:20:15 +0000 (22:20 -0700)]
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
Jeff Law [Tue, 14 Dec 1993 05:20:15 +0000 (22:20 -0700)]
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
Jeff Law [Tue, 14 Dec 1993 05:20:15 +0000 (22:20 -0700)]
* pa.h (LEGITIMATE_CONSTANT_P): Remove hack for function addresses.
From-SVN: r6227
Richard Kenner [Tue, 14 Dec 1993 01:58:37 +0000 (20:58 -0500)]
(subst, case MINUS): Canonicalize (minus A (plus A B)).
From-SVN: r6226
Richard Kenner [Tue, 14 Dec 1993 00:09:31 +0000 (19:09 -0500)]
(ASM_OUTPUT_ASCII): Wrap in `do { ... } while (0)'.
From-SVN: r6225
Richard Kenner [Sun, 12 Dec 1993 13:19:22 +0000 (08:19 -0500)]
(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
Richard Kenner [Sun, 12 Dec 1993 13:04:10 +0000 (08:04 -0500)]
(type_hash_canon): Clean up obstack usage a bit.
From-SVN: r6223
Richard Kenner [Sun, 12 Dec 1993 13:01:09 +0000 (08:01 -0500)]
(indirect_operand): Verify mode of OP is correct.
From-SVN: r6222
Richard Kenner [Sun, 12 Dec 1993 12:58:51 +0000 (07:58 -0500)]
(expand_call, store_one_arg): Properly push and pop temporary level
around expression evaluations.
From-SVN: r6221
Richard Kenner [Sun, 12 Dec 1993 12:53:50 +0000 (07:53 -0500)]
Delete EXTRA_OBJS and halfpic.o rule.
From-SVN: r6220
Richard Kenner [Sun, 12 Dec 1993 12:53:26 +0000 (07:53 -0500)]
Don't require bash.
From-SVN: r6219
Richard Kenner [Sun, 12 Dec 1993 12:52:57 +0000 (07:52 -0500)]
Delete EXTRA_PARTS.
From-SVN: r6218
Richard Kenner [Sun, 12 Dec 1993 12:49:25 +0000 (07:49 -0500)]
Delete null LIB2FUNCS_EXTRA.
From-SVN: r6217
Richard Kenner [Sun, 12 Dec 1993 12:48:37 +0000 (07:48 -0500)]
(halfpic.o): New rule; copied from t-osfrose.
From-SVN: r6216
Richard Kenner [Sun, 12 Dec 1993 11:18:21 +0000 (06:18 -0500)]
(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
Richard Kenner [Sun, 12 Dec 1993 11:13:42 +0000 (06:13 -0500)]
Initial revision
From-SVN: r6214
Richard Kenner [Sun, 12 Dec 1993 11:13:21 +0000 (06:13 -0500)]
Update to relect recent changes elsewhere.
From-SVN: r6213
Richard Kenner [Sat, 11 Dec 1993 23:47:38 +0000 (18:47 -0500)]
(modsi3): Correct error in last change.
From-SVN: r6212
Richard Kenner [Sat, 11 Dec 1993 23:41:43 +0000 (18:41 -0500)]
(expand_inline_function): Remove last change.
From-SVN: r6211
Richard Kenner [Sat, 11 Dec 1993 23:26:40 +0000 (18:26 -0500)]
(output_type): The "base type" of a SET_TYPE is its DOMAIN_TYPE, not
its TREE_TYPE.
From-SVN: r6210
Richard Kenner [Sat, 11 Dec 1993 23:09:38 +0000 (18:09 -0500)]
(dbxout_type): The "base type" of a SET_TYPE is its DOMAIN_TYPE, not
its TREE_TYPE.
From-SVN: r6209
Richard Kenner [Sat, 11 Dec 1993 13:50:06 +0000 (08:50 -0500)]
(INPUT_STACK_MAX): Double size.
From-SVN: r6208
Richard Kenner [Sat, 11 Dec 1993 13:33:22 +0000 (08:33 -0500)]
(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
Richard Kenner [Sat, 11 Dec 1993 12:36:44 +0000 (07:36 -0500)]
Add a few missing new nmemonics.
From-SVN: r6206
Richard Kenner [Sat, 11 Dec 1993 12:05:02 +0000 (07:05 -0500)]
(modsi3): Move test of exact_log2 into extra condition.
From-SVN: r6205
Richard Kenner [Sat, 11 Dec 1993 12:02:13 +0000 (07:02 -0500)]
(modsi3): Remove unneeded test.
From-SVN: r6204
Richard Kenner [Sat, 11 Dec 1993 11:57:42 +0000 (06:57 -0500)]
(modsi3): Correct predicate on operand 2.
From-SVN: r6203
Mike Stump [Sat, 11 Dec 1993 01:00:57 +0000 (01:00 +0000)]
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
Jim Wilson [Fri, 10 Dec 1993 20:41:43 +0000 (12:41 -0800)]
(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
Richard Kenner [Fri, 10 Dec 1993 12:40:23 +0000 (07:40 -0500)]
(easy_fp_constant): Use input_operand to see if each word can be
loaded in one insn.
From-SVN: r6200
Richard Kenner [Fri, 10 Dec 1993 12:23:07 +0000 (07:23 -0500)]
Change numerous occurrences of TARGET_POWERPC to ! TARGET_POWER and
make related changes.
From-SVN: r6199
Richard Kenner [Fri, 10 Dec 1993 11:03:23 +0000 (06:03 -0500)]
(modsi3): Rework to operate correctly for both POWER and PowerPC.
From-SVN: r6198
Jim Wilson [Wed, 8 Dec 1993 23:04:10 +0000 (15:04 -0800)]
(APPLY_RESULT_SIZE): Define.
From-SVN: r6197
Jim Wilson [Wed, 8 Dec 1993 23:03:38 +0000 (15:03 -0800)]
(untyped_call+1, untyped_call+2): Use std not st for fp
results.
From-SVN: r6196
Richard Kenner [Wed, 8 Dec 1993 11:17:15 +0000 (06:17 -0500)]
(mark_used_regs, case CLOBBER): Refine previous change to just look at
the address of a MEM inside a CLOBBER.
From-SVN: r6195
Richard Kenner [Wed, 8 Dec 1993 10:46:16 +0000 (05:46 -0500)]
(fold, case *_{DIV,MOD}_EXPR): When using distributive law, take care
when C2 is negative.
From-SVN: r6194
Richard Kenner [Tue, 7 Dec 1993 13:45:51 +0000 (08:45 -0500)]
(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
Richard Kenner [Tue, 7 Dec 1993 01:55:51 +0000 (20:55 -0500)]
(move_block_{to,from}_reg): Check HAVE_{load,store}_multiple value;
don't just #idef the symbol.
From-SVN: r6192
Richard Kenner [Mon, 6 Dec 1993 13:01:49 +0000 (08:01 -0500)]
(hppa_legitimize_address): If we can't legitimize, do nothing; don't
call abort.
From-SVN: r6191
Richard Kenner [Mon, 6 Dec 1993 12:40:22 +0000 (07:40 -0500)]
Include ctype.h.
From-SVN: r6190
Richard Kenner [Mon, 6 Dec 1993 12:38:16 +0000 (07:38 -0500)]
(ASM_OUTPUT_ASCII): 8-bit chars should be zero-extended.
From-SVN: r6189
Richard Kenner [Mon, 6 Dec 1993 12:34:53 +0000 (07:34 -0500)]
(output_ascii_pseudo_op): 8-bit chars should be zero-extended.
From-SVN: r6188
Richard Kenner [Mon, 6 Dec 1993 12:32:35 +0000 (07:32 -0500)]
(expand_expr, case PLACEHOLDER_EXPR): Remove top entry from
PLACEHOLDER_LIST when expanding the value in it.
From-SVN: r6187
Doug Evans [Mon, 6 Dec 1993 10:39:58 +0000 (10:39 +0000)]
(start_sequence): Save current sequence_rtl_expr.
From-SVN: r6186
Richard Kenner [Fri, 3 Dec 1993 12:06:46 +0000 (07:06 -0500)]
(c_expand_return): Return if convert_for_assignment returns
error_mark_node.
From-SVN: r6185
Richard Kenner [Fri, 3 Dec 1993 11:48:21 +0000 (06:48 -0500)]
Define and protect against __STDDEF_H__ for Irix 5.1.
From-SVN: r6184
Richard Kenner [Fri, 3 Dec 1993 11:41:47 +0000 (06:41 -0500)]
(stdio.h): Fix typos (missing quote) in previous change.
From-SVN: r6183
Richard Kenner [Fri, 3 Dec 1993 11:35:45 +0000 (06:35 -0500)]
(ashlsi3, ashrsi3, lshrsi3): Use arith_operand instead of shift_operand.
(ashlsi3, ashrsi3, lshrsi3): Use arith_operand instead of
shift_operand. Truncate shift counts to 5 bits.
From-SVN: r6182
Richard Kenner [Fri, 3 Dec 1993 11:34:48 +0000 (06:34 -0500)]
(shift_operand): Delete function.
From-SVN: r6181
Richard Kenner [Thu, 2 Dec 1993 13:10:43 +0000 (08:10 -0500)]
(scan_loop): Correct arguments for register check.
From-SVN: r6180
Richard Kenner [Thu, 2 Dec 1993 12:57:13 +0000 (07:57 -0500)]
(push_topmost_sequence, end_sequence): Update sequence_rtl_expr from
sequence_stack entry.
From-SVN: r6179
Richard Kenner [Thu, 2 Dec 1993 12:22:47 +0000 (07:22 -0500)]
(emit_library_call): Use Pmode, not OUTMODE, when passing in structure
address.
From-SVN: r6178
Richard Kenner [Thu, 2 Dec 1993 12:06:58 +0000 (07:06 -0500)]
Preserve _HIDDEN_VA_LIST when changing VA_LIST to DUMMY_VA_LIST.
Change __va_list to __gnuc_va_list. For AIX 3.2.5.
From-SVN: r6177
Richard Kenner [Thu, 2 Dec 1993 12:00:18 +0000 (07:00 -0500)]
(secondary_reload_class): Kernel regs are in same class as user regs.
From-SVN: r6176
Richard Kenner [Thu, 2 Dec 1993 11:58:25 +0000 (06:58 -0500)]
(movti split): Set CR to 3, not 1 like DImode.
From-SVN: r6175