Commit Graph

16360 Commits

Author SHA1 Message Date
Jeff Law
3d6bcd762c Initial revision
From-SVN: r19485
1998-04-28 19:53:08 -06:00
Jeff Law
bd066fbfb9 Initial revision
From-SVN: r19482
1998-04-28 17:26:17 -06:00
Jeff Law
7342b050ae Initial revision
From-SVN: r19476
1998-04-28 17:12:39 -06:00
Jim Wilson
f60d62486e Patch from Shigeya Suzuki to fix BSD/OS 3.1 build failure.
* ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
	when undefining macros at the end.

From-SVN: r19472
1998-04-28 14:13:26 -07:00
Jim Wilson
bf931ec829 Fix x86 memset bug, reported by Karl Guenter Wuensch.
* expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
	val or len has TREE_SIDE_EFFECTS set.

From-SVN: r19471
1998-04-28 12:12:47 -07:00
Jim Wilson
2cea586a7e Patch to fix sparc multiply failures, reported by Laurent Bonnaud.
* sparc.md (mulsidi3): Call const v8plus and v8plus routines.
	(mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
	(smuldi3_highpart): Call const v8plus routine.
	(smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
	(const_smulsi3_highpart_v8plus): New pattern.
	(smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
	(umulsidi3): Call const v8plus routine.
	(umulsi3_highpart): Handle const before v8plus.  Call const v8plus
	routine.
	(umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
	(umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.

From-SVN: r19470
1998-04-28 10:55:22 -07:00
Mark Mitchell
b69b1501dc semantics.c (begin_stmt_expr): Avoid duplicating the effect of the expression in templates.
* semantics.c (begin_stmt_expr): Avoid duplicating the effect of
	the expression in templates.
	(finish_stmt_expr): Likewise.

From-SVN: r19469
1998-04-28 13:24:00 +00:00
Jim Wilson
69fa83cfbb Patch from Ian Taylor. Clarify MIPS -membedded-pic documentation.
From-SVN: r19468
1998-04-28 05:13:37 -07:00
Nick Clifton
3a6bd8c027 At the suggestion of Richard Earnshaw I have changed GO_IF_LEGITIMATE_ADDRESS...
At the suggestion of Richard Earnshaw I have changed GO_IF_LEGITIMATE_ADDRESS
so that it tests for equality to frame-pointer-rtx rather than
FRAME_POINTER_REGNUM.

From-SVN: r19467
1998-04-28 08:26:56 +00:00
Brendan Kehoe
9ac1d79d9d * decl2.c (ambiguous_decl): Fix NAME parm to be a tree, not int.
From-SVN: r19466
1998-04-28 03:33:51 -04:00
Michael Meissner
2b7972b093 update m32r port
From-SVN: r19465
1998-04-28 05:58:21 +00:00
Michael Meissner
77be0cab5f Fixup --enable-target-optspace
From-SVN: r19464
1998-04-28 04:36:18 +00:00
Michael Meissner
3d9d39bbd3 Add mt-ospace
From-SVN: r19463
1998-04-28 04:33:46 +00:00
Richard Henderson
1052e6e680 Bounce the ftnint argument through a local time_t.
From-SVN: r19460
1998-04-27 16:00:10 -07:00
Richard Henderson
70e1ce21e5 * libU77/ltime_.c: Bounce the ftnint argument through a local time_t.
From-SVN: r19457
1998-04-27 15:53:54 -07:00
Richard Henderson
8746c23564 One more try at correct paths to f771 headers.
From-SVN: r19456
1998-04-27 15:46:10 -07:00
Manfred Hollstein
f163f35b5b Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
8
	* Makefile.in (libgcc2.ready): Revert last patch (Apr 24).

From-SVN: r19455
1998-04-27 22:27:25 +00:00
Manfred Hollstein
bd55c37438 Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
�
	* Makefile.in (libgcc2.ready): Revert last patch (Apr 24).

From-SVN: r19454
1998-04-27 22:27:23 +00:00
Jeff Law
98ee048d6c Initial revision
From-SVN: r19451
1998-04-27 16:11:44 -06:00
Jeff Law
26c6bea56a Initial revision
From-SVN: r19448
1998-04-27 15:53:17 -06:00
Jeff Law
38163d9a4e Initial revision
From-SVN: r19445
1998-04-27 15:12:32 -06:00
Jeff Law
ee6d4817d8 Initial revision
From-SVN: r19444
1998-04-27 15:11:12 -06:00
Jeff Law
67bb1a5270 Initial revision
From-SVN: r19443
1998-04-27 15:10:27 -06:00
Jeff Law
500911e245 Initial revision
From-SVN: r19442
1998-04-27 15:08:51 -06:00
Jeff Law
4152a9e593 Initial revision
From-SVN: r19441
1998-04-27 15:08:00 -06:00
Jeff Law
122bfcd596 Initial revision
From-SVN: r19440
1998-04-27 15:07:41 -06:00
Jeff Law
45f8428faa Initial revision
From-SVN: r19439
1998-04-27 15:03:02 -06:00
Jeff Law
fe7445b0dd Initial revision
From-SVN: r19438
1998-04-27 15:02:41 -06:00
Jim Wilson
561cf7b130 Fix for x86 FP problem.
* reg-stack.c: Revert last patch (Apr 20).
	(convert_regs): Set insn to PREV_INSN (next) after do while loop.

From-SVN: r19437
1998-04-27 12:24:06 -07:00
Jim Wilson
1688d6d2c7 Fix coldfire addsf3 bug, bug and patch from David Fiddes.
* m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.

From-SVN: r19436
1998-04-27 11:41:40 -07:00
Jim Wilson
0628fde607 Fix hppa miscompilation bug reported by Manfred Hollstein.
* loop.c (check_dbra_loop): New locals jump, first_compare, and
	compare_and_branch.  Call get_condition to set first_compare.
	Set compare_and_branch to number of compare/branch instructions.
	Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
	Replace '2' with compare_and_branch.

From-SVN: r19435
1998-04-27 11:39:07 -07:00
Mark Mitchell
eae97bd90c decl.c (maybe_push_to_top_level): Always clear current_template_parms and processing_template_decl.
* decl.c (maybe_push_to_top_level): Always clear
	current_template_parms and processing_template_decl.
	(pushtag): Remove check of current_class_type and some comments,
	since maybe_push_to_top_level no longer creates confusion.

From-SVN: r19434
1998-04-27 14:02:45 +00:00
Andrew MacLeod
0762341703 cplus-dem.c (demangle_qualified): Add a missing else which caused qualified...
cplus-dem.c (demangle_qualified): Add a missing else which caused
qualified names with temp,lates to be demangled improperly.

From-SVN: r19433
1998-04-27 12:59:51 +00:00
J"orn Rennecke
97d6fd65f3 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
From-SVN: r19432
1998-04-27 13:25:51 +01:00
Dave Love
5645adf0a2 Comment about fix.
From-SVN: r19431
1998-04-27 11:19:46 +00:00
J"orn Rennecke
3d5a082089 sh.c (sh_expand_prologue, [...]): If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
* sh.c (sh_expand_prologue, sh_expand_epilogue):
        If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
        * sh.h (STACK_BOUNDARY): Likewise.

From-SVN: r19430
1998-04-27 11:26:39 +01:00
Craig Burley
515d3c1783 hostnm_.c (G77_hostnm_0): Fix off-by-one error that was trashing the byte just beyond the CHARACTER*(*)...
Sun Apr 26 09:13:41 1998  Craig Burley  <burley@gnu.org>
	* libU77/hostnm_.c (G77_hostnm_0): Fix off-by-one error
	that was trashing the byte just beyond the CHARACTER*(*)
	argument.

From-SVN: r19429
1998-04-27 10:22:25 +00:00
Jason Merrill
6c58160c11 update
From-SVN: r19428
1998-04-27 06:19:31 -04:00
Craig Burley
6b2fe0fbe4 (G77_hostnm_0): Fix off-by-one error
that was trashing the byte just beyond the CHARACTER*(*)
argument.

From-SVN: r19427
1998-04-27 10:11:57 +00:00
Dave Love
a235cdd775 New test.
From-SVN: r19426
1998-04-27 10:06:28 +00:00
Dave Love
8594f2102c * g77.f-torture/compile/980427-0.f: New test.
From-SVN: r19425
1998-04-27 10:03:37 +00:00
J"orn Rennecke
ef41dabb7e * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
From-SVN: r19424
1998-04-27 10:26:21 +01:00
Michael Meissner
22c4957e6b Redefine abort to report linenumber and filename of the error
From-SVN: r19423
1998-04-27 08:49:53 +00:00
Michael Meissner
563c063f76 Fix a warning
From-SVN: r19422
1998-04-27 06:20:13 +00:00
Michael Meissner
14bf4a33ec Make args to jump_optimize symbolic
From-SVN: r19421
1998-04-27 06:05:55 +00:00
Richard Henderson
5d02ee6677 alpha.h (CONST_COSTS): Zero is always free.
* alpha.h (CONST_COSTS): Zero is always free.
(RTX_COSTS): Add EV6 costs.  Abort if alpha_cpu is unknown.

From-SVN: r19420
1998-04-26 16:21:55 -07:00
Richard Henderson
fcce69a9e9 configure.in: Adjust include paths in F2C_INTEGER and F2C_LONGINT tests to work out of the...
* configure.in: Adjust include paths in F2C_INTEGER and F2C_LONGINT
tests to work out of the build directory.

From-SVN: r19419
1998-04-26 11:09:12 -07:00
Mark Mitchell
6757edfe65 cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.
* cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro.
	(DECL_CLASS_TEMPLATE_P): Likewise.
	(DECL_PRIMARY_TEMPLATE): Likewise.
	(PRIMARY_TEMPLATE_P): Use it.
	(push_template_decl_real): New function.
	(redeclare_class_template): Take new template parameters as
	input.
	(is_specialization_of): New function.
	(comp_template_args): Declare.
	* decl.c (pushtag): Handle friend template classes.
	(xref_tag): Likewise.  Use new calling convention for
	redeclare_class_template.
	* decl2.c (grok_x_components): Handle friend templates.
	* friend.c (is_friend): Use is_specialization_of where
	appropriate.  Deal with friend class templates.
	(make_friend_class): Let a class template be friends with itself.
	* pt.c (comp_template_args): Remove declaration.
	(tsubst_friend_class): New function.
	(push_template_decl_real): New function.
	(push_template_decl): Use it.
	(redeclare_class_template): Adjust for new calling convention.
	(comp_template_args): Give it external linkage.
	(instantiate_class_type): Use tsubst_friend_class to deal
	with friend templates.
	* typeck.c (comptypes): Use comp_template_args, rather than
	expanding it inline.
	* parse.y (component_decl): Handle a nested template type
	like other component type declarations.

From-SVN: r19418
1998-04-26 16:30:11 +00:00
Andreas Schwab
7bf407413f cplus-dem.c (gnu_special): Fix off-by-one bug when checking the length in the name of a virtual table.
* cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
	length in the name of a virtual table.

From-SVN: r19417
1998-04-26 11:41:36 -04:00
Jason Merrill
965cec4178 new
From-SVN: r19416
1998-04-26 11:21:49 -04:00