Commit Graph

7125 Commits

Author SHA1 Message Date
Doug Evans 88622e34a3 (compare, compare3, gnucompare, gnucompare3): Add missing "'s.
From-SVN: r7138
1994-04-22 16:22:14 +00:00
Doug Evans 8e10b365d1 (mostlyclean, clean, distclean, extraclean, realclean): Delete.
These are done by the parent makefile now.

From-SVN: r7137
1994-04-22 08:32:54 +00:00
Doug Evans 013a2ee037 Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
        (SUBDIRS): New variable.
        (LEX, LEXFLAGS): Ditto.
        (MAKEOVERRIDES): Ditto.
        (COMPILERS): Remove cc1plus.
        (LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
        New variables.
        (CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
        cp-*.o, g++.o, gplus.info): Deleted.
        (STAGESTUFF): Remove g++, g++-cross, cc1plus.  Add $(LANG_STAGESTUFF).
        (Makefile): Depend on $(LANG_MAKEFILES).
        (####language hooks, ####language fragments): New spots for sed
        to insert things.
        (all.cross, all.build, start.encap, rest.encap, info, dvi,
        install-normal, install-common, install-info, install-man,
        uninstall, distdir, mostlyclean, clean, distclean, extraclean,
        realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
        (mostlyclean, clean, distclean, extraclean, realclean): Clean as
        much of the language subdirectories as we can.
        (install-common):  Remove g++ installation.
        (install-man): Remove g++.1 installation.
        (uninstall): Remove g++ reference.
        (TAGS): Remove cp-parse.? reference.
        (distdir): Ditto.
        (distdir-start, distdir-finish): New targets.
        (diff): Remove cp-parse.? reference.  Add $(LANG_DIFF_EXCLUDES).
        (compare, compare3, gnucompare, gnucompare3): Compare language
        subdirectories too.
        (stage1-start, stage2-start, stage3-start, stage4-start): New targets.
        Ensure stage subdirectory exists before processing language
        dependent part.

From-SVN: r7136
1994-04-22 08:25:33 +00:00
Doug Evans a594307580 Initial revision
From-SVN: r7135
1994-04-22 07:25:56 +00:00
Mike Stump 7177d104dd 33rd Cygnus<->FSF merge
From-SVN: r7134
1994-04-21 23:30:18 +00:00
Richard Kenner 0207efa210 (calls_function_1): A language-specific code must be assumed to call a function and also call alloca.
(calls_function_1): A language-specific code must be assumed to call a
function and also call alloca.  Check for inlined functions that call
alloca.

From-SVN: r7133
1994-04-21 19:08:53 -04:00
Richard Kenner 56f58d3a43 (reload): Clear forbidden_regs earlier.
(new_spill_reg): Mention in error message that asm clauses can also
cause the compiler to run out of spill regs.
(scan_paradoxical_regs): If SMALL_REGISTER_CLASSES, forbid hard regs
used in explicit user variables.

From-SVN: r7132
1994-04-21 18:45:38 -04:00
Richard Kenner c448a43e24 (can_combine_p...
(can_combine_p, combinable_i3pat, try_combine): Allow combination
involving hard regs if the hard reg is a user variable.

From-SVN: r7131
1994-04-21 18:27:25 -04:00
Richard Kenner defb5dab7d Upate comments and copyright notice.
From-SVN: r7130
1994-04-21 18:10:47 -04:00
Richard Kenner ac4cf5d96f (default_compilers): If -E and the file is (e.g.) x.s, don't run the
assembler; similarly for .i, .ii, .adb, etc.

From-SVN: r7129
1994-04-21 17:23:49 -04:00
Jim Wilson f5da225ef4 (mem_aligned_8): Don't assume addresses with
MEM_IN_STRUCT_P set are 8 byte aligned.

From-SVN: r7128
1994-04-21 12:56:11 -07:00
Jim Wilson 9db8b14a27 (CPP_SPEC): Define _LANGUAGE_C for Objective C also.
From-SVN: r7127
1994-04-21 12:54:38 -07:00
Richard Kenner 53596fba5b Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7126
1994-04-21 15:54:06 -04:00
Richard Kenner cfc3d13fe1 Finish installation of last change.
From-SVN: r7125
1994-04-21 15:51:45 -04:00
Jim Wilson 8d09227450 (find_splittable_givs): Share dest_reg for multiple address givs within a single instruction.
(find_splittable_givs): Share dest_reg for multiple
address givs within a single instruction.
(copy_loop_body): Only update psuedo-reg for shared giv once.

From-SVN: r7124
1994-04-21 12:51:01 -07:00
Jim Wilson aee2c3c58e (sparc_type_code): Don't put more than 30 bits of info
into the variable qualifiers.

From-SVN: r7123
1994-04-21 12:49:26 -07:00
Jim Wilson c1da1f33b7 (store_expr): Don't check the TYPE_MODE of an ERROR_MARK.
From-SVN: r7122
1994-04-21 12:46:31 -07:00
Richard Kenner 704f4dca8c Add prototypes for static functions.
(expand_fixups): New function.
(fixup_gotos): Now static.
Don't call bc_fixup_gotos with wrong type (but now probably wrong value).
(bc_*): Now static.
(expand_exit_loop_if_false): Call bc_expand_goto_internal with proper null
pointer.
(expand_decl_init): Call bc_expand_decl_init if writing bytecode.

From-SVN: r7121
1994-04-21 15:33:56 -04:00
Richard Kenner a035305579 Make most functions static and add prototypes for all static functions.
(GET_REAL, PUT_REAL): Cast parameter to proper pointer type in some
cases; use unsigned array.

From-SVN: r7120
1994-04-21 15:33:15 -04:00
Richard Kenner 30d889161d Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7119
1994-04-21 15:32:38 -04:00
Richard Kenner 82c68a7824 Add prototypes for static functions.
From-SVN: r7118
1994-04-21 15:31:56 -04:00
Richard Kenner 81fbaa4179 Add prototypes for static functions.
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.

From-SVN: r7117
1994-04-21 15:31:30 -04:00
Richard Kenner e15679f8d6 Add prototypes for static functions.
(bc_expand_function_end, expand_function_end): Call new expand_fixups
instead of old fixup_gotos.

From-SVN: r7116
1994-04-21 15:30:29 -04:00
Richard Kenner 318e45ce5a Include stdio.h and ctype.h early.
Add prototypes for static functions.

From-SVN: r7115
1994-04-21 15:29:50 -04:00
Richard Kenner 9bac07c3dd (bc_expand_expr): Call expand_decl and expand_decl_init, not the bc_
versions.

From-SVN: r7114
1994-04-21 15:28:59 -04:00
Richard Kenner 560c94a2b9 Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7113
1994-04-21 15:27:24 -04:00
Richard Kenner ca5ddfbcb5 (main): Don't write overly-long line.
From-SVN: r7112
1994-04-21 15:25:36 -04:00
Richard Kenner 439067df80 (STDIO_PROTO): Don't define here.
From-SVN: r7111
1994-04-21 15:25:12 -04:00
Richard Kenner fc47a4c015 (PROTO, STDIO_PROTO): Likewise.
From-SVN: r7110
1994-04-21 15:24:48 -04:00
Richard Kenner 9b1d8cd6eb Add missing declarations of functions in final.c.
(STDIO_PROTO): Don't define here.

From-SVN: r7109
1994-04-21 15:24:23 -04:00
Richard Kenner fca0444121 Add prototypes to declarations of functions in real.c.
(immed_real_const_1): Move declaration from rtl.h.

From-SVN: r7108
1994-04-21 15:24:02 -04:00
Richard Kenner d6b1265798 If RTX_CODE undefined, make an incomplete struct for rtx.
Add some missing declarations of functions in stmt.c.
(STDIO_PROTO): Define here if not already defined.

From-SVN: r7107
1994-04-21 15:23:35 -04:00
Richard Kenner 88efc60a69 If TREE_CODE undefined, make an incomplete union for tree.
(STDIO_PROTO): Define here if not already defined.
(read_rtx): Use STDIO_PROTO.
(output_constant_def, immed_real_const): Use "union tree_node *".
(immed_real_const_1): Move declaration to real.h.
(rtx_to_tree_code): Supply prototype.

From-SVN: r7106
1994-04-21 15:23:14 -04:00
Ian Lance Taylor 92544bdfd5 Handle taking address of function when using -membedded-pic
From-SVN: r7105
1994-04-21 18:28:09 +00:00
Doug Evans c27c5281ce (init_reg_sets_1): Make static.
(init_reg_modes): New function.
(init_regs): Likewise.

From-SVN: r7104
1994-04-20 23:38:22 +00:00
Doug Evans 34d0205f17 (compile_file): Call new function init_regs.
(main): Delete call to init_reg_sets_1.

From-SVN: r7103
1994-04-20 23:36:30 +00:00
Steve Chamberlain 961c478000 ls -la
From-SVN: r7102
1994-04-20 19:17:23 +00:00
Steve Chamberlain d3ae8277eb *** empty log message ***
From-SVN: r7101
1994-04-20 19:17:23 +00:00
Jason Merrill 6fcc9690b3 (expand_expr): Don't force ignore when expanding the subexpression of a WITH_CLEANUP_EXPR.
(expand_expr): Don't force ignore when expanding the
        subexpression of a WITH_CLEANUP_EXPR.  Don't check ignore when
        deciding whether or not to expand the cleanup for a TARGET_EXPR.

From-SVN: r7100
1994-04-20 18:12:36 +00:00
Doug Evans c8fc469754 (lshlsi3): Delete.
From-SVN: r7099
1994-04-20 16:12:33 +00:00
Doug Evans 3e7700f327 (RTX_COSTS): Remove LSHIFT, add LSHIFTRT.
From-SVN: r7098
1994-04-20 16:11:46 +00:00
Doug Evans 3841a7f67d (output_shift, ASHIFTRT case): Do opposite shift as ASHIFT.
Delete LSHIFT case.

From-SVN: r7097
1994-04-20 16:11:04 +00:00
Doug Evans dfa11e055c (i960_expr_alignment): Remove LSHIFT.
From-SVN: r7096
1994-04-20 16:03:30 +00:00
Doug Evans 9d84172d84 (safe_insn_src_p): Remove LSHIFT.
(single_insn_src_p): Likewise.

From-SVN: r7095
1994-04-20 16:02:55 +00:00
Doug Evans c0e4a0072d (lshrhi3_eight): Fix name.
(lshrhi3): Use it.

From-SVN: r7094
1994-04-20 16:01:38 +00:00
Doug Evans b4ce11b45f (RTX_COSTS): Remove LSHIFT.
From-SVN: r7093
1994-04-20 16:01:13 +00:00
Richard Kenner 9083509785 (check_newline): Avoid unreachable statement when HANDLE_SYSV_PRAGMA
defined.

From-SVN: r7092
1994-04-20 06:40:07 -04:00
Steve Chamberlain a0fbc3a981 *** empty log message ***
From-SVN: r7091
1994-04-20 05:55:28 +00:00
Doug Evans dcfb710401 (attach_deaths): Create partial register dead notes using
register's intrinsic mode.

From-SVN: r7090
1994-04-20 03:40:01 +00:00
Doug Evans 36b878d12c (move_deaths): Record death information of remaining
registers in their intrinsic mode.

From-SVN: r7089
1994-04-20 03:38:46 +00:00