OSDN Git Service

pf3gnuchains/gcc-fork.git
28 years agoremove -mcpu=rs6000
meissner [Wed, 20 Dec 1995 19:09:16 +0000 (19:09 +0000)]
remove -mcpu=rs6000

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10822 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoMake --enable-cpu=xxx act like -mcpu=xxx, not -mtune=xxx.
meissner [Wed, 20 Dec 1995 17:13:18 +0000 (17:13 +0000)]
Make --enable-cpu=xxx act like -mcpu=xxx, not -mtune=xxx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10821 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoMake AIX4 use -mcpu=common by default; add -mtune=
meissner [Wed, 20 Dec 1995 17:05:26 +0000 (17:05 +0000)]
Make AIX4 use -mcpu=common by default; add -mtune=

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10820 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(FIRST_PSEUDO_REGISTER): Increment.
wilson [Tue, 19 Dec 1995 23:30:21 +0000 (23:30 +0000)]
(FIRST_PSEUDO_REGISTER): Increment.
(FIXED_REGISTERS, CALL_USED_REGISTERS, REGISTER_NAMES,
DEBUG_REGISTER_NAMES): Add entry for new RAP reg.
(RAP_REG_NUM, RETURN_ADDRESS_POINTER_REGNUM): New macros.
(RETURN_ADDR_RTX): Define.
(ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET):
Add RETURN_ADDRESS_POINTER_REGNUM support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10819 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(mips_reg_names, mips_sw_reg_names, mips_regno_to_class):
wilson [Tue, 19 Dec 1995 23:28:28 +0000 (23:28 +0000)]
(mips_reg_names, mips_sw_reg_names, mips_regno_to_class):
Add entry for new RAP reg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10818 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(return_address_pointer_rtx): New global variable.
wilson [Tue, 19 Dec 1995 23:25:43 +0000 (23:25 +0000)]
(return_address_pointer_rtx): New global variable.
(gen_rtx, init_emit_once): Add support for it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10817 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoDo not define register names under Windows NT
meissner [Tue, 19 Dec 1995 15:56:45 +0000 (15:56 +0000)]
Do not define register names under Windows NT

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10816 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago76th Cygnus<->FSF merge
mrs [Tue, 19 Dec 1995 06:51:14 +0000 (06:51 +0000)]
76th Cygnus<->FSF merge

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10815 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(simplify_rtx, case SUBREG): For SUBREG of a constant,
wilson [Tue, 19 Dec 1995 02:45:11 +0000 (02:45 +0000)]
(simplify_rtx, case SUBREG): For SUBREG of a constant,
use <= instead of < when comparing mode sizes.
(force_to_mode, case NOT): Use full mask inside the NOT operation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10814 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(block_move_call): Likewise for memcpy and bcopy.
wilson [Tue, 19 Dec 1995 02:15:51 +0000 (02:15 +0000)]
(block_move_call): Likewise for memcpy and bcopy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10813 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(INITIALIZE_TRAMPOLINE): Likewise for cacheflush.
wilson [Tue, 19 Dec 1995 02:14:50 +0000 (02:14 +0000)]
(INITIALIZE_TRAMPOLINE): Likewise for cacheflush.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10812 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_block_move): Likewise for memcpy and bcopy.
wilson [Tue, 19 Dec 1995 02:13:05 +0000 (02:13 +0000)]
(expand_block_move): Likewise for memcpy and bcopy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10811 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_movstr_call): Likewise for memcpy.
wilson [Tue, 19 Dec 1995 02:09:53 +0000 (02:09 +0000)]
(expand_movstr_call): Likewise for memcpy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10810 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(emit_cmp_insn): Likewise for memcmp and bcmp.
wilson [Tue, 19 Dec 1995 02:07:48 +0000 (02:07 +0000)]
(emit_cmp_insn): Likewise for memcmp and bcmp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10809 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(emit_block_move): When call emit_libary_call for bcopy,
wilson [Tue, 19 Dec 1995 02:01:45 +0000 (02:01 +0000)]
(emit_block_move): When call emit_libary_call for bcopy,
pass arguments using correct types and modes.
(emit_push_insn, expand_assignment): Likewise.
(clear_storage, store_expr): Likewise for memset and bzero.
(store_constructor): Likewise for memset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10808 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(objc_alignof_type): Handle _C_PTR case.
kenner [Tue, 19 Dec 1995 00:31:18 +0000 (00:31 +0000)]
(objc_alignof_type): Handle _C_PTR case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10807 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(WCHAR_TYPE_SIZE): Add a default definition.
wilson [Tue, 19 Dec 1995 00:13:24 +0000 (00:13 +0000)]
(WCHAR_TYPE_SIZE): Add a default definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10806 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(sdbout_symbol, case FUNCTION_DECL): Use DECL_INITIAL
wilson [Tue, 19 Dec 1995 00:08:11 +0000 (00:08 +0000)]
(sdbout_symbol, case FUNCTION_DECL): Use DECL_INITIAL
instead of DECL_EXTERNAL to identify declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10805 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_IDENTIFY_GCC): Don't output stab here.
wilson [Tue, 19 Dec 1995 00:02:00 +0000 (00:02 +0000)]
(ASM_IDENTIFY_GCC): Don't output stab here.
(ASM_IDENTIFY_GCC_AFTER_SOURCE): Output stab here instead of
above.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10804 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_asm_operands): Handle numeric constraints in
wilson [Mon, 18 Dec 1995 23:39:23 +0000 (23:39 +0000)]
(expand_asm_operands): Handle numeric constraints in
with the default case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10803 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_mult_highpart_adjust): Declare.
kenner [Mon, 18 Dec 1995 21:49:37 +0000 (21:49 +0000)]
(expand_mult_highpart_adjust): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10802 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(store_constructor): Fix error in last change: just
kenner [Mon, 18 Dec 1995 21:39:20 +0000 (21:39 +0000)]
(store_constructor): Fix error in last change: just
copy MEM, but be sure to share address.
(expand_expr, case CONSTRUCTOR): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10801 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix stabs under NT
meissner [Mon, 18 Dec 1995 21:30:53 +0000 (21:30 +0000)]
Fix stabs under NT

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10800 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * libgcc2.c (__empty): An empty function used by the C++ frontend for
mrs [Mon, 18 Dec 1995 17:42:56 +0000 (17:42 +0000)]
* libgcc2.c (__empty): An empty function used by the C++ frontend for
defaulting cleanup actions.

