platform/upstream/gcc.git
26 years agoxm-sco5.h (sys_siglist): Define.
Robert Lipe [Wed, 3 Sep 1997 15:04:27 +0000 (15:04 +0000)]
xm-sco5.h (sys_siglist): Define.

        * xm-sco5.h (sys_siglist): Define.
        (SYS_SIGLIST_DECLARED): Likewise.
From Robert Lipe.

From-SVN: r15056

26 years agotypeck.c (convert_arguments): Don't arbitrarily choose the first of a set of overload...
Jason Merrill [Wed, 3 Sep 1997 08:26:52 +0000 (08:26 +0000)]
typeck.c (convert_arguments): Don't arbitrarily choose the first of a set of overloaded functions.

        * typeck.c (convert_arguments): Don't arbitrarily choose the first
        of a set of overloaded functions.

        * lex.c (real_yylex): Don't elide __FUNCTION__.

From-SVN: r15055

26 years agoexpr.c (convert_move): Handle truncation from TQFmode to QFmode.
Jeffrey A Law [Wed, 3 Sep 1997 05:33:06 +0000 (05:33 +0000)]
expr.c (convert_move): Handle truncation from TQFmode to QFmode.

        * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
From Christian Iseli.

From-SVN: r15054

26 years agoTweak.
Jeff Law [Wed, 3 Sep 1997 05:02:58 +0000 (23:02 -0600)]
Tweak.

From-SVN: r15053

26 years agoxm-svr4.h (SYS_SIGLIST_DECLARED): Define.
Jeffrey A Law [Wed, 3 Sep 1997 04:39:26 +0000 (04:39 +0000)]
xm-svr4.h (SYS_SIGLIST_DECLARED): Define.

        * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
        * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
        * gcc.texi: Note that if you define sys_siglist that you should
        also define SYS_SIGLIST_DECLARED.
autoconf doesn't handle finding sys_siglist under different names.

From-SVN: r15052

26 years agoMakefile.in (install, [...]): Make these phony targets.
Jeff Law [Wed, 3 Sep 1997 04:25:26 +0000 (22:25 -0600)]
Makefile.in (install, [...]): Make these phony targets.

        * Makefile.in (install, install-info, installdirs, uninstall): Make
        these phony targets.
So we don't overwrite a newer version of texinfo that might already be
installed on the system.

        * makeinfo/makeinfo.c: Maybe include <stdlib.h> for malloc et al.
        * util/install-info.c: Include <string*.h>.
        (my_strerror): Use strerror if available.
Avoids alpha bug and redecl of sys_errlist problems.

From-SVN: r15051

26 years agoexcept.c (eh_outer_context): Expand masking operation using expand_binop.
Torbjorn Granlund [Wed, 3 Sep 1997 02:08:35 +0000 (04:08 +0200)]
except.c (eh_outer_context): Expand masking operation using expand_binop.

        * except.c (eh_outer_context): Expand masking operation using
        expand_binop.
From tege.

From-SVN: r15046

26 years agoFix alpha-linux -mieee bug reported by H.J. Lu.
Jim Wilson [Wed, 3 Sep 1997 01:27:01 +0000 (01:27 +0000)]
Fix alpha-linux -mieee bug reported by H.J. Lu.

* alpha.md (floatdisf2-1): New pattern.

From-SVN: r15045

26 years agomn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions are relative to the next...
Jeffrey A Law [Wed, 3 Sep 1997 00:46:39 +0000 (00:46 +0000)]
mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions are relative to the next instruction...

        * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
        are relative to the next instruction, not the current instruction.

From-SVN: r15043

26 years ago* lib/gcc-dg.exp (gcc-dg-test): Fix typos setting compile_type.
Doug Evans [Tue, 2 Sep 1997 23:37:40 +0000 (23:37 +0000)]
* lib/gcc-dg.exp (gcc-dg-test): Fix typos setting compile_type.

From-SVN: r15042

26 years agoFix i386 code generation error reported by Mumit Khan.
Jim Wilson [Tue, 2 Sep 1997 21:40:31 +0000 (21:40 +0000)]
Fix i386 code generation error reported by Mumit Khan.

