Commit Graph

14975 Commits

Author SHA1 Message Date
Gavin Koch
63d96a9559 dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer in the prologue.
/
        * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
        frame pointer in the prologue.

From-SVN: r17131
1997-12-18 07:48:19 -07:00
Gavin Koch
913b5d5489 dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the frame pointer in the prologue.
* dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
        frame pointer in the prologue.

From-SVN: r17130
1997-12-18 07:48:12 -07:00
Benjamin Kosnik
3493906725 *** empty log message ***
From-SVN: r17129
1997-12-18 13:06:20 +00:00
Benjamin Kosnik
4f4da4e99b c++: Don't inject friends while processing templates
* pt.c (instantiate_class_template): Don't do injection when
 	processing_template_decl is true, as pollutes current_binding_level
        for base classes.
PR g++/13911/14438

From-SVN: r17128
1997-12-18 13:03:54 +00:00
Robert Lipe
80aab652d4 * x-sco5 (CLIB) Deleted. (ALLOCA) Added.
* xm-sco5.h  (USE_C_ALLOCA) Added.

From-SVN: r17127
1997-12-18 04:51:41 -07:00
Peter Schmid
840b09b4cc * pt.c (maybe_fold_nontype_arg): Add prototype.
From-SVN: r17126
1997-12-17 13:15:00 -07:00
Bill Moyer
f5c4bc60df Adjusted egcs m68k-coff files to look like gcc2 m68k-coff files.
From-SVN: r17125
1997-12-17 16:05:51 +00:00
Richard Henderson
8dcb529511 sparc.md (jump): Don't use the annul bit around an empty loop.
* sparc.md (jump): Don't use the annul bit around an empty loop.
Patch from Kevin.Kelly@East.Sun.COM.

From-SVN: r17124
1997-12-17 07:07:39 -08:00
Stan Cox
a99503b17d jump.c: (optimize_jump): Don't use the return register as a source1 of a conditional move.
* jump.c: (optimize_jump): Don't use the return register as a
        source1 of a conditional move.

From-SVN: r17123
1997-12-16 16:52:36 -07:00
Richard Henderson
e13c943cb6 sparc.c (DF_MODES): Or the mask not the bit number.
* sparc.c (DF_MODES): Or the mask not the bit number.
(function_arg) [ARCH64]: Send unprototyped arg to fp reg first.

