Commit Graph

7643 Commits

Author SHA1 Message Date
Torbjorn Granlund
325877e177 (expand_increment): If pre-incrementing a promoted
variable, don't adjust OP0 since the result won't be used.

From-SVN: r7656
1994-07-05 23:02:03 +00:00
Richard Kenner
3e073e7297 (expand_increment): If pre-incrementing a promoted variable, don't
adjust OP0 since the result won't be used.

From-SVN: r7655
1994-07-05 18:27:27 -04:00
Richard Kenner
e33477bed7 (duplicate_loop_exit_test): Handle SUBREG in SET_DEST of loop exit
test statements.

From-SVN: r7654
1994-07-05 17:04:32 -04:00
Richard Kenner
5af9117152 (try_combine): If I2DEST was used in I2SRC, it isn't unused just
because there is no SET for I2 anymore.

From-SVN: r7653
1994-07-05 16:59:42 -04:00
Richard Kenner
99d3d26e53 (RS6000_OUTPUT_BASENAME): Always call assembler_name and pass the
actual symbol name.

From-SVN: r7652
1994-07-04 23:01:31 -04:00
Richard Kenner
648fb7cf8a (assemble_name): Call STRIP_NAME_ENCODING.
From-SVN: r7651
1994-07-04 21:54:39 -04:00
Richard Kenner
f54d49248d (canon_hash, exp_equiv_p): Refer to string in SYMBOL_REF with XSTR,
not XEXP.

From-SVN: r7650
1994-07-04 11:14:54 -04:00
Jim Wilson
48199e329d (smuldi3_highpart, smuldi3_highpart_internal,
umuldi3_highpart, umuldi3_highpart_internal): New patterns.

From-SVN: r7649
1994-07-02 19:22:00 -07:00
Jim Wilson
f0c94be0eb (loop_iterations): Only use REG_EQUAL note value if it
is constant.

From-SVN: r7648
1994-07-02 18:14:43 -07:00
Jim Wilson
6859741315 (dbxout_type_methods): Enable debugging info for
template classes.

From-SVN: r7647
1994-07-02 16:16:32 -07:00
Jim Wilson
b8bdbf1625 (yylex): Reject imaginary numbers when pedantic.
From-SVN: r7646
1994-07-02 16:13:19 -07:00
Jim Wilson
1d00bef819 (duplicate_decls): When make void* match char*, set
DECL_IN_SYSTEM_HEADER.

From-SVN: r7645
1994-07-02 16:09:49 -07:00
Jim Wilson
a516ce545b (clean): Delete LIB2FUNCS_EXTRA.
From-SVN: r7644
1994-07-02 16:07:43 -07:00
Jim Wilson
9e2befc27b (PREDICATE_CODES): Add cint8_operand.
From-SVN: r7643
1994-07-02 16:03:33 -07:00
Jim Wilson
a62eb16fe1 (FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER,
BLOCK_PROFILER): Use multiple fputs/fprintf calls instead of ANSI
C concatenated strings.

From-SVN: r7642
1994-07-02 15:57:01 -07:00
Jim Wilson
62a66e0735 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -isystem.
From-SVN: r7641
1994-07-02 15:52:50 -07:00
Torbjorn Granlund
c8dbc8ca7f (expand_divmod): Always return gen_lowpart (mode, ...).
From-SVN: r7640
1994-07-02 13:33:56 +00:00
Jeff Law
18beb3e996 reorg.c (make_return_insns): Make sure redirecting a jump to a RETURN insn does not invalidate the delay...
* reorg.c (make_return_insns): Make sure redirecting a jump to
	a RETURN insn does not invalidate the delay slots of the jump.

From-SVN: r7639
1994-07-01 17:29:06 -06:00
Richard Kenner
8743ede9fb (jump_optimize): Don't convert if (foo) x++ into an add of an scc
unless X has no side effects and can't trap.

From-SVN: r7638
1994-07-01 19:25:58 -04:00
Richard Kenner
a78bdb8ef8 (initelt): The equal sign is optional when positioning to a single
element of an array.