* tree.c (save_tree_status, restore_tree_status): Save and restore
temporary_firstobj, so that in progress objects that live on the
temporary obstack are not reallocated, if we save and restore the
tree status in their lifetime.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10799 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(GCC_FOR_TARGET, X_CFLAGS): Removed.
coxs [Mon, 18 Dec 1995 17:22:25 +0000 (17:22 +0000)]
(GCC_FOR_TARGET, X_CFLAGS): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10798 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(GCC_FOR_TARGET, T_CFLAGS): New macros.
coxs [Mon, 18 Dec 1995 17:21:19 +0000 (17:21 +0000)]
(GCC_FOR_TARGET, T_CFLAGS): New macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10797 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(main): Remove last change.
kenner [Mon, 18 Dec 1995 13:00:03 +0000 (13:00 +0000)]
(main): Remove last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10796 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(fixup_var_refs_1): Fix error in last change (when mode of VAR is not
kenner [Mon, 18 Dec 1995 12:49:21 +0000 (12:49 +0000)]
(fixup_var_refs_1): Fix error in last change (when mode of VAR is not
the same as PROMOTED_MODE).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10795 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Don't surround section names
law [Mon, 18 Dec 1995 06:13:50 +0000 (06:13 +0000)]
    * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Don't surround section names
        with '$'.  That confuses collect2.
        (ASM_OUTPUT_SECTION_NAME): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10794 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * sched.c (canon_rtx): Recursively look for equivalences;
law [Mon, 18 Dec 1995 01:31:12 +0000 (01:31 +0000)]
    * sched.c (canon_rtx): Recursively look for equivalences;
        look for expressions equivalent to MEMs.
        (true_dependence): Canonicalize inputs before operating
        on their values.
        (anti_dependence, output_dependence): Likewise.

        * jump.c (follow_jumps): Don't follow an unconditional jump
        that is not a simple_jump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10793 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * pa.c (override_options): Make 7100 scheduling the default.
law [Sun, 17 Dec 1995 19:38:24 +0000 (19:38 +0000)]
    * pa.c (override_options): Make 7100 scheduling the default.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10792 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * pa.md: Add 2nd reload peephole somehow omitted from Nov27 changes.
law [Sun, 17 Dec 1995 19:32:56 +0000 (19:32 +0000)]
    * pa.md: Add 2nd reload peephole somehow omitted from Nov27 changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10791 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * regclass.c (regclass): Use SECONDARY_RELOAD_CLASS if it's
law [Sun, 17 Dec 1995 17:17:23 +0000 (17:17 +0000)]
    * regclass.c (regclass): Use SECONDARY_RELOAD_CLASS if it's
        defined to avoid useless work.

        * combine.c (find_split_point): Try to split SET_DEST
        just like we do for SET_SRC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10790 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_mult_highpart): When doing widening multiply,
