platform/upstream/gcc.git
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

26 years agoFix irix6 `make install' problem.
Jim Wilson [Wed, 20 Aug 1997 23:39:40 +0000 (23:39 +0000)]
Fix irix6 `make install' problem.

* intdoc.texi: Readd generated file.

From-SVN: r14867

26 years agoChange gcc3 to egcs.
Jim Wilson [Wed, 20 Aug 1997 23:17:46 +0000 (16:17 -0700)]
Change gcc3 to egcs.

From-SVN: r14866

26 years agoChange gcc3 reference to egcs.
Jim Wilson [Wed, 20 Aug 1997 22:14:18 +0000 (15:14 -0700)]
Change gcc3 reference to egcs.

From-SVN: r14865

26 years agoExpunge reference to gcc3.
Jim Wilson [Wed, 20 Aug 1997 21:53:38 +0000 (14:53 -0700)]
Expunge reference to gcc3.

From-SVN: r14864

26 years agoPatch from Dave Love.
Dave Love [Wed, 20 Aug 1997 19:37:49 +0000 (19:37 +0000)]
Patch from Dave Love.

* dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
list.

From-SVN: r14862

26 years agostmt.c (start_cleanup_deferal, [...]): Test block_stack before dereferencing it.
Jim Wilson [Wed, 20 Aug 1997 19:30:36 +0000 (12:30 -0700)]
stmt.c (start_cleanup_deferal, [...]): Test block_stack before dereferencing it.

* stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
block_stack before dereferencing it.

From-SVN: r14861

26 years agoWork with haifa renaming get_issue_rate -> ISSUE_RATE
Michael Meissner [Wed, 20 Aug 1997 19:08:56 +0000 (19:08 +0000)]
Work with haifa renaming get_issue_rate -> ISSUE_RATE

From-SVN: r14858

26 years agopt.c (lookup_nested_type_by_name): Handle typedef wierdness.
Jason Merrill [Wed, 20 Aug 1997 01:07:33 +0000 (01:07 +0000)]
pt.c (lookup_nested_type_by_name): Handle typedef wierdness.

* pt.c (lookup_nested_type_by_name): Handle typedef wierdness.

* typeck2.c (my_friendly_abort): Report bugs to egcs-bugs@cygnus.com.

From-SVN: r14857

26 years ago* cplus-dem.c: Add 'extern' to prepends_underscore.
Jason Merrill [Wed, 20 Aug 1997 00:12:54 +0000 (00:12 +0000)]
* cplus-dem.c: Add 'extern' to prepends_underscore.

From-SVN: r14856

26 years agopt.c (instantiate_class_template): Call repo_template_used before finish_prevtable_va...
Jason Merrill [Tue, 19 Aug 1997 23:31:19 +0000 (23:31 +0000)]
pt.c (instantiate_class_template): Call repo_template_used before finish_prevtable_vardecl.

* pt.c (instantiate_class_template): Call repo_template_used
before finish_prevtable_vardecl.

* call.c: fix typo.

* ChangeLog: Remove everything from 2.7.2 back.

From-SVN: r14854

26 years agomerge
Jason Merrill [Tue, 19 Aug 1997 22:49:24 +0000 (22:49 +0000)]
merge

From-SVN: r14853

26 years agomerge
Jason Merrill [Tue, 19 Aug 1997 22:37:19 +0000 (18:37 -0400)]
merge

From-SVN: r14852

26 years agohaifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
Jeffrey A Law [Tue, 19 Aug 1997 21:22:04 +0000 (21:22 +0000)]
haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.

        * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
        (get_issue_rate): Delete.
        * pa.h (ISSUE_RATE): Define.

From-SVN: r14851