* local-alloc.c (contains_replace_regs): New function.
(update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
verify that there is no existing REG_EQUIV note, and add a call to
contains_place_regs.

From-SVN: r15041

26 years agomethod.c (build_overload_value): Add in_template parm.
Jason Merrill [Tue, 2 Sep 1997 21:33:28 +0000 (21:33 +0000)]
method.c (build_overload_value): Add in_template parm.

* method.c (build_overload_value): Add in_template parm.
(build_overload_int): Likewise.
(build_overload_identifier): Pass it.

* decl.c (duplicate_decls): Don't bash a previous template
  definition with a redeclaration.

From-SVN: r15040

26 years agopt.c (unify): float doesn't match double.
Jason Merrill [Tue, 2 Sep 1997 20:27:13 +0000 (16:27 -0400)]
pt.c (unify): float doesn't match double.

* pt.c (unify): float doesn't match double.

* pt.c (do_type_instantiation): Handle getting a _TYPE or a
  TYPE_DECL.  Handle getting non-template types.
* parse.y (explicit_instantiation): Use typespec instead of
aggr template_type.

Tue Sep  2 10:27:08 1997  Richard Henderson  <rth@cygnus.com>

* typeck.c (build_ptrmemfunc1): Clean up ptr->int cast warnings.

From-SVN: r15037

26 years agoPatch from H.J. Lu for alpha-linux port.
H.J. Lu [Tue, 2 Sep 1997 19:53:50 +0000 (19:53 +0000)]
Patch from H.J. Lu for alpha-linux port.

* config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
(STARTFILE_SPEC): Always use crtbegin.o%s
(ENDFILE_SPEC): Always use crtend.o%s.

From-SVN: r15036

26 years agoFix alpha-linux core dump reported by H.J. Lu.
Jim Wilson [Tue, 2 Sep 1997 19:37:05 +0000 (19:37 +0000)]
Fix alpha-linux core dump reported by H.J. Lu.

* alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
is passed in.
* emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
SFmode for 64 bit hosts.

From-SVN: r15035

26 years agofixincludes: Permits spaces between # and define.
Paul N. Hilfinger [Tue, 2 Sep 1997 18:38:30 +0000 (18:38 +0000)]
fixincludes: Permits spaces between # and define.

        * fixincludes: Permits spaces between # and define.  Discard C++
        comments in sys/pci.h on HP/UX 10.20.

From-SVN: r15034

26 years agopa.c (restore_unscaled_index_insn_codes): New function.
Jeffrey A Law [Tue, 2 Sep 1997 05:33:19 +0000 (05:33 +0000)]
pa.c (restore_unscaled_index_insn_codes): New function.

        * pa.c (restore_unscaled_index_insn_codes): New function.
        (record_unscaled_index_insn_codes): Likewise.
        (output_function_prologue): Call restore_unscaled_index_insn_codes.
        (output_function_epilogue): Free memory for unscaled_index_insn_codes.
        (pa_reorg): Call record_unscaled_index_insn_codes.

From-SVN: r15028

26 years agoversion.c: Bump for snapshot.
Jeffrey A Law [Tue, 2 Sep 1997 04:12:45 +0000 (04:12 +0000)]
version.c: Bump for snapshot.

        * version.c: Bump for snapshot.
Preparing for next snapshot.

        * haifa-sched.c (move_insn): Handle notes correctly for insns
        with SCHED_GROUP_P set.
Should fix some x86 failures with haifa enabled.

From-SVN: r15027

26 years agoPatch from H.J. Lu for minor alpha-linux problem.
H.J. Lu [Tue, 2 Sep 1997 00:00:55 +0000 (00:00 +0000)]
Patch from H.J. Lu for minor alpha-linux problem.

* alpha/xm-linux.h (USE_BFD): Undef before define.

From-SVN: r15026

26 years agoFix sunos4/rs6000/powerpc/etc build problems with multilibbed libraries.
Jim Wilson [Mon, 1 Sep 1997 23:55:29 +0000 (23:55 +0000)]
Fix sunos4/rs6000/powerpc/etc build problems with multilibbed libraries.

* configure.in (target_subdir): Set to libraries if enable_multilib.

From-SVN: r15025

26 years agoFix irix6 execute/921117-1.c c-torture failure.
Jim Wilson [Mon, 1 Sep 1997 23:43:03 +0000 (23:43 +0000)]
Fix irix6 execute/921117-1.c c-torture failure.

* cse.c (cse_insn): Don't record BLKmode values.

From-SVN: r15024

26 years agocall.c (build_new_op): Strip leading REF_BIND from first operand to builtin operator.
Jason Merrill [Mon, 1 Sep 1997 21:01:30 +0000 (21:01 +0000)]
call.c (build_new_op): Strip leading REF_BIND from first operand to builtin operator.

* call.c (build_new_op): Strip leading REF_BIND from first operand
to builtin operator.

* decl2.c (mark_vtable_entries): Mark abort_fndecl as used when we
use its RTL.

From-SVN: r15023

26 years ago* call.c (null_ptr_cst_p): Remove support for (void*)0.
Jason Merrill [Mon, 1 Sep 1997 20:07:22 +0000 (20:07 +0000)]
* call.c (null_ptr_cst_p): Remove support for (void*)0.

From-SVN: r15022

26 years ago* i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
Stephen Williams [Mon, 1 Sep 1997 17:27:19 +0000 (17:27 +0000)]
* i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.

From-SVN: r15013

26 years agocccp.c (sys_errlist): Remove special 4.4bsd declaration.
Jeffrey A Law [Mon, 1 Sep 1997 17:02:53 +0000 (17:02 +0000)]
cccp.c (sys_errlist): Remove special 4.4bsd declaration.

        * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
        * collect2.c (sys_errlist): Likewise.
        * cpplib.c (sys_errlist): Likewise.
        * gcc.c (sys_errlist): Likewise.
        * protoize (sys_errlist): Likewise.
        * configure.in: Check for strerror.
        * xm-freebsd.h (HAVE_STRERROR): Remove definition.
        * xm-gnu.h (HAVE_STRERROR): Likewise.
        * xm-linux.h (HAVE_STRERROR): Likewise.
        * xm-netbsd.h (HAVE_STRERROR): Likewise.
        * xm-bsd386.h (HAVE_STRERROR): Likewise.
        * xm-cygwin32.h (HAVE_STRERROR): Likewise.
        * xm-dos.h (HAVE_STRERROR): Likewise.
        * xm-mingw32.h (HAVE_STRERROR): Likewise.
        * xm-pa.h (HAVE_STRERROR): Likewise.
        * xm-papro.h (HAVE_STRERROR): Likewise.
        * xm-sysv4.h (HAVE_STRERROR): Likewise.
        * configure, config.in: Rebuilt.
Remove the need to define HAVE_STRERROR for each host port.

From-SVN: r15011

26 years agoMakefile.in: Add several missing "else true" clauses.
Jeffrey A Law [Mon, 1 Sep 1997 16:08:40 +0000 (16:08 +0000)]
Makefile.in: Add several missing "else true" clauses.

        * Makefile.in: Add several missing "else true" clauses.
Cater to broken "make" programs.

From-SVN: r15010

26 years agocollect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
Jeffrey A Law [Mon, 1 Sep 1997 14:57:29 +0000 (14:57 +0000)]
collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.

        * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
        * mips-tfile.c: Likewise.
        * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
        * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
        * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
        * configure.in: Check for sys_siglist declaration.
        * configure, config.in: Rebuilt.

Fix conflicting sys_siglist decls once and for all.

From-SVN: r15007

26 years agogo32-rtems.h, [...] (subtarget_switches): Added -mrtems as a switch.
Joel Sherrill [Mon, 1 Sep 1997 14:14:30 +0000 (14:14 +0000)]
go32-rtems.h, [...] (subtarget_switches): Added -mrtems as a switch.

        * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
        m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
        sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
        * i960/i960.h: Added SUBTARGET_SWITCHES macro.
        * rs6000/sysv4.h (extra_subtarget_switches): Added new
        macro EXTRA_SUBTARGET_SWITCHES.
        * configure.in (sh*-*-rtems*): New target.
        * sh/rtems.h: New file.
        * sh/sh.h: Added SUBTARGET_SWITCHES macro.
        * configure: Rebuilt.

From-SVN: r15006

26 years agoFix alpha loop unrolling abort.
Jim Wilson [Sun, 31 Aug 1997 05:57:40 +0000 (05:57 +0000)]
Fix alpha loop unrolling abort.

* unroll.c (calculate_giv_inc): Handle increment with code PLUS.

From-SVN: r15004

26 years agoFix Freedbsd build problem with patch from more recent texinfo sources.
Karl Berry [Sun, 31 Aug 1997 01:48:33 +0000 (01:48 +0000)]
Fix Freedbsd build problem with patch from more recent texinfo sources.

* info/terminal.c (terminal_prep_terminal): Only use OCRNL and
ONLCR if they are defined.  Reported by many people.

From-SVN: r15003

26 years agoPay DF fused add ops pay attention to -mno-fused-add
David Edelsohn [Sat, 30 Aug 1997 14:55:17 +0000 (14:55 +0000)]
Pay DF fused add ops pay attention to -mno-fused-add

From-SVN: r15002

26 years agoFix i386-pc-solaris2.5.1 _sys_siglistp redeclaration error.
Jim Wilson [Sat, 30 Aug 1997 02:21:34 +0000 (19:21 -0700)]
Fix i386-pc-solaris2.5.1 _sys_siglistp redeclaration error.

* i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.

From-SVN: r15001

26 years agopa.md (reload_peepholes): Make sure operand is a REG before examining REGNO.
Jeffrey A Law [Fri, 29 Aug 1997 22:14:07 +0000 (22:14 +0000)]
pa.md (reload_peepholes): Make sure operand is a REG before examining REGNO.

        * pa.md (reload_peepholes): Make sure operand is a REG before
        examining REGNO.  Allow general registers too.
Fixes sporatic c-torture failure.

Remove last change to fold-const.c and c-decl.c

From-SVN: r15000

26 years agoFix C++ template instantiation back end core dump.
Jim Wilson [Fri, 29 Aug 1997 18:52:51 +0000 (18:52 +0000)]
Fix C++ template instantiation back end core dump.

* varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.

From-SVN: r14999

26 years ago* execute/921007-1.c: Make strcmp static.
Jeffrey A Law [Fri, 29 Aug 1997 18:47:40 +0000 (18:47 +0000)]
* execute/921007-1.c: Make strcmp static.

From-SVN: r14998

26 years agodwarfout2.c (build_abbrev_table): Use xrealloc, not xmalloc to reallocate abbrev_die_...
Philipp Thomas [Fri, 29 Aug 1997 15:33:54 +0000 (15:33 +0000)]
dwarfout2.c (build_abbrev_table): Use xrealloc, not xmalloc to reallocate abbrev_die_table.

        * dwarfout2.c (build_abbrev_table): Use xrealloc, not xmalloc
        to reallocate abbrev_die_table.

From-SVN: r14997

26 years agom68k.md (iorsi_zexthi_ashl16): Disable.
Jim Wilson [Fri, 29 Aug 1997 15:19:58 +0000 (15:19 +0000)]
m68k.md (iorsi_zexthi_ashl16): Disable.

        * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
Fixes m68k codegen problem.

From-SVN: r14996

26 years ago* Makefile.in (config.status): Depend on version.c
Andreas Schwab [Fri, 29 Aug 1997 15:10:18 +0000 (15:10 +0000)]
* Makefile.in (config.status): Depend on version.c

From-SVN: r14995

26 years agoexpr.h (insn_gen_function): Reenable prototype.
Andreas Schwab [Fri, 29 Aug 1997 15:02:03 +0000 (15:02 +0000)]
expr.h (insn_gen_function): Reenable prototype.

* expr.h (insn_gen_function): Reenable prototype.

* expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
first parameter.

From-SVN: r14994

26 years agoFix typo.
Jeff Law [Fri, 29 Aug 1997 07:03:53 +0000 (01:03 -0600)]
Fix typo.

From-SVN: r14993

26 years agoFix x86 libio -O2 miscompilation problem.
Jim Wilson [Thu, 28 Aug 1997 20:04:19 +0000 (20:04 +0000)]
Fix x86 libio -O2 miscompilation problem.

* i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.

From-SVN: r14992

26 years agoversion.c: Bump for latest snapshot.
Jeffrey A Law [Thu, 28 Aug 1997 13:08:54 +0000 (13:08 +0000)]
version.c: Bump for latest snapshot.

        * version.c: Bump for latest snapshot.

        * bc-optab.c: Conditionally include stdlib.h.
        (free): Provide a declaration if NEED_DECLARATION_FREE.
        * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
        * rtl.h (free): Remove declaration.
        * tree.h (free): Remvoe declaration.

        * configure: Rebuilt.

From-SVN: r14989

26 years agoFilename change in latest g77 update.
Jeff Law [Thu, 28 Aug 1997 12:59:07 +0000 (06:59 -0600)]
Filename change in latest g77 update.

From-SVN: r14988

26 years agoflags.h (flag_move_all_movables): Declare.
Jeffrey A Law [Thu, 28 Aug 1997 03:35:22 +0000 (03:35 +0000)]
flags.h (flag_move_all_movables): Declare.

        * flags.h (flag_move_all_movables): Declare.
        (flag_reduce_all_givs): Likewise.
        * loop.c (move_movables): Handle flag_move_all_movables.
        (strength_reduce): Handle flag_reduce_all_givs.
        * toplev.c (flag_move_all_movables): Define.
        (flag_reduce_all_givs): Likewise.
        (f_options): Add -fmove-all-movables and -freduce-all-givs.
        * invoke.texi: Document new options, including alias stuff that
        wasn't included last time.
Two of the "Tooning" options :-)