tege [Sun, 17 Dec 1995 16:41:09 +0000 (16:41 +0000)]
(expand_mult_highpart): When doing widening multiply,
put constant in a register.
(expand_mult_highpart): When mode is word_mode use gen_highpart
instead of right shift by size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10789 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_expr, case MULT_EXPR): Generalize code for widening
tege [Sun, 17 Dec 1995 16:39:58 +0000 (16:39 +0000)]
(expand_expr, case MULT_EXPR): Generalize code for widening
multiply to handle signed widening multiply when only unsigned optab
is defined, and vice versa.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10788 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(WCHAR_TYPE_SIZE): Define.
kenner [Sun, 17 Dec 1995 12:35:46 +0000 (12:35 +0000)]
(WCHAR_TYPE_SIZE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10787 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
kenner [Sun, 17 Dec 1995 12:08:31 +0000 (12:08 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10786 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(cmpqi): Fix generation of literal operand of CLM instruction to avoid
kenner [Sun, 17 Dec 1995 12:05:54 +0000 (12:05 +0000)]
(cmpqi): Fix generation of literal operand of CLM instruction to avoid
double literals (=X'=F'...).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10785 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoTry harder not to open or stat the same include file twice.
kenner [Sun, 17 Dec 1995 11:56:42 +0000 (11:56 +0000)]
Try harder not to open or stat the same include file twice.
Simplify include file names so that they are more likely to match.
E.g. simplify "./a//b" to "a/b".  Represent directories with simplified
prefixes, e.g. replace "./a//b" with "a/b/", and "." with "".

(absolute_filename): New function.
(do_include): Use it.
(read_name_map): Likewise; this makes things more consistent for DOS.

(main, do_include, open_include_file): -M output now contains operands
of -imacros and -include.

(skip_to_end_of_comment): When copying a // comment, don't try to
change it to a /* comment.
(rescan, skip_if_group, skip_to_end_of_comment, macarg1): Tune.

(rescan, skip_if_group, skip_to_end_of_comment, macarg1):
If warn_comments is nonzero, warn if backslash-newline appears
in a // comment.  Simplify method for finding /* /* */ comment.
(skip_if_group): Optionally warn if /* /* */ appears between # and
a directive inside a skipped if group.
(macarg): Optionally warn if /* /* */ appears in a macro argument.

(strncat, VMS_strncat, vms_ino_t, ino_t): Remove.
(INCLUDE_LEN_FUDGE): Add 2 if VMS, for trailing ".h".
(INO_T_EQ, INO_T_HASH): New macros.

(struct file_buf): New member `inc'.
(expand_to_temp_buffer): Initialize it.

(struct file_name_list): New member `inc'.
(struct file_name_list): New member `st'.
c_system_include_path is now 1 if not 0.
fname is now an array, not a pointer.
(struct include_file): New members `next_ino', `deps_output', `st'.
Remove members `inode' and `dev'; they are now in `st'.

(INCLUDE_HASHSIZE): Rename from INCLUDE_HASH_SIZE.
(include_hashtab): Rename from include_hash_table.
(include_ino_hashtab): New variable.

(main): Store file status in struct stat, not in long and int pieces.
Use base_name to strip prefixes from file names.
When printing directory prefixes, omit trailing / and print "" as ".".
Fatal error if the input file is a directory.
(main, path_include): Regularize operands of -include, -imacros,
-isystem, -iwithprefix, and -iwithprefixbefore.
Regularize default include directories.

(do_include):
Allocate dsp with alloca, since fname is now dynamically allocated.
Use -3 to represent a never-opened file descriptor.
Make copy of file name, and simplify the copy.
Use base_name to identify the end of fname's directory.
Do not prepend dir for "..." if it matches the search list's first dir.
open_include_file now subsumes redundant_include_p and lookup_import.
Use bypass_slot to remember when to skip directories when including
a file that has already been seen.
Instead of using 0 to represent the working directory, and ""
to represent a directory to be ignored, use "" for the former,
and assume the latter has been removed before we get here.
Assume the directory prefixes have already been simplified.
Report as errors all open failures other than ENOENT.
Fatal error if fstat fails.
Use new deps_output member to avoid printing dependencies twice.
(bypass_hashtab): New variable.

(do_include, open_control_file, record_control_macro): New convention:
control_macro is "" if the file was imported or had #pragma once.
(pragma_once_marker): Remove.

(redundant_include_p, include_hash, lookup_include, lookup_import,
add_import, file_size_and_mode): Remove; subsumed by open_include_file.
(skip_redundant_dir_prefix): Remove; subsumed by simplify_filename.

(is_system_include, read_name_map, remap_include_file):
Assume arg is a directory prefix.

(base_name, simplify_filename, remap_include_file,
lookup_ino_include, new_include_prefix): New functions.

(open_include_file): New arguments `importing' and `pinc'.
Move filename mapping into new remap_include_file function.
First try to find file by name in include_hashtab;
if that doesn't work, open and fstat it and try to find it
by inode and dev in include_ino_hashtab.

(finclude): Get file status from inc->st instead of invoking fstat.
Store inc into fp->inc so that record_control_macro doesn't
need to do a table lookup.
(finclude, record_control_macro): Accept struct include_file *
instead of char * to identify include file.  All callers changed.

(check_precompiled): Get file status from new argument `st'.

(do_pragma): Output at most one warning about #pragma implementation.
Always return 0 instead of returning garbage sometimes.
(do_pragma, hack_vms_include_specification):
Use base_name for consistency, and remove redundant code.

From Per Bothner:
Unify the 3 separate mechanisms for avoiding processing
of redundant include files: #import, #pragma once, and
redundant_include_p to use a single more efficient data structure.
(struct file_name_list):  Remove no-longer needed field control_macro.
(dont_repeat_files, all_include_files):  Remove, no longer used.
(struct import_file):  Renmed to struct include_file, moved earlier
in file, renamed field name to fname, and added control_macro field.
(pragma_once_marker):  New constant.
(import_hash_table):  Renamed to include_hash_table.
(import_hash):  Renamed to include_hash.
(IMPORT_HASH_SIZE):  Renamed to INCLUDE_HASH_SIZE.
(main, path_include):  Don't clear removed control_macro field.
(lookup_include):  New function - look up fname in include_hash_table.
(redundant_include_p):  Re-write to use lookup_include.
(lookup_import, record_control_macro):  Likewise.
(add_import):  Defer fstat to caller.  Combine two xmallocs into one.
(do_once):  Use pragma_once_marker in include_hash_table.
(do_pragma):  Re-implement to scan include_hash_table.
(do_include):  Use new lookup_include and add_import.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10784 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(try_combine): When checking for two sets of the same register in a
kenner [Sun, 17 Dec 1995 11:45:16 +0000 (11:45 +0000)]
(try_combine): When checking for two sets of the same register in a
split insn, also test for setting a ZERO_EXTRACT, STRICT_LOW_PART, or
SUBREG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10783 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(push_secondary_reload): Don't strip paradoxical SUBREG if
kenner [Sun, 17 Dec 1995 11:36:47 +0000 (11:36 +0000)]
(push_secondary_reload): Don't strip paradoxical SUBREG if
reload_class is CLASS_CANNOT_CHANGE_SIZE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10782 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_assignment): Fix alignment parm in emit_block_move.
kenner [Sat, 16 Dec 1995 23:24:02 +0000 (23:24 +0000)]
(expand_assignment): Fix alignment parm in emit_block_move.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10781 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(optimize_reg_copy_2): Don't attempt optimization if destination
kenner [Sat, 16 Dec 1995 23:16:01 +0000 (23:16 +0000)]
(optimize_reg_copy_2): Don't attempt optimization if destination
register dies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10780 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(fold): Don't record overflow when negating unsigned constants.
kenner [Sat, 16 Dec 1995 13:30:58 +0000 (13:30 +0000)]
(fold): Don't record overflow when negating unsigned constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10779 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(layout_record): When PCC_BITFIELD_TYPE_MATTERS, compute bitpos using
kenner [Sat, 16 Dec 1995 12:35:45 +0000 (12:35 +0000)]
(layout_record): When PCC_BITFIELD_TYPE_MATTERS, compute bitpos using
field_size % type_align instead of field_size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10778 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(stdio.h): Fix return type of fread and fwrite on sysV68.
kenner [Sat, 16 Dec 1995 12:03:25 +0000 (12:03 +0000)]
(stdio.h): Fix return type of fread and fwrite on sysV68.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10777 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(fixup_var_refs_1): Fix two incorrect calls to single_set.
kenner [Sat, 16 Dec 1995 11:57:01 +0000 (11:57 +0000)]
(fixup_var_refs_1): Fix two incorrect calls to single_set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10776 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(AViiON): Add ix86-dg-dgux
coxs [Sat, 16 Dec 1995 03:32:35 +0000 (03:32 +0000)]
(AViiON): Add ix86-dg-dgux

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10744 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
coxs [Sat, 16 Dec 1995 03:10:56 +0000 (03:10 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10743 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUse TARGET* macros.
coxs [Sat, 16 Dec 1995 03:06:44 +0000 (03:06 +0000)]
Use TARGET* macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10742 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(override_options): Add -mcpu and -misa support
coxs [Sat, 16 Dec 1995 03:06:03 +0000 (03:06 +0000)]
(override_options): Add -mcpu and -misa support

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10741 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(TARGET_CPU_DEFAULT, PROCESSOR_*, TARGET_*,DOUBLE_WITH_ADD,BIT_TEST}): New macros.
coxs [Sat, 16 Dec 1995 03:04:10 +0000 (03:04 +0000)]
(TARGET_CPU_DEFAULT, PROCESSOR_*, TARGET_*,DOUBLE_WITH_ADD,BIT_TEST}): New macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10740 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(sys/wait.h): Add forward declaration of struct rusage on AIX 3.2.5.
kenner [Fri, 15 Dec 1995 23:41:43 +0000 (23:41 +0000)]
(sys/wait.h): Add forward declaration of struct rusage on AIX 3.2.5.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10739 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(DO_GLOBAL_DTORS_BODY): Delete; obsolete.
kenner [Fri, 15 Dec 1995 23:36:38 +0000 (23:36 +0000)]
(DO_GLOBAL_DTORS_BODY): Delete; obsolete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10738 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agomain): Don't ignore an option merely because a language-specific
kenner [Fri, 15 Dec 1995 23:30:39 +0000 (23:30 +0000)]
main): Don't ignore an option merely because a language-specific
option is a prefix of the option.  This catches typos like
`-fno-builtins'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10737 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(i*86*) Change [345] to [3456]
coxs [Fri, 15 Dec 1995 15:43:33 +0000 (15:43 +0000)]
(i*86*) Change [345] to [3456]

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10736 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(out_object_file): Add MAYBE_TARGET_DEFAULT.
coxs [Fri, 15 Dec 1995 15:42:03 +0000 (15:42 +0000)]
(out_object_file): Add MAYBE_TARGET_DEFAULT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10735 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(rest_of_compilation): Call init_temp_slots.
kenner [Fri, 15 Dec 1995 13:09:51 +0000 (13:09 +0000)]
(rest_of_compilation): Call init_temp_slots.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10734 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(init_temp_slots): New function.
kenner [Fri, 15 Dec 1995 13:09:24 +0000 (13:09 +0000)]
(init_temp_slots): New function.
(init_function_start): Code moved to new function and called here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10733 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(store_bit_field): Don't use insv for BLKmode value.
kenner [Fri, 15 Dec 1995 13:05:34 +0000 (13:05 +0000)]
(store_bit_field): Don't use insv for BLKmode value.
(store_split_bit_field): Set total_bits to BITS_PER_FOR for BLKmode value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10732 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(DBX_STATIC_BLOCK_END): Use macro arguments.
kenner [Fri, 15 Dec 1995 11:35:24 +0000 (11:35 +0000)]
(DBX_STATIC_BLOCK_END): Use macro arguments.
(xcoff_begin_function_line, xcoff_current_function_file): Remove
unused extern declarations.
(DBX_OUTPUT_MAIN_SOURCE_FILENAME): Use macro argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10731 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(xcoff_begin_function_line): Make static.
kenner [Fri, 15 Dec 1995 11:34:57 +0000 (11:34 +0000)]
(xcoff_begin_function_line): Make static.
(xcoff_inlining): Likewise.
(xcoff_current_function_file): Likewise.
(xcoff_output_standard_types): Remove TARGET_64BIT dependencies from
int and unsigned int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10730 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago* fix-header.c: Support different kinds of functions (ANSI and
bothner [Fri, 15 Dec 1995 07:43:33 +0000 (07:43 +0000)]
* fix-header.c:  Support different kinds of functions (ANSI and
Posix1).  Enable ANSI proptotypes if __STRICT_ANSI__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10729 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFixes from Torbjorn/Dje
meissner [Fri, 15 Dec 1995 00:23:39 +0000 (00:23 +0000)]
Fixes from Torbjorn/Dje

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10728 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_divmod, case TRUNC_DIV_EXPR): Only reject
tege [Thu, 14 Dec 1995 23:39:17 +0000 (23:39 +0000)]
(expand_divmod, case TRUNC_DIV_EXPR): Only reject
larger-than-HOST_BITS_PER_WIDE_INT modes for general constants,
not for powers-of-2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10727 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(logic_operand): New function.
tege [Thu, 14 Dec 1995 23:16:23 +0000 (23:16 +0000)]
(logic_operand): New function.
(i960_print_operand): Handle code `C'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10726 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(PREDICATE_CODES): Add logic_operand.
tege [Thu, 14 Dec 1995 23:15:26 +0000 (23:15 +0000)]
(PREDICATE_CODES): Add logic_operand.
(CONST_OK_FOR_LETTER_P): Handle `M'.
(SHIFT_COUNT_TRUNCATED): Define as 0 as appropriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10725 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(andsi3): Match op2 with logic_operand, change constraint
tege [Thu, 14 Dec 1995 23:14:22 +0000 (23:14 +0000)]
(andsi3): Match op2 with logic_operand, change constraint
accordingly.  Output andnot for negative op2.
(iorsi3, xorsi3): Analogous changes.
Move all plain logical patterns together.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10724 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(objc_alignof_type): Handle _C_PTR case.
kenner [Thu, 14 Dec 1995 23:13:16 +0000 (23:13 +0000)]
(objc_alignof_type): Handle _C_PTR case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10723 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(untyped_call): New pattern.
tege [Thu, 14 Dec 1995 23:09:47 +0000 (23:09 +0000)]
(untyped_call): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10722 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ashrsi_31): New pattern.
tege [Thu, 14 Dec 1995 23:08:23 +0000 (23:08 +0000)]
(ashrsi_31): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10721 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoarm/arm.c (output_move_double): Extract DFmode constants using
erich [Thu, 14 Dec 1995 22:21:54 +0000 (22:21 +0000)]
arm/arm.c (output_move_double): Extract DFmode constants using
REAL_VALUE_TO_TARGET_DOUBLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10720 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(CROSS_FLOAT_H): Delete.
dje [Thu, 14 Dec 1995 20:23:58 +0000 (20:23 +0000)]
(CROSS_FLOAT_H): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10719 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * Makefile.in (distclean): Delete float.h
dje [Thu, 14 Dec 1995 20:12:12 +0000 (20:12 +0000)]
* Makefile.in (distclean): Delete float.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10718 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
dje [Thu, 14 Dec 1995 20:10:48 +0000 (20:10 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10717 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix typo
meissner [Thu, 14 Dec 1995 01:31:57 +0000 (01:31 +0000)]
Fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10716 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * expr.c (expand_expr, case ADDR_EXPR): Ensure op0 isn't QUEUED.
mrs [Thu, 14 Dec 1995 00:20:39 +0000 (00:20 +0000)]
    * expr.c (expand_expr, case ADDR_EXPR): Ensure op0 isn't QUEUED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10715 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(my_strerror): Return "cannot access" if errno is 0.
kenner [Thu, 14 Dec 1995 00:12:10 +0000 (00:12 +0000)]
(my_strerror): Return "cannot access" if errno is 0.
(perror_with_name, pfatal_with_name, perror_exec): Don't assume that
the returned value from my_strerror contains no '%'s.
(sys_nerr): Declare only if HAVE_STRERROR is not defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10714 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(c-parse.y, objc-parse.y): Add warning that file is automatically generated.
kenner [Thu, 14 Dec 1995 00:05:37 +0000 (00:05 +0000)]
(c-parse.y, objc-parse.y): Add warning that file is automatically generated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10713 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * function.c (identify_blocks): Start with a chain of BLOCKs to
mrs [Thu, 14 Dec 1995 00:00:20 +0000 (00:00 +0000)]
* function.c (identify_blocks): Start with a chain of BLOCKs to
match the rest of the backend (dbxout.c), instead of just one
BLOCK.
(reorder_blocks): Ditto.
(all_blocks): Ditto.

* stmt.c (find_loop_tree_blocks): Pass the toplevel list of
blocks, not just the first subblock.
Fixes unroll1.C.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10712 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoAccept *-*-ieee*.
ian [Wed, 13 Dec 1995 21:43:08 +0000 (21:43 +0000)]
Accept *-*-ieee*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10709 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_divmod): Don't use TARGET if it's the wrong mode.
kenner [Wed, 13 Dec 1995 21:11:05 +0000 (21:11 +0000)]
(expand_divmod): Don't use TARGET if it's the wrong mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10708 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoDefine DBX_USE_BINCL.
ian [Wed, 13 Dec 1995 20:02:30 +0000 (20:02 +0000)]
Define DBX_USE_BINCL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10707 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoOutput N_BINCL and N_EINCL stabs if DBX_USE_BINCL is defined.
ian [Wed, 13 Dec 1995 20:01:49 +0000 (20:01 +0000)]
Output N_BINCL and N_EINCL stabs if DBX_USE_BINCL is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10706 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoCall new dbxout functions when changing source files.
ian [Wed, 13 Dec 1995 20:00:25 +0000 (20:00 +0000)]
Call new dbxout functions when changing source files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10705 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUse simpler functions instead of printf. INT_TYPE_SIZE is always 32. For NT, do...
meissner [Wed, 13 Dec 1995 12:03:00 +0000 (12:03 +0000)]
Use simpler functions instead of printf.  INT_TYPE_SIZE is always 32.  For NT, do not emit .extern for builtin functions

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10704 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(MULTILIB_{OPTIONS,DIRNAMES}): Add -mint32 support.
dje [Tue, 12 Dec 1995 18:57:58 +0000 (18:57 +0000)]
(MULTILIB_{OPTIONS,DIRNAMES}): Add -mint32 support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10703 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(powerpc-harris-powerunix): Add guess for port to new target.
bothner [Tue, 12 Dec 1995 00:47:21 +0000 (00:47 +0000)]
(powerpc-harris-powerunix): Add guess for port to new target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10700 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(matcher for neg:SI (geu:SI ..)): Get ppc syntax right.
tege [Sun, 10 Dec 1995 23:50:32 +0000 (23:50 +0000)]
(matcher for neg:SI (geu:SI ..)): Get ppc syntax right.
|

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10699 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(simplify_if_then_else): Convert "a == b ? b : a" to "a".
kenner [Sun, 10 Dec 1995 15:06:28 +0000 (15:06 +0000)]
(simplify_if_then_else): Convert "a == b ? b : a" to "a".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10698 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_expr, case COMPONENT_REF): If result is BLKmode, use that to
kenner [Sun, 10 Dec 1995 14:51:54 +0000 (14:51 +0000)]
(expand_expr, case COMPONENT_REF): If result is BLKmode, use that to
access object too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10697 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_expr, case CONSTRUCTOR): If TREE_READONLY, set
kenner [Sun, 10 Dec 1995 13:46:44 +0000 (13:46 +0000)]
(expand_expr, case CONSTRUCTOR): If TREE_READONLY, set
RTX_UNCHANGING_P in TARGET.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10696 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_expr, case INDIRECT_REF): Correct typo in May 8 change.
kenner [Sun, 10 Dec 1995 13:44:42 +0000 (13:44 +0000)]
(expand_expr, case INDIRECT_REF): Correct typo in May 8 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10695 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * pa.md (millicode delay slot description): Remove reference
law [Sun, 10 Dec 1995 06:07:52 +0000 (06:07 +0000)]
    * pa.md (millicode delay slot description): Remove reference
        to defunct TARGET_MILLICODE_LONG_CALLS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10694 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(subsi3): Rename to subsi3_internal. Add new define_expand
