Jim Wilson [Thu, 4 Sep 1997 15:54:24 +0000 (15:54 +0000)]
profile.c (output_arc_profiler): Verify next_insert_after is an INSN before and after skipping a stack pop.
* profile.c (output_arc_profiler): Verify next_insert_after is an
INSN before and after skipping a stack pop.
From-SVN: r15076
Fred Fish [Thu, 4 Sep 1997 15:49:02 +0000 (15:49 +0000)]
* .cvsignore (*-install): Remove.
From-SVN: r15075
J"orn Rennecke [Thu, 4 Sep 1997 15:47:40 +0000 (15:47 +0000)]
final.c (shorten_branches): Don't count the lengths of deleted instructions.
* final.c (shorten_branches): Don't count the lengths of deleted
instructions.
From-SVN: r15074
Jeffrey A Law [Thu, 4 Sep 1997 15:41:38 +0000 (15:41 +0000)]
* version.c: Bump for snapshot.
From-SVN: r15072
Michael Meissner [Thu, 4 Sep 1997 15:12:20 +0000 (15:12 +0000)]
Add EXECUTE_IF_AND_IN_{BITMAP,REG_SET}, and bitmap_print
From-SVN: r15071
Jim Wilson [Wed, 3 Sep 1997 22:53:56 +0000 (22:53 +0000)]
Fix srcdir==objdir build failure with multilibbed libiberty.
* Makefile.in (stamp-needed, stamp-config): Add MULTISRCTOP to
pathname for move-if-change.
From-SVN: r15067
Jason Merrill [Wed, 3 Sep 1997 20:01:18 +0000 (20:01 +0000)]
typeck.c (c_expand_return): Always convert_for_initialization before checking for returning a pointer to local.
* typeck.c (c_expand_return): Always convert_for_initialization
before checking for returning a pointer to local.
From-SVN: r15064
Jim Wilson [Wed, 3 Sep 1997 19:28:49 +0000 (19:28 +0000)]
Fix H.J. Lu's alpha-linux aliasing bug.
* alias.c (true_dependence): Address with AND can alias scalars.
(anti_dependence, output_dependence): Likewise.
From-SVN: r15063
Jason Merrill [Wed, 3 Sep 1997 18:41:11 +0000 (14:41 -0400)]
pt.c (type_unification): If strict and the function parm doesn't use template parms, just compare types.
* pt.c (type_unification): If strict and the function parm doesn't
use template parms, just compare types.
From-SVN: r15062
Jim Wilson [Wed, 3 Sep 1997 17:42:21 +0000 (17:42 +0000)]
Fix minor alias typo found while working on H.J. Lu's alpha-linux alias bug.
* alias.c (true_dependence): Test x for BLKmode, in addition to mem.
From-SVN: r15061
Klaus Espenlaub [Wed, 3 Sep 1997 15:54:14 +0000 (15:54 +0000)]
method.c (build_overloaded_value): Replace direct call to the floating point emulator with REAL_VALUE_TO_DECIMAL macro.
* method.c (build_overloaded_value): Replace direct call
to the floating point emulator with REAL_VALUE_TO_DECIMAL macro.
From-SVN: r15059
Joel Sherrill [Wed, 3 Sep 1997 15:42:45 +0000 (15:42 +0000)]
go32-rtems.h, [...] (subtarget_switches): Removed SUBTARGET_SWITCHES definitions.
* i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
definitions. Use -qrtems instead of -mrtems.
From-SVN: r15058
Jeffrey A Law [Wed, 3 Sep 1997 15:38:21 +0000 (15:38 +0000)]
* lib/libstdc++.exp: Remove libg++_link_flags.
From-SVN: r15057
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
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
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
Jeff Law [Wed, 3 Sep 1997 05:02:58 +0000 (23:02 -0600)]
Tweak.
From-SVN: r15053
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jeffrey A Law [Fri, 29 Aug 1997 18:47:40 +0000 (18:47 +0000)]
* execute/921007-1.c: Make strcmp static.
From-SVN: r14998
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
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
Andreas Schwab [Fri, 29 Aug 1997 15:10:18 +0000 (15:10 +0000)]
* Makefile.in (config.status): Depend on version.c
From-SVN: r14995
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
Jeff Law [Fri, 29 Aug 1997 07:03:53 +0000 (01:03 -0600)]
Fix typo.
From-SVN: r14993
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
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
Jeff Law [Thu, 28 Aug 1997 12:59:07 +0000 (06:59 -0600)]
Filename change in latest g77 update.
From-SVN: r14988
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
Jeff Law [Thu, 28 Aug 1997 03:21:33 +0000 (21:21 -0600)]
New file in g77 front end.
From-SVN: r14986
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Robert Lipe [Wed, 27 Aug 1997 02:13:32 +0000 (02:13 +0000)]
* hostnm_.c: Include errno.h
From-SVN: r14949
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
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
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
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
Jeff Law [Tue, 26 Aug 1997 18:04:44 +0000 (12:04 -0600)]
Fix stupid typo in last change.
From-SVN: r14943
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
Jim Wilson [Tue, 26 Aug 1997 06:36:27 +0000 (23:36 -0700)]
H.J. Lu's SMP patch.
From-SVN: r14924
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
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
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
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
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
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
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
Jim Wilson [Mon, 25 Aug 1997 00:26:31 +0000 (17:26 -0700)]
missed ChangeLog entry for last checkin
From-SVN: r14911
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
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
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
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
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
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
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
Jeffrey A Law [Fri, 22 Aug 1997 14:54:27 +0000 (14:54 +0000)]
* Makefile.in (UOBJ): Include symlnk.
From-SVN: r14894
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