From-SVN: r14987

26 years agoNew file in g77 front end.
Jeff Law [Thu, 28 Aug 1997 03:21:33 +0000 (21:21 -0600)]
New file in g77 front end.

From-SVN: r14986

26 years agoUpdate to Aug 26 g77 front end and runtime.
Jeff Law [Thu, 28 Aug 1997 03:21:05 +0000 (21:21 -0600)]
Update to Aug 26 g77 front end and runtime.

From-SVN: r14985

26 years agot-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
Bob Manson [Thu, 28 Aug 1997 00:18:03 +0000 (00:18 +0000)]
t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.

        * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
        * t-mn10200: Ditto.
        * t-vxsparc: Ditto.
        * t-vxworks68: Ditto.
        * t-vxworks960: Ditto.
        * t-vx29k: Ditto.

From-SVN: r14984

26 years agoPatch from Richard Henderson to fix alpha-linux alloca redefinition problems.
Richard Henderson [Wed, 27 Aug 1997 23:50:04 +0000 (16:50 -0700)]
Patch from Richard Henderson to fix alpha-linux alloca redefinition problems.

* alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
if not already defined, and USE_C_ALLOCA not defined.

From-SVN: r14977

26 years agoMake the gcc config.guess exec the toplevel config.guess.
Jim Wilson [Wed, 27 Aug 1997 23:20:52 +0000 (23:20 +0000)]
Make the gcc config.guess exec the toplevel config.guess.

