Stan Shebs [Fri, 6 May 1994 01:00:48 +0000 (01:00 +0000)]
*** empty log message ***
From-SVN: r7218
Mike Stump [Thu, 5 May 1994 22:19:26 +0000 (22:19 +0000)]
35th Cygnus<->FSF merge
From-SVN: r7217
Richard Kenner [Thu, 5 May 1994 18:37:00 +0000 (14:37 -0400)]
(simplify_rtx, case SUBREG): Don't call force_to_mode.
(simplify_set): Call force_to_mode here.
From-SVN: r7216
Richard Kenner [Thu, 5 May 1994 17:39:17 +0000 (13:39 -0400)]
(movhi): Simplify code involving jump-table reference.
(load_address): Handle case of jump-table reference; output required label.
From-SVN: r7215
Ian Lance Taylor [Thu, 5 May 1994 16:28:46 +0000 (16:28 +0000)]
Include source file name in dependency output.
From-SVN: r7214
Doug Evans [Wed, 4 May 1994 22:44:55 +0000 (22:44 +0000)]
Remove duplicate -freebsd* entry.
From-SVN: r7213
Jason Merrill [Wed, 4 May 1994 21:32:22 +0000 (21:32 +0000)]
(special_symbol): Don't copy simple strings, use wchar_type.
(main): Setup wchar_type for C++ if needed.
(initialize_builtins): Use wchar_type.
From-SVN: r7212
Richard Kenner [Wed, 4 May 1994 21:12:27 +0000 (17:12 -0400)]
(push_secondary_reload): Use TYPE for secondary type if it is
RELOAD_FOR_{INPUT,OUTPUT}_ADDRESS.
From-SVN: r7211
Richard Kenner [Wed, 4 May 1994 20:45:28 +0000 (16:45 -0400)]
(find_reg): When looking for locally-allocated hard regs to reclaim,
use REG_ALLOC_ORDER to find least used.
From-SVN: r7210
Richard Kenner [Wed, 4 May 1994 20:41:15 +0000 (16:41 -0400)]
(emit_reload_insns): Add another way to delete an output reload.
From-SVN: r7209
Richard Kenner [Wed, 4 May 1994 20:35:23 +0000 (16:35 -0400)]
(reload, reload_as_needed): Check for use of return register with
reg_referenced_p, not reg_mentioned_p.
From-SVN: r7208
Jim Wilson [Wed, 4 May 1994 18:28:18 +0000 (11:28 -0700)]
(override_options): Delete TARGET_LLONG128 references.
From-SVN: r7207
Jim Wilson [Wed, 4 May 1994 18:27:45 +0000 (11:27 -0700)]
(MASK_LLONG128, TARGET_LLONG128): Delete.
(TARGET_SWITCHES): Delete -mlonglong128 option.
(LONG_LONG_TYPE_SIZE): Delete TARGET_LLONG128 reference.
From-SVN: r7206
Jim Wilson [Wed, 4 May 1994 18:25:08 +0000 (11:25 -0700)]
Fix typo in comment.
From-SVN: r7205
Jim Wilson [Wed, 4 May 1994 18:23:33 +0000 (11:23 -0700)]
(CPP_SPEC): Delete.
(SIZE_TYPE): Delete.
From-SVN: r7204
Jim Wilson [Wed, 4 May 1994 18:23:09 +0000 (11:23 -0700)]
(CPP_SPEC): Define __PTRDIFF_TYPE__ and __mips.
(PTRDIFF_TYPE): Delete.
(SIZE_TYPE): Define.
(SET_ASM_OP): Define.
From-SVN: r7203
Jim Wilson [Wed, 4 May 1994 18:22:40 +0000 (11:22 -0700)]
(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and __mips.
From-SVN: r7202
Jim Wilson [Wed, 4 May 1994 18:22:12 +0000 (11:22 -0700)]
(PTRDIFF_TYPE): Delete.
(CPP_SPEC): Define, overriding ultrix.h version.
From-SVN: r7201
Jim Wilson [Wed, 4 May 1994 18:21:37 +0000 (11:21 -0700)]
(CPP_SPEC): Define __SIZE_TYPE__,
__PTRDIFF_TYPE__, and __mips.
(SIZE_TYPE): Delete.
From-SVN: r7200
Jim Wilson [Wed, 4 May 1994 18:20:59 +0000 (11:20 -0700)]
(CPP_SPEC): Delete.
From-SVN: r7199
Jason Merrill [Tue, 3 May 1994 23:13:23 +0000 (23:13 +0000)]
Make-lang.in (cc1plus): Don't depend on OBJS or BC_OBJS, since stamp-objlist does.
* Make-lang.in (cc1plus): Don't depend on OBJS or BC_OBJS, since
stamp-objlist does.
* Makefile.in (../cc1plus): Depend on OBJDEPS.
(OBJDEPS): Dependency version of OBJS.
From-SVN: r7198
Jason Merrill [Tue, 3 May 1994 23:09:22 +0000 (23:09 +0000)]
(../cc1plus): Depend on OBJDEPS.
(OBJDEPS): Dependency version of OBJS.
From-SVN: r7197
Jason Merrill [Tue, 3 May 1994 23:08:42 +0000 (23:08 +0000)]
(cc1plus): Don't depend on OBJS or BC_OBJS, since stamp-objlist does.
From-SVN: r7196
Doug Evans [Tue, 3 May 1994 23:04:27 +0000 (23:04 +0000)]
(stamp-objlist): Depend on OBJS and BC_OBJS so that
subdir makes will know to re-link.
From-SVN: r7195
Per Bothner [Mon, 2 May 1994 23:49:19 +0000 (16:49 -0700)]
Don't write out static consts now, unless we need them.
From-SVN: r7194
Jim Wilson [Mon, 2 May 1994 22:22:22 +0000 (15:22 -0700)]
(casesi): Delete force_reg calls.
From-SVN: r7193
Jim Wilson [Mon, 2 May 1994 22:21:14 +0000 (15:21 -0700)]
(expand_end_case): Make sure gen_casesi operands are
valid by passing them through copy_to_mode_reg if necessary.
From-SVN: r7192
Jim Wilson [Mon, 2 May 1994 21:24:52 +0000 (14:24 -0700)]
(output_move_double): Always use split_double for the
CNSTOP case.
From-SVN: r7191
Jim Wilson [Mon, 2 May 1994 20:53:21 +0000 (13:53 -0700)]
(translate_options): For options that take an argument,
don't skip the argument if it doesn't exist.
From-SVN: r7190
Jim Wilson [Mon, 2 May 1994 20:48:11 +0000 (13:48 -0700)]
(pushdecl): Use lookup_name_current_level_global instead of lookup_name for extern references.
(pushdecl): Use lookup_name_current_level_global instead
of lookup_name for extern references. Don't return duplicate decl
if it came from the global binding level, and there exists a
conflicting decl in an intervening block.
(lookup_name_current_level_global); New function.
From-SVN: r7189
Jim Wilson [Mon, 2 May 1994 20:47:39 +0000 (13:47 -0700)]
(lookup_name_current_level_global): Declare.
From-SVN: r7188
Jim Wilson [Mon, 2 May 1994 20:44:44 +0000 (13:44 -0700)]
(read, write): Last parm is size_t not unsigned int.
From-SVN: r7187
Jim Wilson [Mon, 2 May 1994 20:42:23 +0000 (13:42 -0700)]
(remap_split_bivs): New function.
(unroll_loop): When remapping split bivs in the last instruction,
handle JUMP_INSNs in addition to INSNs.
From-SVN: r7186
Jason Merrill [Mon, 2 May 1994 20:37:24 +0000 (20:37 +0000)]
(INCLUDE_DEFAULTS): Add cxx_aware field.
From-SVN: r7185
Doug Evans [Fri, 29 Apr 1994 22:29:42 +0000 (22:29 +0000)]
(dbxout_type): check TYPE_DECL_SUPPRESS_DEBUG to generate cross reference
in stabs.
From-SVN: r7184
Doug Evans [Fri, 29 Apr 1994 22:28:22 +0000 (22:28 +0000)]
(TYPE_DECL_SUPPRESS_DEBUG): new macro to support
suppressing of detail type infos into stabs.
From-SVN: r7183
Doug Evans [Fri, 29 Apr 1994 06:08:29 +0000 (06:08 +0000)]
Several
language directory reorg patches.
From-SVN: r7182
Doug Evans [Fri, 29 Apr 1994 05:20:27 +0000 (05:20 +0000)]
(BC_OBJS): Delete.
(OBJS): Cat ../stamp-objlist to get language independent files.
Also use ../c-common.o.
(../cc1plus): Delete reference to BC_OBJS.
From-SVN: r7181
Doug Evans [Fri, 29 Apr 1994 05:18:33 +0000 (05:18 +0000)]
(cc1plus): Depend on stamp-objlist.
From-SVN: r7180
Doug Evans [Fri, 29 Apr 1994 05:01:27 +0000 (05:01 +0000)]
(stamp-objlist): New target.
From-SVN: r7179
Doug Evans [Fri, 29 Apr 1994 02:16:48 +0000 (02:16 +0000)]
(INCLUDES): Move definition to same place as parent makefile.
(ALLOCA): Define.
(OLDAR_FLAGS): Delete.
(OLDCC): Define.
(CLIB): Define.
(SUBDIR_USE_ALLOCA): Don't use ALLOCA if compiling with gcc.
From-SVN: r7178
Doug Evans [Fri, 29 Apr 1994 02:14:06 +0000 (02:14 +0000)]
(c++.distdir): mkdir tmp/cp first.
From-SVN: r7177
Doug Evans [Fri, 29 Apr 1994 02:06:09 +0000 (02:06 +0000)]
(USE_ALLOCA): Rearrange "'s.
(FLAGS_TO_PASS): Delete CLIB, MALLOC, OBSTACK.
From-SVN: r7176
Jim Wilson [Thu, 28 Apr 1994 23:06:33 +0000 (16:06 -0700)]
(expand_end_case): Correct test for sign extending
unsigned constant index when creating index_expr.
From-SVN: r7175
Jim Wilson [Thu, 28 Apr 1994 23:03:41 +0000 (16:03 -0700)]
(macroexpand): Use start_line for line number of the new
instack level pushed at the end.
From-SVN: r7174
Jim Wilson [Thu, 28 Apr 1994 22:59:27 +0000 (15:59 -0700)]
(adddi3, subdi3, anddi3, iordi3, xordi3): Corresponding changes.
(one_cmpldi3): Don't allow constants for operand 1.
From-SVN: r7173
Jim Wilson [Thu, 28 Apr 1994 22:58:53 +0000 (15:58 -0700)]
(arith_double_operand): Modify to accept all possible constants.
From-SVN: r7172
Mike Stump [Thu, 28 Apr 1994 22:48:45 +0000 (22:48 +0000)]
34th Cygnus<->FSF merge
From-SVN: r7171
Mike Stump [Thu, 28 Apr 1994 22:46:43 +0000 (22:46 +0000)]
remove EH from backend.
From-SVN: r7170
Richard Kenner [Thu, 28 Apr 1994 22:29:12 +0000 (18:29 -0400)]
Clarify license status.
From-SVN: r7169
Richard Kenner [Thu, 28 Apr 1994 22:10:10 +0000 (18:10 -0400)]
(output_prolog): Use mr, lis, and li instructions.
Use subf instruction if TARGET_POWERPC.
(output_epilog): Use cal/addi instruction.
From-SVN: r7168
Richard Kenner [Thu, 28 Apr 1994 22:08:59 +0000 (18:08 -0400)]
Add missing blank line.
From-SVN: r7167
Richard Kenner [Thu, 28 Apr 1994 22:08:28 +0000 (18:08 -0400)]
(addsi3): Prefer add without carry instructions and flag input operands as commutative for condition register variant.
(addsi3): Prefer add without carry instructions and
flag input operands as commutative for condition register variant.
(subsi3): Define PowerPC patterns using subtract without carry.
(numerous): Flag input operands as commutative for condition register variant.
(mov* matchers): Use mr instruction in ! TARGET_POWERPC case as well and
mr. in condition register variant.
From-SVN: r7166
Richard Kenner [Thu, 28 Apr 1994 16:48:55 +0000 (12:48 -0400)]
(SHARED_SECTION_ASM_OP): Defined.
From-SVN: r7165
Doug Evans [Thu, 28 Apr 1994 16:39:50 +0000 (16:39 +0000)]
(expand_builtin): Fix typo in previous patch
(allow __builtin_next_arg in varargs functions).
From-SVN: r7164
Doug Evans [Wed, 27 Apr 1994 21:30:17 +0000 (21:30 +0000)]
(DIR): Delete.
From-SVN: r7163
Doug Evans [Wed, 27 Apr 1994 21:22:14 +0000 (21:22 +0000)]
(####site overrides): Remove Cygnus cruft.
From-SVN: r7162
Jason Merrill [Wed, 27 Apr 1994 07:19:33 +0000 (07:19 +0000)]
Change _op_vec_decl to _op_vdel and _op_vec_new to _op_vnew
From-SVN: r7161
Per Bothner [Tue, 26 Apr 1994 23:56:21 +0000 (16:56 -0700)]
Use new macro AGGREGATE_TYPE_P.
From-SVN: r7160
Per Bothner [Tue, 26 Apr 1994 23:55:44 +0000 (16:55 -0700)]
New macro AGGREGATE_TYPE_P.
From-SVN: r7159
Richard Kenner [Mon, 25 Apr 1994 22:47:21 +0000 (18:47 -0400)]
(grokdeclarator): Never warn about `long long' in system header.
From-SVN: r7158
Richard Kenner [Mon, 25 Apr 1994 22:35:21 +0000 (18:35 -0400)]
(copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed on
old CONSTRUCTOR, not new one.
From-SVN: r7157
Richard Kenner [Mon, 25 Apr 1994 20:47:30 +0000 (16:47 -0400)]
(finish_decl): Redo last change.
From-SVN: r7156
Richard Kenner [Mon, 25 Apr 1994 19:04:42 +0000 (15:04 -0400)]
(*compare*): Add missing semicolons.
From-SVN: r7155
Richard Kenner [Mon, 25 Apr 1994 18:23:10 +0000 (14:23 -0400)]
(link_command_spec): Add -Z argument for ZMAGIC's on FreeBSD.
From-SVN: r7154
Richard Kenner [Mon, 25 Apr 1994 18:22:17 +0000 (14:22 -0400)]
Recognize __FreeBSD__.
From-SVN: r7153
Richard Kenner [Mon, 25 Apr 1994 18:21:16 +0000 (14:21 -0400)]
(TARGET_NO_FANCY_MATH_387): Implement new option.
From-SVN: r7152
Richard Kenner [Mon, 25 Apr 1994 18:20:53 +0000 (14:20 -0400)]
(TARGET_NO_FANCY_MATH_387): New option.
From-SVN: r7151
Richard Kenner [Mon, 25 Apr 1994 18:15:06 +0000 (14:15 -0400)]
Recognize FreeBSD.
From-SVN: r7150
Doug Evans [Mon, 25 Apr 1994 18:01:51 +0000 (18:01 +0000)]
(c++.install-common): Check for g++-cross.
From-SVN: r7149
Doug Evans [Mon, 25 Apr 1994 18:01:24 +0000 (18:01 +0000)]
Remove Cygnus cruft.
(config.status): Delete.
(RTL_H): Define.
(TREE_H): Use complete pathname, some native makes have minimal VPATH support.
(*.o): Use complete pathname to headers in parent dir.
(doc, info, dvi): Delete.
From-SVN: r7148
Richard Kenner [Mon, 25 Apr 1994 17:02:35 +0000 (13:02 -0400)]
(install-common): Install EXTRA_PARTS with INSTALL_DATA, not
INSTALL_PROGRAM.
From-SVN: r7147
Richard Kenner [Mon, 25 Apr 1994 10:33:38 +0000 (06:33 -0400)]
(fold-convert): Use assignment, instead of initializing, aggregate
local variable REAL_VALUE_TYPE.
From-SVN: r7146
Richard Kenner [Sun, 24 Apr 1994 15:30:17 +0000 (11:30 -0400)]
(redirect_with_delay_list_safe_p): Fix off-by-one error.
From-SVN: r7145
Richard Kenner [Sun, 24 Apr 1994 15:27:52 +0000 (11:27 -0400)]
(etoe53, etoe24): Make all occurrences static.
From-SVN: r7144
Richard Kenner [Sun, 24 Apr 1994 15:24:57 +0000 (11:24 -0400)]
(try_split): Don't try to recursively split deleted insn.
From-SVN: r7143
Richard Kenner [Sun, 24 Apr 1994 15:20:56 +0000 (11:20 -0400)]
(movti): Adjust constraints to avoid impossible reload.
From-SVN: r7142
Richard Kenner [Sun, 24 Apr 1994 15:17:02 +0000 (11:17 -0400)]
(expand_expr, case SAVE_EXPR): Fix error in last change.
From-SVN: r7141
Richard Kenner [Sat, 23 Apr 1994 10:45:32 +0000 (06:45 -0400)]
(reloads_conflict, case RELOAD_FOR_OUTPUT): Fix typo.
From-SVN: r7140
Richard Kenner [Fri, 22 Apr 1994 19:02:13 +0000 (15:02 -0400)]
(handle_braces, check_live_switch): Refine previous change.
From-SVN: r7139
Doug Evans [Fri, 22 Apr 1994 16:22:14 +0000 (16:22 +0000)]
(compare, compare3, gnucompare, gnucompare3): Add missing "'s.
From-SVN: r7138
Doug Evans [Fri, 22 Apr 1994 08:32:54 +0000 (08:32 +0000)]
(mostlyclean, clean, distclean, extraclean, realclean): Delete.
These are done by the parent makefile now.
From-SVN: r7137
Doug Evans [Fri, 22 Apr 1994 08:25:33 +0000 (08:25 +0000)]
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
Doug Evans [Fri, 22 Apr 1994 07:25:56 +0000 (07:25 +0000)]
Initial revision
From-SVN: r7135
Mike Stump [Thu, 21 Apr 1994 23:30:18 +0000 (23:30 +0000)]
33rd Cygnus<->FSF merge
From-SVN: r7134
Richard Kenner [Thu, 21 Apr 1994 23:08:53 +0000 (19:08 -0400)]
(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
Richard Kenner [Thu, 21 Apr 1994 22:45:38 +0000 (18:45 -0400)]
(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
Richard Kenner [Thu, 21 Apr 1994 22:27:25 +0000 (18:27 -0400)]
(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
Richard Kenner [Thu, 21 Apr 1994 22:10:47 +0000 (18:10 -0400)]
Upate comments and copyright notice.
From-SVN: r7130
Richard Kenner [Thu, 21 Apr 1994 21:23:49 +0000 (17:23 -0400)]
(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
Jim Wilson [Thu, 21 Apr 1994 19:56:11 +0000 (12:56 -0700)]
(mem_aligned_8): Don't assume addresses with
MEM_IN_STRUCT_P set are 8 byte aligned.
From-SVN: r7128
Jim Wilson [Thu, 21 Apr 1994 19:54:38 +0000 (12:54 -0700)]
(CPP_SPEC): Define _LANGUAGE_C for Objective C also.
From-SVN: r7127
Richard Kenner [Thu, 21 Apr 1994 19:54:06 +0000 (15:54 -0400)]
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7126
Richard Kenner [Thu, 21 Apr 1994 19:51:45 +0000 (15:51 -0400)]
Finish installation of last change.
From-SVN: r7125
Jim Wilson [Thu, 21 Apr 1994 19:51:01 +0000 (12:51 -0700)]
(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
Jim Wilson [Thu, 21 Apr 1994 19:49:26 +0000 (12:49 -0700)]
(sparc_type_code): Don't put more than 30 bits of info
into the variable qualifiers.
From-SVN: r7123
Jim Wilson [Thu, 21 Apr 1994 19:46:31 +0000 (12:46 -0700)]
(store_expr): Don't check the TYPE_MODE of an ERROR_MARK.
From-SVN: r7122
Richard Kenner [Thu, 21 Apr 1994 19:33:56 +0000 (15:33 -0400)]
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
Richard Kenner [Thu, 21 Apr 1994 19:33:15 +0000 (15:33 -0400)]
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
Richard Kenner [Thu, 21 Apr 1994 19:32:38 +0000 (15:32 -0400)]
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7119