Commit Graph

14029 Commits

Author SHA1 Message Date
Robert Lipe d7ce9ac718 * hostnm_.c: Include errno.h
From-SVN: r14949
1997-08-26 20:13:32 -06:00
Jim Wilson fc79eafee8 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
1997-08-26 18:49:59 -06:00
Michael P. Hayes c5da853fcd 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
1997-08-26 18:44:25 -06:00
H.J. Lu cf7c222f5d 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
1997-08-26 12:28:26 -06:00
Jim Wilson d4ef15f2ca 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
1997-08-26 12:05:23 -06:00
Jeff Law d40431299d Fix stupid typo in last change.
From-SVN: r14943
1997-08-26 12:04:44 -06:00
Jeffrey A Law 823a059627 * libtxi/Makefile.in: Add dependencies for memcpy, memmove and strdup.
From-SVN: r14939
1997-08-26 11:18:19 -06:00
Jim Wilson 10549cbd85 H.J. Lu's SMP patch.
From-SVN: r14924
1997-08-25 23:36:27 -07:00
Jason Merrill 818045b6d8 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
1997-08-25 21:34:48 -04:00
Jason Merrill 3e68fa8311 [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
1997-08-25 20:27:06 -04:00
Jason Merrill 922ddba49f 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
1997-08-25 17:30:44 -04:00
Jeffrey A Law 484df98895 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
1997-08-25 13:15:01 -06:00
Jeff Law 39dfb55a01 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
1997-08-25 09:00:44 -06:00
Jeffrey A Law d78778ebf9 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
1997-08-25 01:48:35 -06:00
Jim Wilson 8ba0f41e9b configure.in: Always make sure RANLIB_TEST is set.
* configure.in: Always make sure RANLIB_TEST is set.
        * configure: Rebuilt.

From-SVN: r14913
1997-08-25 01:44:59 -06:00
Jim Wilson ebf92f1c90 missed ChangeLog entry for last checkin
From-SVN: r14911
1997-08-24 17:26:31 -07:00
Jim Wilson feb9ea1a1f 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
1997-08-24 17:25:22 -07:00
Jeffrey A Law 4c9e597b51 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
1997-08-23 17:47:00 -06:00
John F. Carr b6ffe60242 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
1997-08-23 17:25:05 -06:00
Jim Wilson 2ebfd23067 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
1997-08-23 14:41:33 -07:00
Jeffrey A Law 251ffdee0e 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
1997-08-23 00:19:56 -06:00
Jim Wilson 2731427487 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
1997-08-22 21:39:31 -07:00
Jim Wilson 19372aa112 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
1997-08-22 14:39:10 -07:00
Jeffrey A Law ea16770fb1 * Makefile.in (UOBJ): Include symlnk.
From-SVN: r14894
1997-08-22 08:54:27 -06:00
John F. Carr 2a2c8203b6 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
1997-08-22 00:39:29 -06:00
Jeff Law d80357b704 Tweak.
From-SVN: r14886
1997-08-21 20:16:20 -06:00
Jason Merrill 8eeda2ecd5 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
1997-08-21 21:52:56 -04:00
Jim Wilson b4f32d7b12 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
1997-08-21 17:47:59 -07:00
Jason Merrill fb52f6de35 release notes
From-SVN: r14883
1997-08-21 20:30:16 -04:00
Jason Merrill 51e3ba163a ignored by import
From-SVN: r14882
1997-08-21 19:14:36 -04:00
Jason Merrill 6599da043e Initial revision
From-SVN: r14877
1997-08-21 18:57:35 -04:00
J"orn Rennecke 8975416cfb 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
1997-08-21 18:34:19 -04:00
Jeffrey A Law f1e182826e Bump version # for new snapshot.
From-SVN: r14874
1997-08-21 14:46:15 -06:00
Jim Wilson 7d11fb7f0c 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
1997-08-21 13:17:25 -07:00
Jeffrey A Law ca363bb6c1 * Makefile.in (install-common): Put gcov comment at start of line.
From-SVN: r14871
1997-08-21 10:23:22 -06:00
Mumit Khan adb0d78cc9 Makefile.in (UOBJ): Include mclock.
* Makefile.in (UOBJ): Include mclock.
From Mumit Khan.

From-SVN: r14870
1997-08-20 23:20:15 -06:00
Jeffrey A Law 7557aa9871 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
1997-08-20 22:48:46 -06:00
Jason Merrill 49c249e1c8 [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
1997-08-20 20:50:39 -04:00
Jim Wilson 177873a521 Fix irix6 `make install' problem.
* intdoc.texi: Readd generated file.

From-SVN: r14867
1997-08-20 16:39:40 -07:00
Jim Wilson 2dcfcb5604 Change gcc3 to egcs.
From-SVN: r14866
1997-08-20 16:17:46 -07:00
Jim Wilson 63d0810bae Change gcc3 reference to egcs.
From-SVN: r14865
1997-08-20 15:14:18 -07:00
Jim Wilson 145856168e Expunge reference to gcc3.
From-SVN: r14864
1997-08-20 14:53:38 -07:00
Dave Love c34e3ae410 Patch from Dave Love.
* dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
	list.

From-SVN: r14862
1997-08-20 12:37:49 -07:00
Jim Wilson e3eef942f2 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
1997-08-20 12:30:36 -07:00
Michael Meissner 246853b927 Work with haifa renaming get_issue_rate -> ISSUE_RATE
From-SVN: r14858
1997-08-20 19:08:56 +00:00
Jason Merrill f017f649b4 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
1997-08-19 21:07:33 -04:00
Jason Merrill 04f4195145 * cplus-dem.c: Add 'extern' to prepends_underscore.
From-SVN: r14856
1997-08-19 20:12:54 -04:00
Jason Merrill fe4e8851ae 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
1997-08-19 19:31:19 -04:00
Jason Merrill f62dbf031d merge
From-SVN: r14853
1997-08-19 18:49:24 -04:00
Jason Merrill da20811c09 merge
From-SVN: r14852
1997-08-19 18:37:19 -04:00