wilson [Sat, 9 Dec 1995 23:11:50 +0000 (23:11 +0000)]
(subsi3): Rename to subsi3_internal.  Add new define_expand
to handle subtracting a register from a constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10693 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ADDRESS_COST): Define.
wilson [Sat, 9 Dec 1995 23:04:27 +0000 (23:04 +0000)]
(ADDRESS_COST): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10692 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix recent breakage
meissner [Sat, 9 Dec 1995 00:30:07 +0000 (00:30 +0000)]
Fix recent breakage

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10691 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * arm/lib1funcs.asm (RET, RETCOND): Define according to whether we
erich [Fri, 8 Dec 1995 15:47:42 +0000 (15:47 +0000)]
* arm/lib1funcs.asm (RET, RETCOND): Define according to whether we
are compiling for 32 or 26 bit mode.
(all return instructions): Use RET or RETCOND as appropriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10690 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoRecognize aof in the OS field.
erich [Wed, 6 Dec 1995 11:57:46 +0000 (11:57 +0000)]
Recognize aof in the OS field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10685 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoDon't define inhibit_libc when building libgcc2.a.
erich [Wed, 6 Dec 1995 11:54:43 +0000 (11:54 +0000)]
Don't define inhibit_libc when building libgcc2.a.
(CROSS_FLOAT_H): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10684 138bc75d-0d04-0410-961f-82ee72b054a4