Make the gcc config.guess exec the toplevel config.guess.  Update the toplevel
config.guess from the gcc config.guess.

From-SVN: r14976

26 years agoalpha linux glibc2 patch from H.J. Lu
Jim Wilson [Wed, 27 Aug 1997 23:09:53 +0000 (23:09 +0000)]
alpha linux glibc2 patch from H.J. Lu

alpha linux glibc2 patch from H.J. Lu
* config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
if USE_GNULIBC_1 is not defined.

From-SVN: r14975

26 years agoPatch from Richard Henderson to fix alpha-linux support.
Richard Henderson [Wed, 27 Aug 1997 23:02:19 +0000 (16:02 -0700)]
Patch from Richard Henderson to fix alpha-linux support.

* alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
* config.guess: Recognize alpha-linux-gnulibc1.
* configure.in (alpha-*-linux-gnulibc1): New target.
(alpha-*-linux-gnu*): Don't build crtbegin/end.

From-SVN: r14974

26 years agoreorg.c (dbr_schedule): Allow current_function_return_rtx to be something other than...
Jeffrey A Law [Wed, 27 Aug 1997 19:59:51 +0000 (19:59 +0000)]
reorg.c (dbr_schedule): Allow current_function_return_rtx to be something other than a REG.

        * reorg.c (dbr_schedule): Allow current_function_return_rtx
        to be something other than a REG.
        * function.c (expand_function_end): Fix current_function_return_rtx
        if it was a pseudo.
