OSDN Git Service

pf3gnuchains/gcc-fork.git
26 years agoBump for snapshot
law [Sat, 4 Apr 1998 23:34:34 +0000 (23:34 +0000)]
Bump for snapshot

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

26 years agoBump for snapshot
law [Sat, 4 Apr 1998 23:33:41 +0000 (23:33 +0000)]
Bump for snapshot

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

26 years ago* i386.c (asm_output_function_prefix, load_pic_register):
rth [Sat, 4 Apr 1998 20:25:44 +0000 (20:25 +0000)]
* i386.c (asm_output_function_prefix, load_pic_register):
Use ASM_GENERATE_INTERNAL_LABEL properly.
(output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
(print_operand): Ignore it.
(load_pic_register): Use it for the got load call.
* i386.md (prologue_set_got, prologue_get_pc): Likewise.
(prologue_get_pc_and_set_got): Likewise.
* i386.h: Update print_operand docs.

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

26 years ago* i386.md (ffssi, ffshi): Rewrite as define_expands.
rth [Sat, 4 Apr 1998 19:57:26 +0000 (19:57 +0000)]
* i386.md (ffssi, ffshi): Rewrite as define_expands.
(ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
* i386.c (notice_update_cc): Recognize unspec 5.

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

26 years ago * method.c (check_btype): Add missing argument to xrealloc.
law [Sat, 4 Apr 1998 19:53:58 +0000 (19:53 +0000)]
    * method.c (check_btype): Add missing argument to xrealloc.
        (check_ktype): Likewise.

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

26 years agoClarify LEGITIMIZE_RELOAD_ADDRESS issues a tad.
rth [Sat, 4 Apr 1998 18:37:01 +0000 (18:37 +0000)]
Clarify LEGITIMIZE_RELOAD_ADDRESS issues a tad.

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

26 years ago* alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
rth [Sat, 4 Apr 1998 18:20:59 +0000 (18:20 +0000)]
* alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
* alpha.c (print_operand): Handle it.
* alpha.md (fix_truncsfdi2): Use it.  Add earlyclobber pattern
for ALPHA_TP_INSN.
(fix_truncdfdi2): Likewise.

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

26 years ago* com.c (ffecom_expr_): Revert Oct 22 change. Instead take a WIDENP
rth [Sat, 4 Apr 1998 17:46:35 +0000 (17:46 +0000)]
* com.c (ffecom_expr_): Revert Oct 22 change.  Instead take a WIDENP
argument so that we can respect the signedness of the original type.
(ffecom_init_0): Do sizetype initialization first.

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

26 years ago* tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
rth [Sat, 4 Apr 1998 17:46:06 +0000 (17:46 +0000)]
* tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
of these into a single struct, with additional [us]sizetype entries.
* stor-layout.c (set_sizetype): Initialize [us]sizetype.
* fold-const.c (size_int_wide): Don't rely on sizetype_tab being
an array.

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

26 years ago* configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
rth [Sat, 4 Apr 1998 17:04:24 +0000 (17:04 +0000)]
* configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.

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

26 years ago* haifa-sched.c (split_block_insns): Don't supress insn splitting
rth [Sat, 4 Apr 1998 13:54:32 +0000 (13:54 +0000)]
* haifa-sched.c (split_block_insns): Don't supress insn splitting
on subsequent passes.
* alpha.c (hard_fp_register_operand): New function.
* alpha.h (PREDICATE_CODES): Add it.
* alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case.  Add an
f<-m case and accompanying define_split.
(trapb): Use a unique unspec_volatile number.

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

26 years ago * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
law [Sat, 4 Apr 1998 13:54:31 +0000 (13:54 +0000)]
    * Check in merge from gcc2.  See ChangeLog.11 and ChangeLog.12
        for details.

        * haifa-sched.c: Mirror recent changes from gcc2.

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

26 years ago * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
law [Sat, 4 Apr 1998 13:54:29 +0000 (13:54 +0000)]
    * Check in merge from gcc2.  See ChangeLog.11 and ChangeLog.12
        for details.

        * haifa-sched.c: Mirror recent changes from gcc2.

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

26 years ago * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
law [Sat, 4 Apr 1998 13:54:28 +0000 (13:54 +0000)]
    * Check in merge from gcc2.  See ChangeLog.11 and ChangeLog.12
        for details.

        * haifa-sched.c: Mirror recent changes from gcc2.

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

26 years ago * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
law [Sat, 4 Apr 1998 13:54:26 +0000 (13:54 +0000)]
    * Check in merge from gcc2.  See ChangeLog.11 and ChangeLog.12
        for details.

        * haifa-sched.c: Mirror recent changes from gcc2.

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

26 years ago* configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
rth [Sat, 4 Apr 1998 13:32:43 +0000 (13:32 +0000)]
* configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
from gcc2 merge.

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

26 years ago * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
law [Sat, 4 Apr 1998 13:32:42 +0000 (13:32 +0000)]
    * Check in merge from gcc2.  See ChangeLog.11 and ChangeLog.12
        for details.

        * haifa-sched.c: Mirror recent changes from gcc2.

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

26 years ago * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
law [Sat, 4 Apr 1998 13:32:41 +0000 (13:32 +0000)]
    * Check in merge from gcc2.  See ChangeLog.11 and ChangeLog.12
        for details.

        * haifa-sched.c: Mirror recent changes from gcc2.

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

26 years ago * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
law [Sat, 4 Apr 1998 13:32:39 +0000 (13:32 +0000)]
    * Check in merge from gcc2.  See ChangeLog.11 and ChangeLog.12
        for details.

        * haifa-sched.c: Mirror recent changes from gcc2.

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

26 years agodummy commit before merge
law [Fri, 3 Apr 1998 16:37:26 +0000 (16:37 +0000)]
dummy commit before merge

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

26 years agodummy commit before merge
law [Fri, 3 Apr 1998 16:22:13 +0000 (16:22 +0000)]
dummy commit before merge

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

26 years ago Implement empty base optimization.
jason [Fri, 3 Apr 1998 14:13:24 +0000 (14:13 +0000)]
Implement empty base optimization.
* class.c (finish_struct_1): Add vbase fields earlier.  Set
CLASSTYPE_SIZE of an empty base to 0.  Types with bases can be empty.
* search.c (dfs_check_overlap, dfs_no_overlap_yet): New fns.
(types_overlap_p): New fn.
* tree.c (avoid_overlap): New fn.
(build_base_fields): Use it to avoid overlapping empty bases.
* cp-tree.h, decl2.c, lang-options.h: Add -fnew-abi.

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

26 years ago * Makefile.in (insn*.o): Depend on system.h.
law [Fri, 3 Apr 1998 12:29:37 +0000 (12:29 +0000)]
    * Makefile.in (insn*.o): Depend on system.h.

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

26 years agox86 regex.c failure from Jim Meyering.
wilson [Fri, 3 Apr 1998 12:29:04 +0000 (12:29 +0000)]
x86 regex.c failure from Jim Meyering.
* compile/980329-1.c: New test.

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

26 years ago * decl.c (cplus_expand_expr_stmt): Strip unused INDIRECT_REFs.
jason [Fri, 3 Apr 1998 12:17:58 +0000 (12:17 +0000)]
* decl.c (cplus_expand_expr_stmt): Strip unused INDIRECT_REFs.

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

26 years ago Re-implement allocation of base class subobjects.
jason [Fri, 3 Apr 1998 03:41:20 +0000 (03:41 +0000)]
Re-implement allocation of base class subobjects.
* tree.c (unshare_base_binfos): New fn.
(layout_basetypes): Use it.  Now handles offsets of both virtual and
non-virtual bases, after layout_type.
(layout_vbasetypes): Remove.
(build_base_fields): Generate FIELD_DECLs for each non-virtual base.
(build_vbase_pointer_fields): Split out from old layout_basetypes.
* class.c (finish_base_struct): Lose offset handling code.
Move nonvdtor warning here.  Don't mess with t_binfo anymore.
(finish_struct_1): Don't mess with t_binfo anymore.  Use fns above.
* cp-tree.h: Adjust.

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

26 years ago * pa.c (output_global_address): Initialize base.
law [Thu, 2 Apr 1998 23:18:27 +0000 (23:18 +0000)]
    * pa.c (output_global_address): Initialize base.
        * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.

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

26 years ago * gthr.h: Support systems that don't have weak, but have threads.
law [Thu, 2 Apr 1998 23:15:06 +0000 (23:15 +0000)]
    * gthr.h: Support systems that don't have weak, but have threads.
        * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
        * gthr-vxworks.h: New file.
        * objc/thr-vxworks.h: Dummy file from thr-single.c for now.

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

26 years agoReadd patch for SCO5 to fix build problem.
wilson [Thu, 2 Apr 1998 18:30:53 +0000 (18:30 +0000)]
Readd patch for SCO5 to fix build problem.
* info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
that provide TIOCETC but not struct tchars.

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

26 years agoFix x86 core dump on regex.c
wilson [Thu, 2 Apr 1998 18:12:00 +0000 (18:12 +0000)]
Fix x86 core dump on regex.c
* i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.

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

26 years ago * cp-tree.h: Lose CLASSTYPE_VBASE_SIZE, some unused stuff.
jason [Thu, 2 Apr 1998 17:05:40 +0000 (17:05 +0000)]
* cp-tree.h: Lose CLASSTYPE_VBASE_SIZE, some unused stuff.
* decl.c, decl2.c, pt.c, ptree.c, lex.c: Likewise.
* class.c (duplicate_tag_error): Likewise.
(finish_struct_1): Set CLASSTYPE_SIZE, CLASSTYPE_MODE, CLASSTYPE_ALIGN.
* tree.c (layout_vbasetypes): Update from layout_record, remove
var_size support, use CLASSTYPE_SIZE instead of CLASSTYPE_VBASE_SIZE.
(layout_basetypes): Likewise.

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

26 years agoupdate
jason [Thu, 2 Apr 1998 16:19:01 +0000 (16:19 +0000)]
update

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

26 years agoPatch from vmakarov to avoid warnings with -Wall.
wilson [Thu, 2 Apr 1998 11:54:27 +0000 (11:54 +0000)]
Patch from vmakarov to avoid warnings with -Wall.
* ginclude/va-i960.h (va_end): Change void * to void.

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

26 years agoPatched in the gcc directory:
ghazi [Thu, 2 Apr 1998 11:07:45 +0000 (11:07 +0000)]
Patched in the gcc directory:
        * Makefile.in (choose-temp.o): Depend on system.h.
Patched in both the libiberty and gcc directories:
        * choose-temp.c: Include system.h when IN_GCC.

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

26 years agoUpdate with automake patched for DATA=$(INSTALL_DATA) problem.
rth [Thu, 2 Apr 1998 03:45:22 +0000 (03:45 +0000)]
Update with automake patched for DATA=$(INSTALL_DATA) problem.

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

26 years ago* reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
rth [Thu, 2 Apr 1998 02:42:26 +0000 (02:42 +0000)]
* reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
(move_replacements): New function.
* reload.h: Prototype it.
* alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.

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

26 years ago* final.c (alter_subreg): Allow the target to hook by-mode subreg
rth [Thu, 2 Apr 1998 01:56:17 +0000 (01:56 +0000)]
* final.c (alter_subreg): Allow the target to hook by-mode subreg
hard register number changes.

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

26 years ago* emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
rth [Thu, 2 Apr 1998 01:33:22 +0000 (01:33 +0000)]
* emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
(gen_highpart): Likewise.

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

26 years ago* configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
rth [Thu, 2 Apr 1998 01:13:17 +0000 (01:13 +0000)]
* configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
Run fixincludes.

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

26 years ago * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
law [Wed, 1 Apr 1998 23:35:51 +0000 (23:35 +0000)]
    * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
        rnbitsize, rnmode and rinner.
        (make_range): Initialize type.
        (fold): Initialize arg0, arg1 and varop.
        * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
        and regnor.
        (expand_function_start): Initialize last_ptr.
        * stor-layout.c (layout_record): Initialize desired_align.
        (get_best_mode): Initialize unit.
        * tree.c (copy_node): Initialize length.

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

26 years ago * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
law [Wed, 1 Apr 1998 23:18:11 +0000 (23:18 +0000)]
    * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
        * caller-save.c (insert_save_restore): Initialize pat, code and
        numregs.
        * emit-rtl.c (push_to_sequence): Initialize top.
        (push_topmost_sequence): Likewise.
        * genattrtab.c (simplify_by_exploding): Initialize defval.
        * profile.c (branch_prob): Initialize dest.
        * rtl.h (note_stores): Remove duplicate prototype.
        (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
Fix some warnings.
        * cplus-dem.c (gnu_special): Don't get confused by .<digits>
        strings that are not actually lengths.
A change from libiberty that didn't make it into the gcc copy.

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

26 years ago * genattrtab.c: Make generated file use system.h, instead of
law [Wed, 1 Apr 1998 22:44:48 +0000 (22:44 +0000)]
    * genattrtab.c: Make generated file use system.h, instead of
        including stdio.h, etc directly.
        * genextract.c, genopinit.c, genoutput.c: Likewise.
        * genpeep.c, genrecog.c: Likewise
        * genoutput.c (process_template): Mark operands in the generated
        function as potentially unused if compiling with GNU CC.

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

26 years ago * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
law [Wed, 1 Apr 1998 21:56:36 +0000 (21:56 +0000)]
    * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.

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

26 years ago * pa.md (reload peepholes): Remove unused variable "mode".
law [Wed, 1 Apr 1998 21:27:16 +0000 (21:27 +0000)]
    * pa.md (reload peepholes): Remove unused variable "mode".

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

26 years agoRemoved thumb-pe support.
nickc [Wed, 1 Apr 1998 17:30:46 +0000 (17:30 +0000)]
Removed thumb-pe support.

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

26 years agoRemoved thumb-pe target.
nickc [Wed, 1 Apr 1998 17:26:35 +0000 (17:26 +0000)]
Removed thumb-pe target.

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

26 years ago * class.c, Make sure system.h is included just after config.h.
law [Wed, 1 Apr 1998 17:25:12 +0000 (17:25 +0000)]
    * class.c, Make sure system.h is included just after config.h.
        Delete lingering stdio and errno references too.
        * decl.c, errfn.c, parse.y, ptree.c search.c, xrefc.: Likewwise.

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

26 years agoAdd thumb-pe support.
nickc [Wed, 1 Apr 1998 17:19:01 +0000 (17:19 +0000)]
Add thumb-pe support.
Add super interworking.

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

26 years agotweak
jason [Wed, 1 Apr 1998 17:15:54 +0000 (17:15 +0000)]
tweak

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

26 years ago * friend.c (is_friend): Fix access control for local classes.
jason [Wed, 1 Apr 1998 17:05:25 +0000 (17:05 +0000)]
* friend.c (is_friend): Fix access control for local classes.
* class.c (is_empty_class): New fn.
* call.c (build_call): Don't pass empty class objects to a function.

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

26 years ago * call.c (build_over_call): Do name resolution for default
mmitchel [Wed, 1 Apr 1998 16:27:24 +0000 (16:27 +0000)]
* call.c (build_over_call): Do name resolution for default
arguments of function templates in the scope of the templates.

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

26 years agoFix irix6-x-foo cross compiler build problem where irix6 gcc invokes wrong as.
wilson [Wed, 1 Apr 1998 14:40:00 +0000 (14:40 +0000)]
Fix irix6-x-foo cross compiler build problem where irix6 gcc invokes wrong as.
* config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
(MD_STARTFILE_PREFIX): Unset.

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

26 years ago * cplus-dem.c (optable): Add sizeof.
mmitchel [Wed, 1 Apr 1998 13:48:48 +0000 (13:48 +0000)]
* cplus-dem.c (optable): Add sizeof.
(demangle_template_value_parm): New function containing code
previously found in demangle_template.
(demangle_integral_value): New function which handles complicated
integral expressions.
(demangle_template): Use them.

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

26 years ago * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
mmitchel [Wed, 1 Apr 1998 13:45:40 +0000 (13:45 +0000)]
* varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
entity in a local scope.
* fold-const.c (fold): Call truthvalue_conversion for values which
are folded to boolean type.

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

26 years ago * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
law [Wed, 1 Apr 1998 05:20:26 +0000 (05:20 +0000)]
    * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
        * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
        * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
        * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
        * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
        * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
        * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
        * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
        * md.texi: Likewise.

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

26 years ago8
manfred [Tue, 31 Mar 1998 22:35:25 +0000 (22:35 +0000)]
8
* fixincludes (limits.h): Fix nested comments in Motorola's
limits.h and sys/limits.h.

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

26 years ago@
manfred [Tue, 31 Mar 1998 22:35:23 +0000 (22:35 +0000)]
@
* fixincludes (limits.h): Fix nested comments in Motorola's
limits.h and sys/limits.h.

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

26 years agoFix alpha-vms packed-1 failure.
wilson [Tue, 31 Mar 1998 19:24:52 +0000 (19:24 +0000)]
Fix alpha-vms packed-1 failure.
* alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
as dest of expand_binop call.

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

26 years agoFix core dump while compiling gdb-4.16.
wilson [Tue, 31 Mar 1998 19:20:08 +0000 (19:20 +0000)]
Fix core dump while compiling gdb-4.16.
* alpha.md (extzv): Correct check for valid operand[2] values.

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

26 years agoFix HPPA -fprofile-arcs abort on switch statements.
wilson [Tue, 31 Mar 1998 18:56:59 +0000 (18:56 +0000)]
Fix HPPA -fprofile-arcs abort on switch statements.
* profile.c (branch_prob): Add code to recognize HPPA tablejump entry
branch.

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

26 years agoFix problem where different code gets generated with/without -Wreturn-type.
wilson [Tue, 31 Mar 1998 16:59:41 +0000 (16:59 +0000)]
Fix problem where different code gets generated with/without -Wreturn-type.
* toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.

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

26 years ago * call.c: Include system.h. Remove includes, declarations and
law [Tue, 31 Mar 1998 13:25:46 +0000 (13:25 +0000)]
    * call.c: Include system.h.  Remove includes, declarations and
        defines provided by system.h.
        * class.c, cvt.c, decl.c, decl2.c, errfn.c error.c: Likewise.
        * except.c, expr.c friend.c, g++spec.c, init.c, input.c: Likewise.
        * lex.c, parse.y, pt.c, ptree.c repo.c rtti.c, search.c: Likewise.
        * semantics.c, sig.c, spew.c, tree.c, typeck.c: Likewise.
        * typeck2.c, xref.c: Likewise.
        * Makefile.in: Dependencies updated as appropriate.
        * Make-lang.in: Likewise.
system.h cutover from the cp subdir

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

26 years agogcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
scox [Mon, 30 Mar 1998 14:35:36 +0000 (14:35 +0000)]
gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.

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

26 years ago(__main, __do_global_dtors, __do_global_ctors): For __CYGWIN32__ use the versions...
scox [Mon, 30 Mar 1998 14:33:55 +0000 (14:33 +0000)]
(__main, __do_global_dtors, __do_global_ctors): For __CYGWIN32__ use the versions in winsup/dcrt0.cc.

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

26 years ago * pt.c (fn_type_unification): Allow incomplete unification without
mmitchel [Mon, 30 Mar 1998 12:17:01 +0000 (12:17 +0000)]
  * pt.c (fn_type_unification): Allow incomplete unification without
an immediate error message.

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

26 years agoMore cutover to system.h:
ghazi [Mon, 30 Mar 1998 12:05:54 +0000 (12:05 +0000)]
More cutover to system.h:
        * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
        cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
        gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
        system.h.
        * cpphash.c: Include config.h.
        * cppalloc.c: Include system.h.  Add parameters to various
        function prototypes.
        * cpperror.c: Likewise.
        * cppexp.c: Likewise.
        * cpphash.c: Likewise.
        * cpplib.c: Likewise.
        * cppmain.c: Likewise.
        * fix-header.c: Likewise.
        * gcov.c: Likewise.
        * gen-protos.c: Likewise.
        * gengenrtl.c: Likewise.
        * halfpic.c: Likewise.
        * hash.c: Likewise.
        * scan-decls.c: Likewise.
        * scan.c: Likewise.

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

26 years agoFix problem reported by Thomas Quinot.
wilson [Mon, 30 Mar 1998 11:08:05 +0000 (11:08 +0000)]
Fix problem reported by Thomas Quinot.
* README.gnat: Add lang_print_xnode definition.

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

26 years ago * tree.c (member_p): New fn.
jason [Mon, 30 Mar 1998 10:56:25 +0000 (10:56 +0000)]
* tree.c (member_p): New fn.
* decl2.c (finish_file): Only set DECL_STATIC_FUNCTION_P for
initializing class members.
* cp-tree.def (TEMPLATE_PARM_INDEX): Class 'x'.
* ptree.c (lang_print_xnode): Handle TEMPLATE_PARM_INDEX.

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

26 years ago * call.c (build_method_call): Handle non-scoped destructors, too.
jason [Mon, 30 Mar 1998 09:07:34 +0000 (09:07 +0000)]
* call.c (build_method_call): Handle non-scoped destructors, too.
* pt.c (tsubst_copy): Likewise.
* pt.c (print_template_context): Split out...
(push_tinst_level): ...from here.
* friend.c (is_friend): Don't pass a type to decl_function_context.
* typeck.c (convert_for_initialization): Always hand off
conversions to class type.

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

26 years ago * config/m68k/m68k.c (standard_68881_constant_p): Don't use
schwab [Mon, 30 Mar 1998 01:14:16 +0000 (01:14 +0000)]
* config/m68k/m68k.c (standard_68881_constant_p): Don't use
fmovecr on the 68060.

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

26 years ago * genemit.c (DONE): Rework so that it works in the true arm if
law [Sun, 29 Mar 1998 23:22:49 +0000 (23:22 +0000)]
    * genemit.c (DONE): Rework so that it works in the true arm if
        an if-else conditional.
        (FAIL): Likewise.

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

26 years ago * rs6000.c: Do not include stdioh or ctype.h anymore.
law [Sun, 29 Mar 1998 22:48:16 +0000 (22:48 +0000)]
    * rs6000.c: Do not include stdioh or ctype.h anymore.

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

26 years ago * friend.c (is_friend): Local classes have the same access as the
jason [Sun, 29 Mar 1998 20:04:28 +0000 (20:04 +0000)]
* friend.c (is_friend): Local classes have the same access as the
enclosing function.

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

26 years ago * typeck.c (expand_target_expr): Delete dead function.
law [Sun, 29 Mar 1998 12:45:05 +0000 (12:45 +0000)]
    * typeck.c (expand_target_expr): Delete dead function.

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

26 years ago * search.c: Put various prototypes inside #ifdef MI_MATRIX.
law [Sun, 29 Mar 1998 12:42:39 +0000 (12:42 +0000)]
    * search.c: Put various prototypes inside #ifdef MI_MATRIX.

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

26 years ago * method.c (thunk_printable_name): Delete dead function.
law [Sun, 29 Mar 1998 12:38:51 +0000 (12:38 +0000)]
    * method.c (thunk_printable_name): Delete dead function.

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

26 years ago * lex.c (yynextch): Delete dead function.
law [Sun, 29 Mar 1998 12:37:18 +0000 (12:37 +0000)]
    * lex.c (yynextch): Delete dead function.

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

26 years ago * expr.c (tree_extract_aggr_init): #if 0 out.
law [Sun, 29 Mar 1998 12:36:07 +0000 (12:36 +0000)]
    * expr.c (tree_extract_aggr_init): #if 0 out.

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

26 years ago * except.c (do_unwind): Delete dead function.
law [Sun, 29 Mar 1998 12:33:51 +0000 (12:33 +0000)]
    * except.c (do_unwind): Delete dead function.
        (easy_expand_asm): Likewise.

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

26 years ago * cvt.c (build_conversion_type_1): Delete dead function.
law [Sun, 29 Mar 1998 12:31:34 +0000 (12:31 +0000)]
    * cvt.c (build_conversion_type_1): Delete dead function.

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

26 years ago * cp-tree.h (push_expression_obstack): Declare.
law [Sun, 29 Mar 1998 12:30:13 +0000 (12:30 +0000)]
    * cp-tree.h (push_expression_obstack): Declare.

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

26 years agoi * call.c (source_type): #if 0 out.
law [Sun, 29 Mar 1998 12:28:21 +0000 (12:28 +0000)]
i        * call.c (source_type): #if 0 out.

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

26 years ago * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
law [Sun, 29 Mar 1998 11:54:09 +0000 (11:54 +0000)]
    * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
        $(RTL_H).
        (stor-layout.o): Likewise.
        * c-typeck.c: Include rtl.h and expr.h.
        * stor-layout.c: Likewise.

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

26 years ago * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
law [Sun, 29 Mar 1998 11:51:23 +0000 (11:51 +0000)]
    * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
        All callers changed.
        (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
        * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
        All callers changed.

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

26 years ago * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
law [Sun, 29 Mar 1998 11:49:10 +0000 (11:49 +0000)]
    * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.

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

26 years ago * local-alloc.c (reg_classes_overlap_p): Delete dead function.
law [Sun, 29 Mar 1998 11:47:52 +0000 (11:47 +0000)]
    * local-alloc.c (reg_classes_overlap_p): Delete dead function.

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

26 years ago * tree.h (lang_print_xnode): Provide prototype.
law [Sun, 29 Mar 1998 11:46:20 +0000 (11:46 +0000)]
    * tree.h (lang_print_xnode): Provide prototype.

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

26 years agoBump for snapshot
law [Sat, 28 Mar 1998 23:50:46 +0000 (23:50 +0000)]
Bump for snapshot

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

26 years ago * class.c (alter_access): Remove unused label. Add braces
law [Sat, 28 Mar 1998 23:49:35 +0000 (23:49 +0000)]
    * class.c (alter_access): Remove unused label.  Add braces
        around empty else clause.
        * lex.c (yyprint): Fix argument to printf.

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

26 years ago * objc/sendmsg.c (__objc_block_forward): Add braces for return
law [Sat, 28 Mar 1998 23:47:41 +0000 (23:47 +0000)]
    * objc/sendmsg.c (__objc_block_forward): Add braces for return
        value if INVISIBLE_STRUCT_RETURN.

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

26 years ago * pa.c (arith_double_operand): Fix parens.
law [Sat, 28 Mar 1998 23:46:19 +0000 (23:46 +0000)]
    * pa.c (arith_double_operand): Fix parens.

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

26 years ago * haifa-sched.c (print_pattern): Correct arg to sprintf.
law [Sat, 28 Mar 1998 23:45:08 +0000 (23:45 +0000)]
    * haifa-sched.c (print_pattern): Correct arg to sprintf.

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

26 years ago * Makefile.in (libgcc1.null): Make return type for __foo void.
law [Sat, 28 Mar 1998 23:43:54 +0000 (23:43 +0000)]
    * Makefile.in (libgcc1.null): Make return type for __foo void.

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

26 years ago * pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
mmitchel [Sat, 28 Mar 1998 17:47:07 +0000 (17:47 +0000)]
* pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
* pt.c (instantiate_class_template): Make sure template
arguments are permanent.
* init.c (resolve_offset_ref): Don't go looking around in
template types.
* semantics.c: Add routines to handle expressions, and some
declaration processing.
* parse.y: Use them.
(current_class_depth): Move declaration to cp-tree.h.
* parse.c: Regenerated.
* cp-tree.h: Use them.
(current_class_depth): Declare.
* pt.c (tsubst_copy): Use begin_stmt_expr and finish_stmt_expr.

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

26 years ago * pa.h: Add declarations for many functions defined in pa.c.
law [Sat, 28 Mar 1998 14:17:48 +0000 (14:17 +0000)]
    * pa.h: Add declarations for many functions defined in pa.c.

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

26 years ago * genpeep.c (main): Remove unused variable 'i' from the generated
law [Sat, 28 Mar 1998 14:15:37 +0000 (14:15 +0000)]
    * genpeep.c (main): Remove unused variable 'i' from the generated
        file.

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

26 years ago * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
law [Sat, 28 Mar 1998 13:55:34 +0000 (13:55 +0000)]
    * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
        (gen_split): Likewise.
        (main): Rework generated definitions of DONE and FAIL so that they
        no longer use gotos.  Avoids warnings about unused labels.

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

26 years ago * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
law [Sat, 28 Mar 1998 13:45:47 +0000 (13:45 +0000)]
    * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
        unused "junk" variable.

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

26 years ago * genattrtab.c (write_complex_function): Add a default case in
law [Sat, 28 Mar 1998 13:40:07 +0000 (13:40 +0000)]
    * genattrtab.c (write_complex_function): Add a default case in
        generated switch statement to keep -W -Wall quiet.

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

26 years agoAdd documentation of more ARM command line options.
nickc [Sat, 28 Mar 1998 13:15:57 +0000 (13:15 +0000)]
Add documentation of more ARM command line options.
Add documentation of Thumb command line options.

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