From-SVN: r17122
1997-12-16 15:46:23 -08:00
Christian Iseli
be3d27d60c * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
From-SVN: r17121
1997-12-16 16:12:32 -07:00
Manfred Hollstein
ade7386a03 fixincludes (size_t): Add support for Motorola's stdlib.h which fails to provide a definition for size_t.
* fixincludes (size_t): Add support for Motorola's stdlib.h
        which fails to provide a definition for size_t.
        (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
        (strlen,strspn,strcspn return value): Handle different layout on sysV88.
        (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
Fixes from Manfred.

From-SVN: r17120
1997-12-16 15:51:00 -07:00
Jeff Law
a24ebe1bad profile1.C (XFAIL): Expect it to fail on m68k-motorola-sysv and m88k-motorola-sysv3.
* g++.old-deja/g++.law/profile1.C (XFAIL): Expect it to fail on
	m68k-motorola-sysv and m88k-motorola-sysv3.
	* gcc.c-torture/execute/loop-2e.cexp: New file to indicate expected
	compile failures on m68k-motorola-sysv and m88k-motorola-sysv3.
	* gcc.c-torture/execute/loop-2f.cexp: Likewise.

From-SVN: r17119
1997-12-16 15:45:45 -07:00
Manfred Hollstein
f184a26462 xm-mot3300.h (ADD_MISSING_POSIX, [...]): Define to prevent unresolved externals in libio.
* m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
        prevent unresolved externals in libio.
        * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.

From-SVN: r17118
1997-12-16 15:42:33 -07:00
H.J. Lu
afc967911d linux64.h (LIBGCC_SPEC): Removed.
* config/sparc/linux64.h (LIBGCC_SPEC): Removed.
	(CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
	(LIB_SPEC): Updated for glibc 2.

From-SVN: r17117
1997-12-16 15:25:35 -07:00
Jeffrey A Law
e9818f3c28 stdarg.h: Undo BeOS changes, they break hpux.
* ginclude/stdarg.h: Undo BeOS changes, they break hpux.
        * ginclude/varargs.h: Likewise.

From-SVN: r17116
1997-12-16 13:00:15 -07:00
Jason Merrill
6748b64398 tree.c (mapcar): Handle TRY_CATCH_EXPR et al.
* tree.c (mapcar): Handle TRY_CATCH_EXPR et al.
	* error.c (dump_expr): Likewise.

From-SVN: r17115
1997-12-16 11:51:07 -05:00
Jeff Law
a3fd4e7530 frame.h (__register_frame, [...]): New.
* frame.h (__register_frame, __register_frame_table,
        __deregister_frame): New.
        * frame.c (__register_frame, __register_frame_table,
        __deregister_frame): New.
        * frame.c (__deregister_frame_info): Return void *.
        * frame.h (__deregister_frame_info): Ditto.
        * collect2.c (__deregister_frame_info): Ditto.

From-SVN: r17113
1997-12-15 16:28:44 -07:00
Jeffrey A Law
520cd33161 * version.c: Bump for snapshot.
From-SVN: r17112
1997-12-15 16:11:07 -07:00
Jeff Law
79c06341d6 Don't ever run autoconf in the toplevel directory :(
From-SVN: r17111
1997-12-15 15:07:48 -07:00
Jason Merrill
3496c0bec4 update
From-SVN: r17110
1997-12-15 15:40:20 -05:00
Jason Merrill
4bfc4dda74 typeck.c (build_function_call_real): Remove "inline called before definition" pedwarn.
* typeck.c (build_function_call_real): Remove "inline called before
	definition" pedwarn.

	* pt.c (coerce_template_parms): Use maybe_fold_nontype_arg.

From-SVN: r17109
1997-12-15 15:34:29 -05:00
Richard Henderson
4f69985cf7 Missed this from the -mmemory-latency commit.
From-SVN: r17108
1997-12-15 10:40:42 -08:00
Richard Henderson
166cdf4ab4 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
From-SVN: r17107
1997-12-15 10:39:02 -08:00
Richard Henderson
bcbbac264c alpha.c (alpha_cpu_name): New variable.
* alpha.c (alpha_cpu_name): New variable.
(alpha_mlat_string): Likewise.
(alpha_memory_latency): Likewise.
(override_options): Handle -mmemory-latency.
(alpha_adjust_cost): Adjust load cost for latency.
* alpha.h (TARGET_OPTIONS): Add meory-latency.
(REGISTER_MOVE_COST): Define in terms of memory_latency.  Take
TARGET_CIX into account.
(MEMORY_MOVE_COST): Define in terms of memory_latency.
* invoke.texi (DEC Alpha Options): Document -mmemory-latency.
* alpha.h (ASM_COMMENT_START): New macro.

From-SVN: r17106
1997-12-15 10:33:21 -08:00
Richard Henderson
1914f5da24 reload.h, [...]: Revert March 15 change.
* reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
	dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
	* reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
	SUBREG_REG if the word count is unchanged.
	* reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
	subregs of identical word size for push_reload.

From-SVN: r17105
1997-12-15 09:55:58 -08:00
Mark Mitchell
a701efba7e toplev.c (rest_of_compilation): Don't call save_for_inline_copy if all we're doing is dealing with -Wreturn-type.
* toplev.c (rest_of_compilation): Don't call save_for_inline_copy
        if all we're doing is dealing with -Wreturn-type.

From-SVN: r17104
1997-12-15 10:55:11 -07:00
Richard Henderson
5e21ac7a62 alpha.md (zero_extendqihi2, [...]): Use and 255 instead of zapnot 1, since it schedules better.
* alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
        Use and 255 instead of zapnot 1, since it schedules better.

From-SVN: r17103
1997-12-15 09:55:10 -08:00
Richard Henderson
395928138c * com.c (ffecom_type_vardesc_): Vardesc.dims is a `ftnlen*'.
From-SVN: r17102
1997-12-15 09:34:23 -08:00
Jeffrey A Law
296f8acc11 stmt.c (expand_asm_operands): If an ASM has no outputs, then treat it as volatile.
* stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
	it as volatile.

From-SVN: r17100
1997-12-15 08:46:40 -07:00
Jeff Law
acda6d8beb Rebuild.
From-SVN: r17099
1997-12-15 08:08:30 -07:00
Jason Merrill
5c0ad67204 cvt.c (cp_convert_to_pointer): Fix base conversion of pm's.
* cvt.c (cp_convert_to_pointer): Fix base conversion of pm's.

	* pt.c (type_unification_real): Change __null to type void* with
	a warning.

From-SVN: r17098
1997-12-15 02:24:29 -05:00
Jeff Law
6d8ccdbbb2 Bring over changes from latest gcc-2.8 pre-release.
Mirror sched.c change into haifa-sched.c

From-SVN: r17097
1997-12-15 00:05:04 -07:00
Jeff Law
7b8dd49741 Change from latest gcc-2.8 prerelease
From-SVN: r17096
1997-12-14 23:11:01 -07:00
Mark Mitchell
3042d5bea2 call.c (implicit_conversion): Don't call build_user_type_conversion_1 with a NULL expr, since it will crash.
* call.c (implicit_conversion): Don't call
	build_user_type_conversion_1 with a NULL expr, since it will
	crash.

	* pt.c (unify): Don't try to unify array bounds if either array is
	unbounded.

From-SVN: r17095
1997-12-14 23:40:01 -05:00
Jason Merrill
be296fdb53 tweak
From-SVN: r17094
1997-12-14 22:58:21 -05:00
Jason Merrill
d9c92f3237 tweak comment
From-SVN: r17093
1997-12-14 22:58:03 -05:00
Per Bothner
14e83f2ef5 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
From-SVN: r17090
1997-12-13 11:40:06 -08:00
Jason Merrill
9b8d9d6b02 flow.c (flow_analysis): Be consistent with find_basic_blocks in determining when a new basic block starts.
* flow.c (flow_analysis): Be consistent with find_basic_blocks in
	determining when a new basic block starts.

From-SVN: r17085
1997-12-12 20:49:10 -05:00
Jason Merrill
9664b89edd errfn.c (cp_pedwarn, [...]): Replace extern decls with casts.
* errfn.c (cp_pedwarn, cp_pedwarn_at, cp_error_at, cp_warning_at):
	Replace extern decls with casts.

	* decl.c (expand_start_early_try_stmts): Don't mess with a sequence.
	Update last_parm_cleanup_insn.
	(store_after_parms): Remove.
	* cp-tree.h: Adjust.

Fixes eh{39,40}.C

From-SVN: r17083
1997-12-12 19:28:00 -05:00
Jason Merrill
62189d7d8f add dwarf2 note
From-SVN: r17082
1997-12-12 18:30:45 -05:00
Richard Kenner
8a173c73b5 integrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL, look inside a (mem (addressof (mem ...))).
* integrate.c (initialize_for_inline): In DECL_RTL of a PARM_DECL,
	look inside a (mem (addressof (mem ...))).

From-SVN: r17075
1997-12-12 09:06:57 -07:00
Jeff Law
73cea257d4 Rebuild after recent changes.
From-SVN: r17074
1997-12-12 08:58:02 -07:00
Jason Merrill
74c3447c83 osf2or3.h (LIB_SPEC): Restore missing defn.
* alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
Lost in 11/02 merge.

	* pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
	* pa.md (iorsi3): Add missing args to *_operand calls.
Simple bugs shown up by recent changes.

From-SVN: r17071
1997-12-12 05:31:22 -05:00
Jason Merrill
100d81d443 except.c (call_get_eh_context): Don't mess with sequences.
* except.c (call_get_eh_context): Don't mess with sequences.
	(emit_eh_context): Include the call in the sequence here.

From-SVN: r17070
1997-12-12 04:23:52 -05:00
Jeff Law
cba734eaca Finish last change. I'm no emacs wizard :(
From-SVN: r17069
1997-12-12 02:00:19 -07:00
Jeff Law
332c1bb4ba Fix minor bug in BeOS changes.
From-SVN: r17068
1997-12-12 01:50:19 -07:00
Jeff Law
c3b1131125 Revert last change
From-SVN: r17067
1997-12-12 01:13:05 -07:00
Paul Eggert
5a5ab947b8 collect2.c (write_c_file_glob): Allocate initial frame object in static storage and pass its address.
* collect2.c (write_c_file_glob): Allocate initial frame object
        in static storage and pass its address.

From-SVN: r17066
1997-12-12 00:37:57 -07:00
Jason Merrill
01eb7f9a1c except.c (call_get_eh_context): Don't take a parm.
* except.c (call_get_eh_context): Don't take a parm.
	Put the call at the top of the function.
	(emit_eh_context): Adjust.
	(get_eh_context): Replace with former use_eh_context.
	(get_eh_context_once, get_saved_pc_ref): Remove.
	(start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
	* except.h: Adjust.
	* integrate.c (expand_inline_function): Adjust.
	* toplev.c (rest_of_compilation): Don't call emit_unwinder.

tidy tidy tidy

From-SVN: r17065
1997-12-12 02:35:04 -05:00