Brought over from the fsf/devo.

From-SVN: r14972

26 years agoFix newlib coldfire build failure.
Jim Wilson [Wed, 27 Aug 1997 18:54:11 +0000 (18:54 +0000)]
Fix newlib coldfire build failure.

* m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
last change.

From-SVN: r14969

26 years agoc-decl.c (grokdeclarator): If array index or size calculations overflow, issue an...
Doug Evans [Wed, 27 Aug 1997 16:58:02 +0000 (16:58 +0000)]
c-decl.c (grokdeclarator): If array index or size calculations overflow, issue an error.

        * c-decl.c (grokdeclarator): If array index or size calculations
        overflow, issue an error.
        * fold-const.c (int_const_binop): New static function.
        (const_binop, size_binop): Call it.
Brought over from the fsf.

From-SVN: r14967

26 years agoloop.c (combine_movables): Earlier insns don't match later ones.
Doug Evans [Wed, 27 Aug 1997 16:43:23 +0000 (16:43 +0000)]
loop.c (combine_movables): Earlier insns don't match later ones.

        * loop.c (combine_movables): Earlier insns don't match later ones.
Brought over from the fsf.

From-SVN: r14966

26 years agoRemove last change to alpha/linux.
H.J. Lu [Wed, 27 Aug 1997 15:24:31 +0000 (15:24 +0000)]
Remove last change to alpha/linux.

Remove last change to alpha/linux.  It was incorrect according to Richard
Henderson.

From-SVN: r14964

26 years ago* typeck.c (expand_target_expr): Make definition match declaration.
Jeffrey A Law [Wed, 27 Aug 1997 08:07:16 +0000 (08:07 +0000)]
* typeck.c (expand_target_expr): Make definition match declaration.

From-SVN: r14962

26 years agoclass.c (get_basefndecls): Make definition match declaration.
Jeffrey A Law [Wed, 27 Aug 1997 08:03:41 +0000 (08:03 +0000)]
class.c (get_basefndecls): Make definition match declaration.

        * class.c (get_basefndecls): Make definition match declaration.
Something caught by the sunos compiler.

From-SVN: r14961

26 years agolinux.h (CC1_SPEC): Define it only if not defined.
H.J. Lu [Wed, 27 Aug 1997 07:26:22 +0000 (07:26 +0000)]
linux.h (CC1_SPEC): Define it only if not defined.

        * config/linux.h (CC1_SPEC): Define it only if not defined.

        * config/m68k/linux.h (CC1_SPEC): Undefine it before include
        <linux.h>

        * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
        USE_GNULIBC_1 is not defined.

        * config/alpha/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
        as 1.
        * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): Ditto.

        * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
        as 1 if USE_GNULIBC_1 is not defined.
Linux patches from HJ.

From-SVN: r14960

26 years agot-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
Jeffrey A Law [Wed, 27 Aug 1997 06:51:37 +0000 (06:51 +0000)]
t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.

        * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
        * x-netbsd: Likewise
        * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
        (INSTALL_HEADERS): Delete.
        * x-dguxbcs: Likewise.
        * x-hp3bsd44: Likewise
        * x-pa: Likewise.

From-SVN: r14959

26 years agoi386.md (pop): pop increments the stack pointer.
Bernd Schmidt [Wed, 27 Aug 1997 06:29:59 +0000 (06:29 +0000)]
i386.md (pop): pop increments the stack pointer.

        * i386.md (pop): pop increments the stack pointer.
        (prologue_set_stack_ptr): New pattern.
        * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
        instead of subsi3.
Fixes problem with scheduling on the x86.

From-SVN: r14956

26 years agoMakefile.in: create correct multiple links to shared libstdc++.
Alexandre Oliva [Wed, 27 Aug 1997 06:04:41 +0000 (06:04 +0000)]
Makefile.in: create correct multiple links to shared libstdc++.

        * Makefile.in: create correct multiple links to
        shared libstdc++.

From-SVN: r14953

