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

26 years agoFix typos in last haifa change.
Jeff Law [Mon, 18 Aug 1997 02:06:48 +0000 (20:06 -0600)]
Fix typos in last haifa change.

From-SVN: r14827

26 years agoRemove another reference to expected object file comparison failures.
Jeff Law [Mon, 18 Aug 1997 00:21:05 +0000 (18:21 -0600)]
Remove another reference to expected object file comparison failures.

From-SVN: r14826

26 years agoMakefile.in (sub-makes): Pass the current value of LANGUAGES down to sub-makes to...
Manfred Hollstein [Sun, 17 Aug 1997 23:48:47 +0000 (23:48 +0000)]
Makefile.in (sub-makes): Pass the current value of LANGUAGES down to sub-makes to avoid building more...

        * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
        to sub-makes to avoid building more passes than the user might have
        requested on the command line.
From Manfred Hollstein.

From-SVN: r14825

26 years agoINSTALL: Rebuilt.
Jeffrey A Law [Sun, 17 Aug 1997 23:33:04 +0000 (23:33 +0000)]
INSTALL: Rebuilt.

        * INSTALL: Rebuilt.
        * install.texi: Remove "Object File Differences" section.  Remove
        all references to zzz.o failing comparison tests.
        * version.c, version.h: Renamed from zzz.c and zzz.h.  Remove
        date and time stamps so a 3 stage build reports no differences.
        * Make-lang.in: Corresponding changes.
        * Makefile.in: Likewise.
        * g77.c, parse.c: Likewise.
So 3-stage build compares OK.  Rename zzz.[ch] files to version.[ch].

From-SVN: r14824

