Commit Graph

11769 Commits

Author SHA1 Message Date
Richard Kenner
bdf3e90e95 (LIB_SPEC): Deleted.
(BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Define.

From-SVN: r11810
1996-04-16 09:20:17 -04:00
Richard Kenner
9cb30fc289 Initial revision
From-SVN: r11809
1996-04-16 09:19:18 -04:00
Richard Kenner
b1b1678124 (INSTALL_ASSERT_H): New definition.
(CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): New definitions.

From-SVN: r11808
1996-04-16 09:18:56 -04:00
Richard Kenner
eb7dd33dfe (TRAMPOLINE_ALIGNMENT): Specify alignment in bits, not bytes.
From-SVN: r11807
1996-04-16 09:06:08 -04:00
Richard Kenner
30f5e9f517 (final_scan_insn): Allow removal of redundant test and compare
instructions that use clobbers.

From-SVN: r11806
1996-04-16 08:53:07 -04:00
Richard Kenner
b089937ac0 (expand_builtin, case BUILT_IN_LONGJMP): Make a decl for __dummy, so
we can call make_function_rtl on it.

From-SVN: r11805
1996-04-16 08:37:28 -04:00
Richard Kenner
b35cd3c16c (expand_assignment): Don't pre-evaluate RHS if a CALL_EXPR with a
variable-size return.

From-SVN: r11804
1996-04-16 06:21:39 -04:00
Jim Wilson
21b2a157ce (do_store_flag): Before calling exact_log2, remove any
sign extension bits.

From-SVN: r11803
1996-04-15 16:06:00 -07:00
Ian Lance Taylor
34f1bdc720 Fix undefined VOIDFUNCPTR in VxWorks 5.2 <time.h>
From-SVN: r11802
1996-04-15 21:39:45 +00:00
Jim Wilson
51f0c3b71d (emit_reload_insns): Call reload_reg_reaches_end_p for every reg of multi-reg spill register.
(emit_reload_insns): Call reload_reg_reaches_end_p for
every reg of multi-reg spill register.  Invalidate old info for multi
reg spill registers when only part survives to the end.

From-SVN: r11801
1996-04-15 12:10:36 -07:00
Mike Stump
9cca6a99da function.c (preserve_temp_slots): Only preserve temporaries that happen to be at the current level.
* function.c (preserve_temp_slots): Only preserve temporaries that
	happen to be at the current level.
Fixes p7325.C.

From-SVN: r11800
1996-04-15 18:46:12 +00:00
Doug Evans
1d2a8985b0 rtl.h: #include "gansidecl.h".
* rtl.h: #include "gansidecl.h".
	(PROTO,VPROTO,PVPROTO,VPROTO,VA_START,STDIO_PROTO): Delete.
	(NULL,GENERIC_PTR,NULL_PTR): Delete.
	* tree.h: Likewise.

From-SVN: r11799
1996-04-15 18:07:51 +00:00
Doug Evans
61b39f423a rtl.h: #include "gansidecl.h".
* rtl.h: #include "gansidecl.h".
	(PROTO,VPROTO,PVPROTO,VPROTO,VA_START,STDIO_PROTO): Delete.
	(NULL,GENERIC_PTR,NULL_PTR): Delete.

From-SVN: r11798
1996-04-15 18:06:42 +00:00
Doug Evans
5459836a8c recog.h: #include "gansidecl.h".
* recog.h: #include "gansidecl.h".
	(PROTO,const): Delete.

From-SVN: r11797
1996-04-15 18:05:24 +00:00
Doug Evans
70c75d9f7b machmode.h: #include "gansidecl.h".
* machmode.h: #include "gansidecl.h".
	(PROTO): Delete.
	(HAVE_MACHINE_MODES): Move definition to standard place.

From-SVN: r11796
1996-04-15 18:04:42 +00:00
Doug Evans
dbb66ea3b4 * genattr.c (main): Delete printing of "#define PROTO".
From-SVN: r11795
1996-04-15 18:01:14 +00:00
Doug Evans
6aa62cff4e gcc.c: #include "gansidecl.h".
* gcc.c: #include "gansidecl.h".
	(PROTO,VPROTO,PVPROTO,VPROTO,VA_START,NULL): Delete.
	(GENERIC_PTR,NULL_PTR,P_tmpdir): Delete.
	(choose_temp_base): Declare as extern, delete internal copy.
	(concat): Rewrite to take a variable number of arguments.
	(choose_temp_base_try,concat[346]): Delete.
	(translate_options,set_spec,process_command,do_spec_1,
	is_directory,main): Always use concat, not concat[346].  Pass
	NULL_PTR as trailing arg to concat.

From-SVN: r11794
1996-04-15 17:59:56 +00:00
Doug Evans
0afdf56596 fix-header.c: #include "gansidecl.h".
* fix-header.c: #include "gansidecl.h".
	(const): Delete.

From-SVN: r11793
1996-04-15 17:58:45 +00:00
Doug Evans
982c6ee237 * expr.h (const): Delete.
From-SVN: r11792
1996-04-15 17:57:27 +00:00
Doug Evans
6938ca9281 demangle.h: #include "gansidecl.h".
* demangle.h: #include "gansidecl.h".
	(PROTO,PTR,const): Delete.

From-SVN: r11791
1996-04-15 17:56:39 +00:00
Doug Evans
239d3342c4 cpphash.c: #include "gansidecl.h".
* cpphash.c: #include "gansidecl.h".
	(NULL,const,volatile): Delete.

From-SVN: r11790
1996-04-15 17:51:25 +00:00
Doug Evans
f79e14e39d collect2.c: #include "gansidecl.h".
* collect2.c: #include "gansidecl.h".
	(const,PROTO): Delete.
	(P_tmpdir): Delete.
	(choose_temp_base): Declare as extern, delete internal copy.
	(main): Update call to choose_temp_base.

From-SVN: r11789
1996-04-15 17:49:08 +00:00
Doug Evans
dae1468825 Makefile.in (xgcc): Depend on and link in choose-temp.o.
* Makefile.in (xgcc): Depend on and link in choose-temp.o.
	(collect2): Likewise.
	(choose-temp.o): Add.

From-SVN: r11788
1996-04-15 17:47:09 +00:00
Doug Evans
ed24b9f265 Initial revision
From-SVN: r11787
1996-04-15 17:43:05 +00:00
Richard Kenner
f47c02fa79 (invalidate_skipped_set): Ignore CLOBBER after calling
note_mem_written, not before.

From-SVN: r11786
1996-04-15 08:49:02 -04:00
Richard Kenner
b757e35281 (notice_update_cc, case ASHIFT{,RT}, LSHIFTRT, ROTATE{,RT}): Don't set
CC_NO_OVERFLOW.

From-SVN: r11785
1996-04-15 08:21:56 -04:00
Richard Kenner
ca366d6857 (TARGET_SWITCHES): Fix typo in "c68000" entry.
From-SVN: r11784
1996-04-15 08:21:33 -04:00
Richard Kenner
935fb2880c (tstdi): Optimized for "d" case.
(movqi): Allow moving "i" into "a".
(zero_extendsidi2): Alternatives merged.
(extendplussidi): Fixed when operands 0 and 1 share a register.
(adddi_sexthishl32): Constraints reordered for better reload.
(adddi3,subdi_sexthishl32,subdi3,negdi2): Likewise.
(ashldi_sexthi): Accept "m" as operand 0.
(ashldi_const32): Alternatives merged.
(ashift patterns): Output "lsl" instead of "asl".
(beq0_di): If condition codes already set, output only branch insn.
(bne0_di,bge0_di,blt0_di): Likewise.

From-SVN: r11783
1996-04-15 08:21:03 -04:00
Richard Kenner
2dedbe1f31 (eadd1): Check for overflow on X plus X.
From-SVN: r11782
1996-04-15 08:06:07 -04:00
Richard Kenner
bde304768e (HAVE_SYSV_PRAGMA): Removed definition.
From-SVN: r11781
1996-04-15 08:02:21 -04:00
Richard Kenner
f31a472fb6 (HAVE_SYSV_PRAGMA): Define.
(SET_ASM_OP): Define.

From-SVN: r11780
1996-04-15 08:01:51 -04:00
Richard Kenner
0dc09c0fe2 (bc_expand_increment): Change declaration to return void.
From-SVN: r11779
1996-04-15 07:52:17 -04:00
Richard Kenner
b55f96db06 (find_dead_or_set_registers): Only kill spill regs after label made
before jump2.

From-SVN: r11778
1996-04-15 07:46:28 -04:00
Richard Kenner
bf8b4985ab (max_label_num_after_reload): New variable.
(rest_of_compilation): Set it.

From-SVN: r11777
1996-04-15 07:46:02 -04:00
Richard Kenner
63eac4d485 (CC): Pass -b $(host), not target.
From-SVN: r11776
1996-04-15 07:28:50 -04:00
Richard Kenner
4d9cfc7b05 (expand_field_assignment): Take SUBREG_WORD into account when have STRICT_LOW_PART.
(expand_field_assignment): Take SUBREG_WORD into account when have
STRICT_LOW_PART.
(make_extraction): Make a STRICT_LOW_PART at any low-order word.

From-SVN: r11775
1996-04-15 05:12:16 -04:00
Jeff Law
cf4403481d flags.h (flag_function_sections): Declare.
* flags.h (flag_function_sections): Declare.
        * toplev.c (flag_function_sections): Define.
        (compile_file): Add warnings when -ffunction-sections is
        used with -g, or profiling.  Disable -ffunction-sections
        when profiling is used.  Add warning when -ffunction-sections
        is used on a target that doesn't support it.
        * varasm.c (named_section): Make a copy of the section name
        in case the original is in temporary storage.
        (function_section): Set DECL_SECTION_NAME for each function
        if flag_function_sections is on and the target supports it.
        * dbxout.c (dbxout_function_end): New function.
        (dbxout_function): Call dbxout_function_end if using extensions
        and flag_function_sections is on.
        * sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Prefix a function
        section's name with ".text%" when -ffunction-sections.

From-SVN: r11774
1996-04-15 01:46:10 -06:00
Richard Kenner
7ca919b759 (try_combine): When substituting in output of I2, ensure dest isn't
clobbered in I2.

From-SVN: r11773
1996-04-14 20:42:14 -04:00
Doug Evans
c2d12c8b86 (main): Delete redundant test for -p used with -fbytecode.
From-SVN: r11772
1996-04-14 23:37:25 +00:00
Richard Kenner
f500253d32 (finish_enum): Don't crash if no type can represent all enumeration values.
From-SVN: r11771
1996-04-14 19:01:38 -04:00
Richard Kenner
4ea62d1a1e (ftruncdf2): Enable for m68060 systems.
From-SVN: r11770
1996-04-14 18:56:28 -04:00
Richard Kenner
3c46fbf6bf (expand_end_case): Move conversion of case_list before
check_for_full_enumeration_handling.

From-SVN: r11769
1996-04-14 18:52:47 -04:00
Richard Kenner
700ad580a6 (range_test): Don't convert hi_cst or lo_cst to unsigned when folding
signed range tests.

From-SVN: r11768
1996-04-14 18:49:18 -04:00
Richard Kenner
84c7be4b21 (real_value_from_int_cst): New arg, TYPE.
Pass mode to REAL_VALUE_FROM_INT.
(build_real_from_int_cst): Properly deal with truncation.

From-SVN: r11767
1996-04-14 08:56:17 -04:00
Richard Kenner
7cb6a121f2 (fold_convert): Add new arg to REAL_VALUE_FROM_INT.
From-SVN: r11766
1996-04-14 08:55:37 -04:00
Richard Kenner
2ebcccf3a3 (simplify_unary_operation): Add new arg to REAL_VALUE_FROM_INT.
From-SVN: r11765
1996-04-14 08:54:55 -04:00
Richard Kenner
7efc32fd16 (ereal_from_{int,uint}): Add new arg, MODE.
From-SVN: r11764
1996-04-14 08:54:19 -04:00
Richard Kenner
48e73d63cc (ereal_from_{int,uint}): New arg, MODE.
From-SVN: r11763
1996-04-14 08:53:43 -04:00
Richard Kenner
2dab894ad8 (combine_instructions): In initial scan of insns, handle a REG_INC note's affect on sign bit copies and nonzero bits.
(combine_instructions): In initial scan of insns, handle a REG_INC
note's affect on sign bit copies and nonzero bits.
(set_nonzero_bits_and_sign_copies): Treat a zero SET arg as a CLOBBER.

From-SVN: r11762
1996-04-14 08:20:54 -04:00
Richard Kenner
f061780b03 (objc_skip_typespec): Don't abort for _C_UNDEF.
From-SVN: r11761
1996-04-14 07:52:23 -04:00