26 years ago* hostnm_.c: Include errno.h
Robert Lipe [Wed, 27 Aug 1997 02:13:32 +0000 (02:13 +0000)]
* hostnm_.c: Include errno.h

From-SVN: r14949

26 years agoreload.c (find_reloads, case '0'): Reject matching a non-offsettable address where...
Jim Wilson [Wed, 27 Aug 1997 00:49:59 +0000 (00:49 +0000)]
reload.c (find_reloads, case '0'): Reject matching a non-offsettable address where an offsettable address is required.

        * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
        address where an offsettable address is required.
Fixes 68k bootstrap problem.

From-SVN: r14948

26 years agoloop.c (check_final_value): Don't miss a biv increment in a parallel.
Michael P. Hayes [Wed, 27 Aug 1997 00:44:25 +0000 (00:44 +0000)]
loop.c (check_final_value): Don't miss a biv increment in a parallel.

        * loop.c (check_final_value): Don't miss a biv increment in a
        parallel.

From-SVN: r14947

26 years agoMakefile.in (check): Don't depend on site.exp.
H.J. Lu [Tue, 26 Aug 1997 18:28:26 +0000 (18:28 +0000)]
Makefile.in (check): Don't depend on site.exp.

        * testsuite/Makefile.in (check): Don't depend on site.exp.
        (just-check): Depend on site.exp.
Fixes problems with SMP "make check".

From-SVN: r14945

26 years agodwarfout.c (dwarfout_file_scope_decl, [...]): Check TYPE_DECL_IS_STUB instead of...
Jim Wilson [Tue, 26 Aug 1997 18:05:23 +0000 (18:05 +0000)]
dwarfout.c (dwarfout_file_scope_decl, [...]): Check TYPE_DECL_IS_STUB instead of DECL_NAME.

        * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
        TYPE_DECL_IS_STUB instead of DECL_NAME.

From-SVN: r14944

26 years agoFix stupid typo in last change.
Jeff Law [Tue, 26 Aug 1997 18:04:44 +0000 (12:04 -0600)]
Fix stupid typo in last change.

From-SVN: r14943

26 years ago* libtxi/Makefile.in: Add dependencies for memcpy, memmove and strdup.
Jeffrey A Law [Tue, 26 Aug 1997 17:18:19 +0000 (17:18 +0000)]
* libtxi/Makefile.in: Add dependencies for memcpy, memmove and strdup.

From-SVN: r14939

26 years agoH.J. Lu's SMP patch.
Jim Wilson [Tue, 26 Aug 1997 06:36:27 +0000 (23:36 -0700)]
H.J. Lu's SMP patch.

From-SVN: r14924

26 years agoinput.c (sub_getch): Eventually give up and release the input file.
Jason Merrill [Tue, 26 Aug 1997 01:34:48 +0000 (01:34 +0000)]
input.c (sub_getch): Eventually give up and release the input file.

* input.c (sub_getch): Eventually give up and release the input file.

* decl.c (cp_finish_decl): If #p i/i, put inline statics in the
right place.

From-SVN: r14923

26 years ago[multiple changes]
Jason Merrill [Tue, 26 Aug 1997 00:27:06 +0000 (20:27 -0400)]
[multiple changes]

Mon Aug 25 14:26:45 1997  Jason Merrill  <jason@yorick.cygnus.com>

* Makefile.in (CXXFLAGS): Add -Weffc++.

Sat Aug 23 21:25:37 1997  Mark Mitchell  <mmitchell@usa.net>

* bastring.h: Enable reverse_iterator and its ilk.

* bastring.h: Provide specializations of member function templates
for const_iterator.

From-SVN: r14922

26 years agocall.c (joust): Tweak message.
Jason Merrill [Mon, 25 Aug 1997 21:30:44 +0000 (17:30 -0400)]
call.c (joust): Tweak message.

* call.c (joust): Tweak message.

Sat Aug 23 18:02:59 1997  Mark Mitchell  <mmitchell@usa.net>

* error.c (type_as_string): Put const/volatile on template type
parameters where appropriate.

From-SVN: r14919

26 years agohaifa-sched.c (find_pre_sched_live): Remove #if 0 code.
Jeffrey A Law [Mon, 25 Aug 1997 19:15:01 +0000 (19:15 +0000)]
haifa-sched.c (find_pre_sched_live): Remove #if 0 code.

        * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
        (find_post_sched_live): Likewise.
Just cleaning up.

        * haifa-sched.c (schedule_block): Remove old code to get arguments
        from hard regs into pseudos early.
Avoids problems with bogus REG_LOOP_BEGIN notes causing aborts during
and after register allocation.

From-SVN: r14918

26 years agoversion.c: Bump for new snapshot.
Jeff Law [Mon, 25 Aug 1997 15:00:44 +0000 (09:00 -0600)]
version.c: Bump for new snapshot.

        * version.c: Bump for new snapshot.

        * local-alloc.c (update_equiv_regs): All the target to reject
        promotion of some REG_EQUAL to REG_EQUIV notes.
        * pa.h (DONT_RECORD_EQUIVALENCE): Define.