From-SVN: r7637
1994-07-01 19:09:49 -04:00
Richard Kenner
20e5a99102 Update last change.
From-SVN: r7636
1994-07-01 17:41:55 -04:00
Richard Kenner
81f415f0b0 (push_init_level): If not at "unfilled" position, set
constructor_incremental to 0.

From-SVN: r7635
1994-07-01 17:33:07 -04:00
Richard Earnshaw
ac1e676a1a (arm umul_ppm): Fix typos in last change.
(arm umul_ppm): Fix typos in last change.  Mark hard-coded
registers with "%|".

From-SVN: r7634
1994-07-01 20:32:09 +00:00
Jason Merrill
2b6c54d61d (compile_file): Pass through static consts and inlines
multiple times in case they reference each other.

From-SVN: r7633
1994-07-01 19:12:03 +00:00
Richard Kenner
febd204ef6 Update copyright notice.
From-SVN: r7632
1994-07-01 13:54:04 -04:00
Richard Kenner
cb95a57976 If GNUC, include alloca.h, else declare alloca.
From-SVN: r7631
1994-07-01 13:53:35 -04:00
Richard Kenner
16454bf22c (FUNCTION_EXTRA_PROLOGUE): New macro.
From-SVN: r7630
1994-07-01 13:49:42 -04:00
Torbjorn Granlund
f71c71f188 Test for _AM29K and _IBMR2, not ___AM29K__ and ___IBMR2__.
(arm umul_ppmm): New definition.
(clipper umul_ppmm, smul_ppmm, __umulsidi3): New definitions.
(hppa count_leading_zeros): New definition.
(i960 umul_ppmm, __umulsidi3): New definitions.
(mc68000 umul_ppmm): Use %. before size suffixes.
(mc88110 umul_ppmm, udiv_qrnnd): Rewrite.
(mc88000): Get UMUL_TIME and UDIV_TIME right.
(mips): Get UMUL_TIME right.
(ns32000 umul_ppmm): New definition.
(ns32000 udiv_qrnnd): Rename from bogus div_qrnnd, rewrite.
(powerpc umul_ppmm, smul_ppmm): New definitions.
(_IBMR2/powerpc add_ssaaaa, sub_ddmmss): Improve.
(pyr umul_ppmm): Fix typo.
(sparc add_ssaaaa, sub_ddmmss): Match constant 0 for all inputs.
(vax sdiv_qrnnd): New definition.

From-SVN: r7629
1994-07-01 12:52:38 +00:00
Torbjorn Granlund
ab0b65811b (expand_divmod): Put OP0 in a register when computing
remainder, or when OP1 is constant.

From-SVN: r7628
1994-07-01 11:40:45 +00:00
Richard Kenner
e9c1141151 (expand_divmod): Don't set REG_NOTES unless we generated a quotient.
From-SVN: r7627
1994-07-01 06:45:56 -04:00
Richard Kenner
353646926a (do_spec_1, case 'P'): Don't add underscores to macros starting with
'_[A-Z]'.

From-SVN: r7626
1994-06-30 18:21:18 -04:00
Richard Kenner
b812f4018c (umulsi3_highpart, smulsi3_highpart): Fix constraint for operand 0 in
define_insn.

