Commit Graph

6245 Commits

Author SHA1 Message Date
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