Commit Graph

6259 Commits

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