Fixes some c-torture failures, also improves generated code.

        * pa.c (secondary_reload_class): (mem (mem ... )) does not need
        secondary reloads.
Fixes 094.fpppp/twldrv.f abort.

        * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
        store of the argument registers.
Fixes c-torture failure.

        * fold-const.c (multiple_of_p): New function.
        (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
One of the performance patches from the g77 folks.

From-SVN: r14915

26 years agoexpr.h (insn_gen_function): Temporarily remove prototype.
Jeffrey A Law [Mon, 25 Aug 1997 07:48:35 +0000 (07:48 +0000)]
expr.h (insn_gen_function): Temporarily remove prototype.

        * expr.h (insn_gen_function): Temporarily remove prototype.
This one has to wait until more prototyped stuff is done.

From-SVN: r14914

26 years agoconfigure.in: Always make sure RANLIB_TEST is set.
Jim Wilson [Mon, 25 Aug 1997 07:44:59 +0000 (07:44 +0000)]
configure.in: Always make sure RANLIB_TEST is set.

        * configure.in: Always make sure RANLIB_TEST is set.
        * configure: Rebuilt.

From-SVN: r14913

26 years agomissed ChangeLog entry for last checkin
Jim Wilson [Mon, 25 Aug 1997 00:26:31 +0000 (17:26 -0700)]
missed ChangeLog entry for last checkin

From-SVN: r14911

26 years agoFix solaris2 (without GNU install installed) install failure.
Jim Wilson [Mon, 25 Aug 1997 00:25:22 +0000 (00:25 +0000)]
Fix solaris2 (without GNU install installed) install failure.

* Makefile.in (install-info): Don't cd into srcdir.  Add srcdir to
filenames.  Use sed to extract base filename for install.

From-SVN: r14910

26 years agocall.c (strictly_better): Make arguments unsigned ints.
Jeffrey A Law [Sat, 23 Aug 1997 23:47:00 +0000 (23:47 +0000)]
call.c (strictly_better): Make arguments unsigned ints.

        * call.c (strictly_better): Make arguments unsigned ints.
Fixes bug reported by Peter Seebach.

From-SVN: r14909

26 years agounroll.c (find_splittable_givs): Only share if two givs have the same add and multipl...
John F. Carr [Sat, 23 Aug 1997 23:25:05 +0000 (23:25 +0000)]
unroll.c (find_splittable_givs): Only share if two givs have the same add and multiply values.

        * unroll.c (find_splittable_givs): Only share if two givs have the
        same add and multiply values.
Fixes some testsuite failures on the x86.

From-SVN: r14908

26 years agoFix typos in m68k configuration files.
Jim Wilson [Sat, 23 Aug 1997 21:41:33 +0000 (21:41 +0000)]
Fix typos in m68k configuration files.

* m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
* m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.

From-SVN: r14902

26 years agopa.c (pa_reorg): Always put begin_brtab and end_brtab insns around branch tables.
Jeffrey A Law [Sat, 23 Aug 1997 06:19:56 +0000 (06:19 +0000)]
pa.c (pa_reorg): Always put begin_brtab and end_brtab insns around branch tables.

        * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
        around branch tables.
        * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
        and .end_brtab directives if TARGET_GAS.
Should fix bootstrap problem with PA port when not using gas.

From-SVN: r14899

26 years agoFix m68k-next-nextstep3 stage2 enquire compilation hang reported by Moene.
Jim Wilson [Sat, 23 Aug 1997 04:39:31 +0000 (04:39 +0000)]
Fix m68k-next-nextstep3 stage2 enquire compilation hang reported by Moene.

* alias.c (true_dependence): Pass x_addr not x to varies.

From-SVN: r14898

26 years agoFix AIX build problem when IBM cc is used.
Jim Wilson [Fri, 22 Aug 1997 21:39:10 +0000 (21:39 +0000)]
Fix AIX build problem when IBM cc is used.

* acconfig.h (NEED_DECLARATION_CALLOC): Add.
* configure.in: Add GCC_NEED_DECLARATION call for calloc.
* rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
declarations.
* config.in, configure: Regenerate.

From-SVN: r14896

26 years ago* Makefile.in (UOBJ): Include symlnk.
Jeffrey A Law [Fri, 22 Aug 1997 14:54:27 +0000 (14:54 +0000)]
* Makefile.in (UOBJ): Include symlnk.

From-SVN: r14894

26 years agoalias.c (find_base_value): Improve handling of PLUS, MINUS, and LO_SUM.
John F. Carr [Fri, 22 Aug 1997 06:39:29 +0000 (06:39 +0000)]
alias.c (find_base_value): Improve handling of PLUS, MINUS, and LO_SUM.

        * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
        LO_SUM.
        (record_set): Handle LO_SUM like PLUS.
        (init_alias_analysis): When following chains of base addresses,
        do not stop on reaching a hard register.
Updates from jfc.

From-SVN: r14888

26 years agoTweak.
Jeff Law [Fri, 22 Aug 1997 02:16:20 +0000 (20:16 -0600)]
Tweak.

From-SVN: r14886

26 years agolex.c (real_yylex): Refer to __complex instead of complex.
Jason Merrill [Fri, 22 Aug 1997 01:52:56 +0000 (21:52 -0400)]
lex.c (real_yylex): Refer to __complex instead of complex.

* lex.c (real_yylex): Refer to __complex instead of complex.

-Wed Jul 16 15:57:42 1997  Benjamin Kosnik  <bkoz@rhino.cygnus.com>
-
-       * parse.y (empty_parms): Only use VOID_LIST_NODE for the PARMS if
-       we're in a C++ struct/class, not if we're doing xtern "C"'.
-

and regenerate parse.c.

From-SVN: r14885

26 years agoFix alpha OSF 1.x/2.x/3.x build problems.
Jim Wilson [Fri, 22 Aug 1997 00:47:59 +0000 (00:47 +0000)]
Fix alpha OSF 1.x/2.x/3.x build problems.

* alpha.h (ARCH_ASM_FILE_START): Define.
(ASM_FILE_START): Use ARCH_ASM_FILE_START.
* osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.

From-SVN: r14884

26 years agorelease notes
Jason Merrill [Fri, 22 Aug 1997 00:30:16 +0000 (20:30 -0400)]
release notes

From-SVN: r14883

26 years agoignored by import
Jason Merrill [Thu, 21 Aug 1997 23:14:36 +0000 (19:14 -0400)]
ignored by import

From-SVN: r14882

26 years agoInitial revision
Jason Merrill [Thu, 21 Aug 1997 22:57:35 +0000 (18:57 -0400)]
Initial revision

From-SVN: r14877

26 years agolex.c (real_yylex): Don't use getc directly.
J"orn Rennecke [Thu, 21 Aug 1997 22:34:19 +0000 (22:34 +0000)]
lex.c (real_yylex): Don't use getc directly.

Thu Aug 21 22:25:46 1997  J"orn Rennecke <amylaar@cygnus.co.uk>

* lex.c (real_yylex): Don't use getc directly.

From-SVN: r14876

26 years agoBump version # for new snapshot.
Jeffrey A Law [Thu, 21 Aug 1997 20:46:15 +0000 (20:46 +0000)]
Bump version # for new snapshot.

From-SVN: r14874

26 years agoEliminate circular dependence on f77-runtime that caused build failures.
Jim Wilson [Thu, 21 Aug 1997 20:17:25 +0000 (20:17 +0000)]
Eliminate circular dependence on f77-runtime that caused build failures.

* Make-lang.in (f77): Delete f77-runtime.
(f77.all.build, f77.all.cross, f77.rest.encap): Add f77-runtime.

From-SVN: r14873

26 years ago* Makefile.in (install-common): Put gcov comment at start of line.
Jeffrey A Law [Thu, 21 Aug 1997 16:23:22 +0000 (16:23 +0000)]
* Makefile.in (install-common): Put gcov comment at start of line.

From-SVN: r14871

26 years agoMakefile.in (UOBJ): Include mclock.
Mumit Khan [Thu, 21 Aug 1997 05:20:15 +0000 (05:20 +0000)]
Makefile.in (UOBJ): Include mclock.

        * Makefile.in (UOBJ): Include mclock.
From Mumit Khan.

From-SVN: r14870

26 years agoalias.c (init_alias_analysis): When simplifying the reg_base_value array, simplify...
Jeffrey A Law [Thu, 21 Aug 1997 04:48:46 +0000 (04:48 +0000)]
alias.c (init_alias_analysis): When simplifying the reg_base_value array, simplify entries for hard registers too.

        * alias.c (init_alias_analysis): When simplifying the reg_base_value
        array, simplify entries for hard registers too.
From jfc.  Fixes c-torture failure on the PA.

From-SVN: r14869

26 years ago[multiple changes]
Jason Merrill [Thu, 21 Aug 1997 00:50:39 +0000 (20:50 -0400)]
[multiple changes]

Wed Aug 20 17:25:08 1997  Jason Merrill  <jason@yorick.cygnus.com>

* call.c (is_subseq): Don't try to be clever.

Wed Aug 20 03:13:36 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)

* parse.y, pt.c: Include "except.h".
* call.c, class.c, class.h, cp-tree.h, cvt.c, decl.c, decl2.c,
  error.c, except.c, expr.c, friend.c, g++spec.c, init.c, input.c,
  lex.c, lex.h, method.c, parse.y, pt.c, repo.c, rtti.c, search.c,
  sig.c, spew.c, tree.c, typeck.c, typeck2.c, xref.c: Finish
  prototyping.

Wed Aug 20 01:34:40 1997  Jason Merrill  <jason@yorick.cygnus.com>

* decl2.c (mark_vtable_entries): Instead of replacing pure
virtuals with a reference to __pure_virtual, copy the decl and
change the RTL.

From-SVN: r14868