26 years agoconfigure.in: Expurgate `broken_install' (install is autoconfed).
Dave Love [Sun, 17 Aug 1997 21:41:59 +0000 (21:41 +0000)]
configure.in: Expurgate `broken_install' (install is autoconfed).

        * configure.in: Expurgate `broken_install' (install is
        autoconfed).

        * configure.lang: Substitute autoconfed ${INSTALL} (not currently
        relevant).
From Dave love.

From-SVN: r14823

26 years agogcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__ predefines.
Jeffrey A Law [Sun, 17 Aug 1997 21:15:15 +0000 (21:15 +0000)]
gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__ predefines.

        * gcc.c (default_compilers): Add __EGCS__ and __EGCS_MINOR__
        predefines.

From-SVN: r14822

26 years agoOpps.
Jeff Law [Sun, 17 Aug 1997 14:35:06 +0000 (08:35 -0600)]
Opps.

From-SVN: r14820

26 years ago* intdoc.texi: Remove generated file from distribution.
Jeff Law [Sun, 17 Aug 1997 14:34:23 +0000 (08:34 -0600)]
* intdoc.texi: Remove generated file from distribution.

From-SVN: r14819

26 years agoloop.c (is_power_of_2, [...]): Delete unused functions and declarations.
Jeffrey A Law [Sat, 16 Aug 1997 07:09:42 +0000 (07:09 +0000)]
loop.c (is_power_of_2, [...]): Delete unused functions and declarations.

        * loop.c (is_power_of_2, is_conditional_branch): Delete unused
        functions and declarations.
        (analyze_loop_iterations): Use condjump_p.
        (insert_bct): Likewise.  Use exact_log2.
Just cleanup up some haifa code.

From-SVN: r14818

26 years agohaifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
Jeffrey A Law [Sat, 16 Aug 1997 05:49:38 +0000 (05:49 +0000)]
haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.

        * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
        (schedule_region): Likewise.
        (schedule_insns): Likewise.
To avoid leaking memory.

        * PROJECTS: Update with Haifa stuff.

From-SVN: r14817

26 years agoloop.c (is_conditional_branch): Make definition match declaration.
Jeffrey A Law [Fri, 15 Aug 1997 20:50:04 +0000 (20:50 +0000)]
loop.c (is_conditional_branch): Make definition match declaration.

        * loop.c (is_conditional_branch): Make definition match declaration.
Found by the sunos compiler

From-SVN: r14815

26 years agoTweak again.
Jeffrey A Law [Fri, 15 Aug 1997 20:38:11 +0000 (20:38 +0000)]
Tweak again.

From-SVN: r14814

26 years agoMake version # egcs-3.0.0 since we need to make sure the version#s
Jeffrey A Law [Fri, 15 Aug 1997 20:26:03 +0000 (20:26 +0000)]
Make version # egcs-3.0.0 since we need to make sure the version#s
in the built-in defines are > 2.7.

From-SVN: r14813

26 years agoMakefile.in, [...]: Remove "^L" at the beginning of lines.
Jeffrey A Law [Fri, 15 Aug 1997 19:45:17 +0000 (19:45 +0000)]
Makefile.in, [...]: Remove "^L" at the beginning of lines.

        * Makefile.in, Make-lang.in: Remove "^L" at the beginning
        of lines.
Some makes don't like them.

From-SVN: r14812

26 years agoversion.c: Change the version string to look like...
Jeffrey A Law [Fri, 15 Aug 1997 18:50:36 +0000 (18:50 +0000)]
version.c: Change the version string to look like...

        * version.c: Change the version string to look like:
        egcs-1.0.0 970814 (gcc2-970802 experimental).

        * gcc.c: Take out experimental snapshot warning message.

From-SVN: r14811

26 years agoUse rtl macros for names of NOTEs.
Michael Meissner [Fri, 15 Aug 1997 17:48:56 +0000 (17:48 +0000)]
Use rtl macros for names of NOTEs.

From-SVN: r14810

26 years agoOpps. Forgot to commit this.
Jeff Law [Fri, 15 Aug 1997 05:40:31 +0000 (23:40 -0600)]
Opps.  Forgot to commit this.

From-SVN: r14803

26 years agoc-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.
Jeff Law [Fri, 15 Aug 1997 05:32:53 +0000 (23:32 -0600)]
c-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.

        * c-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.
Bring over from the FSF.

From-SVN: r14802

26 years agotoplev.c (main): In -g handling code, add code to set len.
Jeff Law [Fri, 15 Aug 1997 05:29:33 +0000 (23:29 -0600)]
toplev.c (main): In -g handling code, add code to set len.

        * toplev.c (main): In -g handling code, add code to set len.

        * alpha.md (extendqihi2): Use HImode not QImode in force_reg call.

Brought over from gcc2.

From-SVN: r14801

26 years agoBasically a duplicate of COPYING.
Jeff Law [Fri, 15 Aug 1997 05:17:24 +0000 (23:17 -0600)]
Basically a duplicate of COPYING.

From-SVN: r14800

26 years agoRemove old (pre gcc-2.7.2) ChangeLog files.
Jeff Law [Fri, 15 Aug 1997 05:15:07 +0000 (23:15 -0600)]
Remove old (pre gcc-2.7.2) ChangeLog files.

Remove pre-built into files.

From-SVN: r14799

26 years agoNew file with pointers to compiler relates web sites.
Jeff Law [Wed, 13 Aug 1997 16:10:39 +0000 (10:10 -0600)]
New file  with pointers to compiler relates web sites.

From-SVN: r14784

26 years agoconfigure.in (haifa configury): Fix typo.
Doug Evans [Wed, 13 Aug 1997 08:04:44 +0000 (08:04 +0000)]
configure.in (haifa configury): Fix typo.

* configure.in (haifa configury): Fix typo.
* configure: Regenerate.

From-SVN: r14783

26 years agoversion.c: Bump version to "gcc-3.0.0 970802 experimental".
Jeffrey A Law [Tue, 12 Aug 1997 17:13:25 +0000 (17:13 +0000)]
version.c: Bump version to "gcc-3.0.0 970802 experimental".

        * version.c: Bump version to "gcc-3.0.0 970802 experimental".

        * gcc.info*: Rebuilt.

        * COPYING.g77, README.g77: New files.
        * real.c (ereal_unto_float, ereal_unto_double): New functions.
        * real.h (ereal_unto_float, ereal_unto_double): Declare them.
        (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
Get g77 to work with gcc3.

From-SVN: r14776

26 years agog77.info*: Rebuilt.
Jeffrey A Law [Tue, 12 Aug 1997 17:12:21 +0000 (17:12 +0000)]
g77.info*: Rebuilt.

        * g77.info*: Rebuilt.

        * config-lang.in: Don't demand the backend patch.
        * com.c (lang_printable_name): Second argument is now an int.  Don't
        store into the value of the second argument.
        * top.c (ffe_decode_option): Temporarily disable setting
        of "Toon" loop options until we figure out how to address
        them.

Make g77 work with gcc3.

From-SVN: r14775

26 years agoInitial revision
Jeff Law [Tue, 12 Aug 1997 07:47:32 +0000 (01:47 -0600)]
Initial revision

From-SVN: r14772

26 years agoRemove gratuitous changes from the alias analysis patches.
Jeff Law [Tue, 12 Aug 1997 04:12:04 +0000 (22:12 -0600)]
Remove gratuitous changes from the alias analysis patches.

From-SVN: r14771

26 years ago* Integrate Haifa instruction scheduler.
Jeffrey A Law [Tue, 12 Aug 1997 04:07:19 +0000 (04:07 +0000)]
* Integrate Haifa instruction scheduler.

        * Integrate regmove pass.
See ChangeLog for deatils.

From-SVN: r14770

26 years ago* Integrate tlink patch from jason@cygnus.com
Jeffrey A Law [Mon, 11 Aug 1997 20:23:53 +0000 (20:23 +0000)]
* Integrate tlink patch from jason@cygnus.com
        * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
        (process_command): Increment n_switches for them.  Don't discard
        their args.  Validate them.
        (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
        From Rohan Lenard.
        (process_command): Set include_prefixes from COMPILER_PATH.
        (main): Set COLLECT_GCC_OPTIONS sooner.
        * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
        * tlink.c, hash.c, hash.h: New files.
        * Makefile.in (USE_COLLECT2): Always use collect2.
        (collect2): Depend on and link in hash.o and tlink.o.
        (tlink.o, hash.o): Add dependencies.

tlink patches from Jason.

From-SVN: r14769

26 years ago* Integrate alias analysis changes from jfc@mit.edu
Jeffrey A Law [Mon, 11 Aug 1997 20:07:24 +0000 (20:07 +0000)]
* Integrate alias analysis changes from jfc@mit.edu
        * Makefile.in (OBJS): Add alias.o
        (alias.o): Add dependencies.
        * alias.c: New file.
        * sched.c: Remove alias analysis code.  It lives in alias.c now.
        (reg_last_uses_size): Declare.
        (sched_analyze_2): Add new arguments to true_dependence.
        (sched_analyze_insn): Use reg_last_uses_size instead of max_reg.
        (schedule_block): Initialize reg_last_uses_size.
        (schedule_insns): Always call init_alias_analysis.
        * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
        mark return value from such functions as a pointer and keep track of
        them for alias analysis.  If a return value from a function is a
        pointer, mark it as such.
        * combine.c (distribute_notes): Handle REG_NOALIAS.
        * cse.c (struct write_data): Delete.  No longer needed.
        (invalidate): Don't call set_nonvarying_address_components anymore.
        Use true_dependence to decide if an entry should be removed from
        the hash table.
        (invalidate_memory): Remove WRITES argument, simplify appropriately.
        Fix all callers.
        (note_mem_written): Similarly for WRITE_PTR argument.
        (invalidate_from_clobbers): Similarly for W argument.
        (invalidate_for_call): Remove memory elements from the hash table.
        (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
        (cse_rtx_varies_p): New function.  Derived from old
        cse_rtx_addr_varies_p.
        (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
        Don't call note_mem_written anymore.  Stack pushes invalidate the stack
        pointer if PUSH_ROUNDING is defined.  No longer need to call
        cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
        (skipped_writes_memory): Remove variable.
        (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
        (invalidate_skipped_block): Simplify for new alias analysis code.
        (cse_set_around_loop): Likewise.
        (cse_main): Call init_alias_analysis.
        * flags.h (flag_alias_check, flag_argument_noalias): Declare.
        * toplev.c (flag_alias_check, flag_argument_noalias): Define.
        (f_options): Add new alias checking arguments.
        (main): Set flag_alias_check when optimizing.
        * local_alloc (validate_equiv_mem_from_store): Add new arguments
        to true_dependence.
        (memref_referenced_p): Likewise.
        * loop.c (NUM_STORES): Increase to 30.
        (prescan_loop): Only non-constant calls set unknown_address_altered.
        (invariant_p): Add new arguments to true_dependence.
        (record_giv): Initialize unrolled and shared fields.
        (emit_iv_add_mult): Call record_base_value as needed.
        * loop.h (struct induction): Add unrolled and shared fields.
        * unroll.c  (unroll_loop): Call record_base_value as needed.
        (copy_loop_body): Likewise.
        (final_biv_value): Likewise.
        (final_giv_value): Likewise.
        (find_splittable_regs): Likewise.  Only create one new pseudo
        if we have multiple address GIVs that were combined with the same
        dst_reg GIV.  Note when a new register is created due to unrolling.
        * rtl.c (reg_note_name): Add REG_NOALIAS.
        * rtl.h (enum reg_note): Similarly.
        (rtx_varies_p, may_trap_p, side_effects_p): Declare.
        (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
        (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
        (true_dependence, read_dependence, anti_dependence): Likewise.
        (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
        (mark_user_reg, mark_reg_pointer): Likewise.
jfc's alias analysis code.

From-SVN: r14768

26 years ago* Integrate reload bugfix from Wilson which enables the PA port
Jeff Law [Mon, 11 Aug 1997 19:31:10 +0000 (13:31 -0600)]
* Integrate reload bugfix from Wilson which enables the PA port
        to bootstrap again.
        * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
        OPERAND_ADDRESS when computing how many registers an insn needs.
        (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
        conflict.
        (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
        OPADDR_ADDR reload.
        (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
        in reload_reg_use_in_op_addr do not reach the end.
        do not reach the end.
        (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
        RELOAD_FOR_OPERAND_ADDRESS.

Start a new ChangeLog for gcc3.

From-SVN: r14767

26 years agoInitial revision
Jeff Law [Mon, 11 Aug 1997 15:56:58 +0000 (09:56 -0600)]
Initial revision

From-SVN: r14764

26 years agoInitial revision
Jeff Law [Thu, 7 Aug 1997 16:29:49 +0000 (10:29 -0600)]
Initial revision

From-SVN: r14727

26 years agoInitial revision
Jeff Law [Wed, 6 Aug 1997 19:57:47 +0000 (13:57 -0600)]
Initial revision

From-SVN: r14676

26 years agoInitial revision
Jeff Law [Tue, 5 Aug 1997 16:26:36 +0000 (10:26 -0600)]
Initial revision

From-SVN: r14671

26 years ago(store_one_arg): Allow stack_slot to be SP in ARGS_GROW_DOWNWARD case.
Richard Kenner [Sat, 2 Aug 1997 23:22:18 +0000 (19:22 -0400)]
(store_one_arg): Allow stack_slot to be SP in ARGS_GROW_DOWNWARD case.

From-SVN: r14639

26 years agoparmlist_tags_warning): Only suppress warning on union if anonymous.
Richard Kenner [Sat, 2 Aug 1997 23:06:27 +0000 (19:06 -0400)]
parmlist_tags_warning): Only suppress warning on union if anonymous.

From-SVN: r14638

26 years ago(int_fits_type_p): Negative ints never fit unsigned types, and
Richard Kenner [Sat, 2 Aug 1997 22:50:39 +0000 (18:50 -0400)]
(int_fits_type_p): Negative ints never fit unsigned types, and
unsigned ints with top-bit-set never fit signed types.

From-SVN: r14637

26 years ago(_trampoline): Rework last change; both getpagesize and mprotect are
Richard Kenner [Sat, 2 Aug 1997 22:27:33 +0000 (18:27 -0400)]
(_trampoline): Rework last change; both getpagesize and mprotect are
in cygwin32.

From-SVN: r14636

26 years ago(reload): Add IN_ADDR to IN_ADDR_ADDR when computing needs since they conflict.
Richard Kenner [Sat, 2 Aug 1997 21:46:08 +0000 (17:46 -0400)]
(reload): Add IN_ADDR to IN_ADDR_ADDR when computing needs since they conflict.

From-SVN: r14635

26 years ago(debug_reload): Rework to make output more compact.
Richard Kenner [Sat, 2 Aug 1997 21:29:22 +0000 (17:29 -0400)]
(debug_reload): Rework to make output more compact.

From-SVN: r14634

26 years ago(indent): Move to file level; was static in print_rtx.
Richard Kenner [Sat, 2 Aug 1997 21:29:08 +0000 (17:29 -0400)]
(indent): Move to file level; was static in print_rtx.

(print_inline_rtx): New function.

From-SVN: r14633

26 years ago* objc/Make-lang.in (OBJC_CCOMMON): Removed.
Per Bothner [Sat, 2 Aug 1997 21:06:25 +0000 (14:06 -0700)]
* objc/Make-lang.in (OBJC_CCOMMON):  Removed.

From-SVN: r14632

26 years agoMakefile.in (EXTRA_C_OBJS): Removed.
Per Bothner [Sat, 2 Aug 1997 20:59:17 +0000 (13:59 -0700)]
Makefile.in (EXTRA_C_OBJS): Removed.

* Makefile.in (EXTRA_C_OBJS): Removed.
(C_AND_OBJC_OBJS):  New.  Subsumes EXTRA_C_OBJS and OBJC_CCOMMON.

From-SVN: r14631

26 years agoconfigure.in: Build .gdbinit for top level build dir here.
Doug Evans [Sat, 2 Aug 1997 20:10:47 +0000 (20:10 +0000)]
configure.in: Build .gdbinit for top level build dir here.

* configure.in: Build .gdbinit for top level build dir here.
(AC_OUTPUT): Pass oldstyle_subdirs to configure.lang.

From-SVN: r14630