26 years agoconfigure.in: Turn on haifa by default for the PA.
Jeffrey A Law [Tue, 19 Aug 1997 21:09:22 +0000 (21:09 +0000)]
configure.in: Turn on haifa by default for the PA.

        * configure.in: Turn on haifa by default for the PA.
        * configure: Rebuilt.
        * pa.c (override_options): Accept -mschedule=7200 option.
        (pa_adjust_cost): No longer need to scale costs for newer
        processors.
        * pa.h (enum processor_type): Add PROCESSOR_7200.
        * pa.md: Revamp scheduling parameters to work better with
        haifa.  Add scheduling parameters for the 7200.

From-SVN: r14850

26 years agohaifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P insns too.
Jeffrey A Law [Tue, 19 Aug 1997 18:02:21 +0000 (18:02 +0000)]
haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P insns too.

        * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
        insns too.
        (schedule_block): When adjusting basic_block_{head,end}, account
        for movement of SCHED_GROUP_P insns too.

        * haifa-sched.c (debug_dependencies): Fix thinko.

From-SVN: r14849

26 years agohaifa-sched.c: Make lots of variable static.
Jeff Law [Tue, 19 Aug 1997 16:15:54 +0000 (10:15 -0600)]
haifa-sched.c: Make lots of variable static.

        * haifa-sched.c: Make lots of variable static.
Just cleaning stuff up.

From-SVN: r14848

26 years agoreload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR reloads to...
Jim Wilson [Tue, 19 Aug 1997 16:04:22 +0000 (16:04 +0000)]
reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR reloads to...

        * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
        reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
        * reload1.c: Undo bugfix from Aug 11.
Back out "simple" patch for PA reload bug and install the one accepted
by the FSF.

From-SVN: r14847

26 years agoexpr.h, real.h: Finish prototyping.
H.J. Lu [Tue, 19 Aug 1997 15:51:10 +0000 (15:51 +0000)]
expr.h, real.h: Finish prototyping.

        * expr.h, real.h: Finish prototyping.
Some of hj's prototyping stuff after minor formatting fixes.

From-SVN: r14846

26 years agoMakefile.in (EXPECT, [...]): Define.
Jeffrey A Law [Tue, 19 Aug 1997 15:36:20 +0000 (15:36 +0000)]
Makefile.in (EXPECT, [...]): Define.

        * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
        (site.exp, check, check-g++, check-gcc): New targets.
For dejagnu.

From-SVN: r14845

26 years agoInitial revision
Jeff Law [Tue, 19 Aug 1997 07:34:40 +0000 (01:34 -0600)]
Initial revision

From-SVN: r14840

26 years agoTake out __EGCS__ and __EGCS_MINOR__.
Jeff Law [Tue, 19 Aug 1997 03:42:44 +0000 (21:42 -0600)]
Take out __EGCS__ and __EGCS_MINOR__.

From-SVN: r14839

26 years agoFix --with-cpu=xxx
Mike Meissner [Mon, 18 Aug 1997 22:03:38 +0000 (22:03 +0000)]
Fix --with-cpu=xxx

From-SVN: r14837

26 years ago* Makefile.in (stmp-multilib-sub): Fix typo in last change.
Jim Wilson [Mon, 18 Aug 1997 20:51:37 +0000 (20:51 +0000)]
* Makefile.in (stmp-multilib-sub): Fix typo in last change.

From-SVN: r14834

26 years agoInitial revision
Jeff Law [Mon, 18 Aug 1997 17:13:00 +0000 (11:13 -0600)]
Initial revision

From-SVN: r14831

26 years agoMakefile.in (F77_SRCS): Re-alphabetize.
Jeffrey A Law [Mon, 18 Aug 1997 15:01:55 +0000 (15:01 +0000)]
Makefile.in (F77_SRCS): Re-alphabetize.

        * Makefile.in (F77_SRCS): Re-alphabetize.
        * Make-lang.in (F77_OBJS): Likewise.
Minor nit from Craig Burley.

From-SVN: r14829

26 years agoAnother haifa typo.
Jeff Law [Mon, 18 Aug 1997 02:08:55 +0000 (20:08 -0600)]
Another haifa typo.

From-SVN: r14828