From-SVN: r7625
1994-06-30 18:15:45 -04:00
Ian Lance Taylor
bc02666840 Wrap <time.h> and <sys/time.h> to avoid multiple inclusion errors.
From-SVN: r7624
1994-06-30 20:08:45 +00:00
Kresten Krab Thorup
42cfe4cf3e incremented objc_version iff using gnu runtime.
From-SVN: r7623
1994-06-30 16:22:23 +00:00
Kresten Krab Thorup
a39d31bc0c This patch makes selectors in the Objective-C language be pointers to a struct { void *sel_id...
This patch makes selectors in the Objective-C language be pointers
        to a struct { void *sel_id, char *sel_types }, where the sel_types
        element is the type encoding of the method arguments.

From-SVN: r7622
1994-06-30 16:18:55 +00:00
Kresten Krab Thorup
7a1dd32325 (read:, write:, streamVersion:):
Un-disable for alpha.  (forward::, performv::): Declare and fix to
        return retval_t. .

From-SVN: r7621
1994-06-30 16:18:55 +00:00
Kresten Krab Thorup
5d0f30f711 objc-act.c (get_proto_encoding, [...]): New fucnctions.
* objc-act.c (get_proto_encoding, build_typed_selector_reference):
        New fucnctions. (UTAG_PROTOCOL): New define.
        (objc_selector_template, flag_typed_selectors): New variables.
        (objc_init): set flag_typed_selectors if -fgnu-runtime.
        (synth_module_prologue): Change declaration of
        _OBJC_SELECTOR_TABLE when flag_typed_selectors is non-null.
        (build_module_descriptor): Make sure the generated constructor
        function is declared public.
        (build_selector): Only cast to SEL when not doing typed selectors.
        (build_selector_translation_table): Rewrite initialization.
        (build_tmp_function_decl): Make up new name when called, since it
        may now be called multiple times.
        (hack_method_prototype): Use init_function_start to reinit args
        machinery.  Also set current_function_decl before calling
        assign_parms.
        (generate_protocols):  Don't generate encoding twice.
        (build_selector_template): New function.
        (build_method_list_template): Generate (void*)0 as first element,
        not (int)0.
        (build_message_expr): move the call to build_selector_reference
        towards the end, where we have determined the function prototype.

From-SVN: r7620
1994-06-30 16:17:36 +00:00
Richard Earnshaw
bd4d60ce71 (INITIAL_ELIMINATION_OFFSET): Check frame_pointer_needed when eliminating
the arg pointer into the stack pointer.

From-SVN: r7619
1994-06-30 11:48:44 +00:00
Richard Kenner
084b6d7b05 (c_build_type_variant): Remove last change; instead, copy TYPE if not
in old obstack.

From-SVN: r7618
1994-06-30 06:24:28 -04:00
Richard Kenner
14e7bf7c23 (end_final,profile_function): Profiling variables are size of pointer,
not int.

From-SVN: r7617
1994-06-30 05:46:10 -04:00
Jason Merrill
8e1a11fc9e (lang_options): Add -W{no-,}non-virtual-dtor.
From-SVN: r7616
1994-06-30 09:41:26 +00:00
Gerald Baumgartner
63718c49fd some changes from gb.
From-SVN: r7615
1994-06-30 05:35:06 +00:00
Doug Evans
3cf2715de9 Restore to rcs version 1.59 (1.60 is an empty file).
From-SVN: r7614
1994-06-30 03:43:24 +00:00
Mike Stump
6bcc742f2a remove cygnus FSF difference
From-SVN: r7613
1994-06-30 02:03:54 +00:00
Mike Stump
214747148c 42nd Cygnus<->FSF merge
From-SVN: r7612
1994-06-30 01:51:05 +00:00
Richard Kenner
725fc5a08d (basic_induction_var, case REG): Allow previous insn to set a SUBREG
of X.

From-SVN: r7611
1994-06-29 19:21:43 -04:00
Richard Kenner
85d159a36a (LIB_SPEC): If -pg, add -lprof2.
(STARTFILE_SPEC, {FUNCTION,BLOCK,FUNCTION_BLOCK}_PROFILER): New macros.

From-SVN: r7610
1994-06-29 18:59:23 -04:00
Richard Kenner
0d45dc27a1 (end_final,profile_function): Profiling variables are size of pointer,
not int.

From-SVN: r7609
1994-06-29 18:57:34 -04:00
Richard Kenner
018dac8bab Add new pattern for double-add when have reg + frame pointer.
Slight changes to all such patterns and add define_splits for them.

From-SVN: r7608
1994-06-29 16:13:22 -04:00
Richard Kenner
52a6920099 (FRAME_POINTER_REGNUM): Now register 63.
(HARD_FRAME_POINTER_REGNUM): New macro.
(CONDITIONAL_REGISTER_USAGE, REG_CLASS_CONTENTS, REGNO_REG_CLASS):
Show register 63 is not an FP register.
(REGHNO_OK_FOR_BASE_P, REG_OK_FOR_BASE_P, REGISTER_NAMES): Likewise.
(ALPHA_ROUND): New macro.
(STARTING_FRAME_OFFSET, ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET):
Modify to reflect save area between outgoing args and local vars.

From-SVN: r7607
1994-06-29 16:12:40 -04:00