Commit Graph

18365 Commits

Author SHA1 Message Date
Richard Henderson
6abc6f40ef alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence, not whatever we're generating now.
* alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence,
        not whatever we're generating now.
        * alpha.c (set_frame_related_p, FRP): New.
        (alpha_expand_prologue): Mark frame related insns.
        (alpha_expand_epilogue): Likewise, but with a null FRP.
        * alpha.h (INCOMING_RETURN_ADDR_RTX): New.
        * alpha.md (exception_receiver): New.
        * alpha/crtbegin.asm (.eh_frame): New beginning.
        (__do_frame_setup, __do_frame_takedown): New.
        * alpha/crtend.asm (.eh_frame): New ending.
        * alpha/elf.h (DWARF2_DEBUGGING_INFO): Define.
        (ASM_SPEC): Don't emit both dwarf2 and mdebug.
        (ASM_FILE_START): Don't emit .file for dwarf2.

From-SVN: r22277
1998-09-05 15:22:07 -07:00
Richard Henderson
07ebc9309d rtl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR.
* rtl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR.
        * rtl.c (reg_note_name): Likewise.
        * rtl.texi (REG_NOTES): Likewise.
        * dwarf2out.c (dwarf2out_frame_debug): Use it.  Recognize a store
        without an offset.

From-SVN: r22273
1998-09-05 14:57:56 -07:00
Mark Mitchell
6c30752f09 cp-tree.h (TI_PENDING_SPECIALIZATION_FLAG): Remove.
* cp-tree.h (TI_PENDING_SPECIALIZATION_FLAG): Remove.
	* class.c (finish_struct): Remove hackery to deal with explicit
	specializations in class scope.
	* decl.c (grokfndecl): Improve error-recovery.
	* decl2.c (grokfield): Likewise.
	* pt.c (check_specialization_scope): New function.
	(begin_specialization): Call it.
	(process_partial_specialization): New function, split out from
	push_template_decl.  Check partial specializations more
	stringently.
	(push_template_decl): Call it.
	(check_explicit_specialization): Don't attempt to handle explicit
	specializations in class scope.
	(template_parm_data): Document.  Add current_arg and
	arg_uses_template_parms.
	(mark_template_parm): Set it.
	(tsubst_arg_types): Remove unused variable.
	* semantics.c (begin_class_definition): Tweak.

From-SVN: r22271
1998-09-05 20:14:21 +00:00
Mark Mitchell
00dd3ccd9b Remove duplicate test
From-SVN: r22270
1998-09-05 19:11:15 +00:00
Richard Henderson
55953cea37 i386.h (PREFERRED_RELOAD_CLASS): Standard fp constants load to TOS.
* i386.h (PREFERRED_RELOAD_CLASS): Standard fp constants load to TOS.
        * i386.md (movsf, movdf, movxf): Validate memory address returned
        from force_const_mem.  Kill useless REG_EQUAL setting code.

From-SVN: r22269
1998-09-05 07:50:25 -07:00
Jeffrey A Law
37834fc834 m68k.md (5200 movqi): Do not allow byte sized memory references using address regs.
* m68k.md (5200 movqi): Do not allow byte sized memory references
        using address regs.
        * m68k.c (output_move_qimode): Do not use byte sized operations on
        address registers.

From-SVN: r22268
1998-09-05 07:50:48 -06:00
Torbjorn Granlund
2325494c9b * m68k.md (zero_extendsidi2): Fix typo.
From-SVN: r22265
1998-09-05 07:25:49 -06:00
John Hughes
c5ce8032ad configure.in: Do not assume x86-svr4 or x86-unixware can handle stabs.
8
        * configure.in: Do not assume x86-svr4 or x86-unixware can handle
        stabs.

From-SVN: r22264
1998-09-05 06:58:40 -06:00
John Hughes
ab03db526f configure.in: Do not assume x86-svr4 or x86-unixware can handle stabs.
�
        * configure.in: Do not assume x86-svr4 or x86-unixware can handle
        stabs.

From-SVN: r22263
1998-09-05 06:58:39 -06:00
Krister Walfridsson
641d421638 configure.in: Removed references to the removed file
* configure.in: Removed references to the removed file
        * config/xm-netbsd.h. Use ${cpu_type}/xm-netbsd.h for
        * arm*-*-netbsd* and ns32k-*-netbsd*.
        * config/i386/xm-netbsd.h: Removed unnecessary file.
        * config/m68k/xm-netbsd.h: Likewise.
        * config/sparc/xm-netbsd.h: Likewise.
        * config/mips/xm-netbsd.h: Likewise.

From-SVN: r22262
1998-09-05 06:43:45 -06:00
Mumit Khan
3fafc2f665 cygwin32.h (BIGGEST_ALIGNMENT): Define.
* i386/cygwin32.h (BIGGEST_ALIGNMENT): Define.
        (PCC_BITFIELD_TYPE_MATTERS): Define to be 0.
        * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't check for
        for exact section attributions.
        * i386/mingw32.h (CPP_PREDEFINES): Add __MSVCRT__ for msvc
        runtime.
        * i386/crtdll.h (CPP_PREDEFINES): Define.

From-SVN: r22261
1998-09-05 06:28:53 -06:00
Jeffrey A Law
7539f38d47 * getopt.h, obstack.h: Updated from gcc.
From-SVN: r22260
1998-09-05 06:25:19 -06:00
Jeffrey A Law
f45da49cd6 pexecute.c: Updates from gcc.
* pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
        is the canonical copy.  Define ISSPACE if !IN_GCC.
        * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
        * getopt1.c, obstack.c: Similarly.
        * Makefile.in: Build mkstemp.o

From-SVN: r22259
1998-09-05 06:24:41 -06:00
Jeffrey A Law
2bdfeefa88 Makefile.in (pexecute.o): Use pexecute.c from libiberty.
* Makefile.in (pexecute.o): Use pexecute.c from libiberty.  Provide
        explicit rules for building.  Similarly for alloca, vfprintf,
        choose-temp and mkstemp, getopt, getopt1, and obstack.
        (INCLUDES): Add $(srcdir)/../include.
        * pexecute.c, alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Delete.
        * getopt.h, getopt.c getopt1.c, obstack.c, obstack.h: Likewise.

From-SVN: r22258
1998-09-05 06:24:04 -06:00
Jeffrey A Law
7520c31b2d pexecute.c: Updates from gcc.
* pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
        is the canonical copy.  Define ISSPACE if !IN_GCC.
        * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
        * getopt1.c: Similarly.
        * Makefile.in: Build mkstemp.o

From-SVN: r22257
1998-09-05 06:10:25 -06:00
Jeffrey A Law
8cfa532085 Makefile.in (pexecute.o): Use pexecute.c from libiberty.
* Makefile.in (pexecute.o): Use pexecute.c from libiberty.  Provide
        explicit rules for building.  Similarly for alloca, vfprintf,
        choose-temp and mkstemp, getopt, getopt1.
        (INCLUDES): Add $(srcdir)/../include.
        * pexecute.c, alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Delete.
        * getopt.h, getopt.c getopt1.c: Likewise.

From-SVN: r22256
1998-09-05 06:09:54 -06:00
Jeffrey A Law
cccdae4bcc * getopt.h: Updated from gcc.
From-SVN: r22255
1998-09-05 05:17:41 -06:00
Mark Mitchell
8af43d55cd New test
From-SVN: r22254
1998-09-05 11:13:48 +00:00
Jeffrey A Law
423f265c70 Makefile.in (pexecute.o): Use pexecute.c from libiberty.
* Makefile.in (pexecute.o): Use pexecute.c from libiberty.  Provide
        explicit rules for building.  Similarly for alloca, vfprintf,
        choose-temp and mkstemp.
        * pexecute.c, alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Delete.

From-SVN: r22253
1998-09-05 05:10:11 -06:00
Jeffrey A Law
16ba4214ee pexecute.c: Updates from gcc.
* pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
        is the canonical copy.  Define ISSPACE if !IN_GCC.
        * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Similarly.
        * Makefile.in: Build mkstemp.o

From-SVN: r22252
1998-09-05 05:09:09 -06:00
Craig Burley
8c6c251db1 sys_clock_.c (G77_system_clock_0): Fix indentation.
Fri Sep  4 18:40:32 1998  Craig Burley  <burley@gnu.org>
	* libU77/sys_clock_.c (G77_system_clock_0): Fix indentation.

From-SVN: r22251
1998-09-05 10:47:39 +00:00
Craig Burley
eacd66f473 lang-options.h: Convert to wrap option and doc string in a new macro invocation...
Fri Sep  4 18:35:52 1998  Craig Burley  <burley@gnu.org>
	* lang-options.h: Convert to wrap option and doc string
	in a new macro invocation, FTNOPT, so the nearly identical
	list can be used in FSF-g77.

From-SVN: r22250
1998-09-05 10:43:42 +00:00
Jeff Law
29382d668f pexecute.c: Updates from gcc.
* pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
        is the canonical copy.  Define ISSPACE if !IN_GCC.
        * alloca.c, vfprintf.c: Similarly.

From-SVN: r22249
1998-09-05 04:42:19 -06:00
Jeffrey A Law
39802f419a Makefile.in (pexecute.o): Use pexecute.c from libiberty.
* Makefile.in (pexecute.o): Use pexecute.c from libiberty.  Provide
        explicit rules for building.  Similarly for alloca and vfprintf.
        * pexecute.c, alloca.c, vfprintf.c: Delete.

From-SVN: r22248
1998-09-05 04:41:24 -06:00
Craig Burley
fd384dc9c8 intdoc.in: Minor editorial tweaks.
Fri Sep  4 19:53:34 1998  Craig Burley  <burley@gnu.org>
	* intdoc.in: Minor editorial tweaks.

From-SVN: r22247
1998-09-05 10:34:28 +00:00
Craig Burley
9041884c34 Makefile.in (fini.o): Don't define USE_HCONFIG here.
Fri Sep  4 18:35:52 1998  Craig Burley  <burley@gnu.org>
	* Makefile.in (fini.o): Don't define USE_HCONFIG here.
	* fini.c: Define USE_HCONFIG here instead, so deps-kinda
	picks up correct dependency.
	* Makefile.in (proj-h.o): Fix dependencies list.

From-SVN: r22246
1998-09-05 10:26:44 +00:00
Dave Love
1c98b8e713 Makefile.in (LDFLAGS): Set from BOOT_LDFLAGS.
1998-09-05  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in (LDFLAGS): Set from BOOT_LDFLAGS.
	(F771_LDFLAGS): Variable dispensed with.

From-SVN: r22245
1998-09-05 10:13:55 +00:00
Dave Love
b61f39adc3 (LDFLAGS): Set from BOOT_LDFLAGS.
(F771_LDFLAGS): Variable dispensed with.

From-SVN: r22244
1998-09-05 10:12:32 +00:00
Jeffrey A Law
3f3726a3fe pexecute.c: Updates from gcc.
* pexecute.c: Updates from gcc.  Copy in gcc has been removed.  This
        is the canonical copy.  Define ISSPACE if !IN_GCC.

From-SVN: r22243
1998-09-04 20:26:35 -06:00
Jeffrey A Law
2a63377ccf Makefile.in (pexecute.o): Use pexecute.c from libiberty.
* Makefile.in (pexecute.o): Use pexecute.c from libiberty.  Provide
        explicit rules for building.
        * pexecute.c: Delete.

From-SVN: r22242
1998-09-04 20:24:45 -06:00
Jeffrey A Law
d4751916e8 Makefile.in: Tweak to avoid building runtime.
* Makefile.in: Tweak to avoid building runtime.  It's built
        elsewhere now.

From-SVN: r22241
1998-09-04 19:22:57 -06:00
Jeff Law
675adc8425 Chill runtime moves into toplevel libchill directory.
From-SVN: r22240
1998-09-04 19:17:03 -06:00
Jeffrey A Law
b54db29476 Makefile.in (TARGET_CONFIGDIRS): Add libchill.
* Makefile.in (TARGET_CONFIGDIRS): Add libchill.
        (ALL_TARGET_MODULES): Add all-target-libchill.
        (CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES): Similarly.
        (INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES): Similarly.
        (all-target-libchill): Add dependencies.
        * configure.in (target_libs): Add libchill.

From-SVN: r22239
1998-09-04 19:14:28 -06:00
Jeff Law
b79f73df6a * Chill runtime moved into toplevel libchill.
* Makefile.in Revamped due to move.  Add multilib support.
        * configure.in: Similarly.  Use autoconf.
        * powerset.h: Do not depend on BITS_PER_UNIT.

From-SVN: r22238
1998-09-04 19:11:54 -06:00
Jeff Law
1802393487 Daily bump.
From-SVN: r22237
1998-09-04 18:45:03 -06:00
Mark Mitchell
d5f343158a typeinfo (type_info::type_info(const char*)): Make `explicit'.
* inc/typeinfo (type_info::type_info(const char*)): Make
	`explicit'.

From-SVN: r22235
1998-09-04 16:35:14 +00:00
Tom Tromey
15c5edb921 gcc.c (do_spec_1): [case 'o'] Account for lang_specific_extra_outfiles.
* gcc.c (do_spec_1): [case 'o'] Account for
        lang_specific_extra_outfiles.
        (main): Correctly clear all slots in outfiles for
        lang_specific_extra_outfiles.  Set input_file_number before
        calling lang_specific_pre_link.

From-SVN: r22234
1998-09-04 12:58:40 +00:00
Mark Mitchell
cabc336a5e cp-tree.h (hash_tree_cons_simple): New macro.
* cp-tree.h (hash_tree_cons_simple): New macro.
	* pt.c (tsubst_arg_types): New function.  Use hash_tree_cons.
	(coerce_template_parms): Use make_temp_vec, instead of
	make_tree_vec.  Document this behavior.
	(lookup_template_class): Likewise.
	(tsubst, cases METHOD_TYPE, FUNCTION_TYPE): Use tsubst_arg_types.
	Remove dead code (and add ssertion to check its deadness).  Fix
	bug w.r.t. exception specifications.

From-SVN: r22233
1998-09-04 11:31:30 +00:00
Jim Wilson
7940acc401 Fix irix6 -g -O3 -funroll-all-loops bootstrap failure.
* loop.c (load_mems): Fix JUMP_LABEL field after for_each_rtx call.

From-SVN: r22232
1998-09-04 03:37:49 -07:00
David S. Miller
f3b8847be0 sparc.c (output_double_int): In all V9 symbolic cases, use xword.
* config/sparc/sparc.c (output_double_int): In all V9 symbolic
	cases, use xword.
	(sparc_output_deferred_case_vectors): If no work to do, return.
	Fix thinko in Sept 1 change.

From-SVN: r22231
1998-09-03 20:08:42 -07:00
Jason Merrill
1a408d0724 decl2.c (import_export_vtable): Always make artificials comdat.
* decl2.c (import_export_vtable): Always make artificials comdat.
	(import_export_decl): Likewise.
	* pt.c (mark_decl_instantiated): Likewise.

From-SVN: r22230
1998-09-03 21:43:58 -04:00
Jeff Law
71827aaacc Daily bump.
From-SVN: r22229
1998-09-03 18:45:02 -06:00
SL Baur
0a682beac5 Makefile.in: add semicolon in BISON definition for portability.
* Makefile.in: add semicolon in BISON definition for portability.

From-SVN: r22228
1998-09-03 16:43:40 -06:00
SL Baur
d4620cf129 Makefile.in: add semicolon in BISON definition for portability.
0
	* Makefile.in: add semicolon in BISON definition for portability.

From-SVN: r22227
1998-09-03 16:43:38 -06:00
Reid M. Pinchback
d559d91dfb explicit72.C: ensure that char and (un)signed char are different types for template...
* g++.old-deja/g++.pt/explicit72.C: ensure that char and
	(un)signed char are different types for template specialization
	purposes.

From-SVN: r22226
1998-09-03 22:30:30 +00:00
Toon Moene
ec066414f0 From Toon Moene <toon@moene.indiv.nluug.nl>
* config/nextstep.c (handle_pragma): Correct name of third
        argument.

From-SVN: r22225
1998-09-03 20:22:48 +00:00
Mark Mitchell
5bb1b56949 cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...
* cp-tree.h (finish_globally_qualified_member_call_expr):
	Rename to ...
	(finish_qualified_call_expr).
	* semantics.c: Likewise.
	* parse.y (primary): Use it.
	* method.c (hack_identifier): Remove redundant code.
	* init.c (resolve_offset_ref): Call convert_from_reference to
 	handle members of reference type.  Improve error recovery.

From-SVN: r22224
1998-09-03 20:17:16 +00:00
Mark Mitchell
c6a54ad592 cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...
* cp-tree.h (finish_globally_qualified_member_call_expr):
	Rename to ...
	(finish_qualified_call_expr).
	* semantics.c: Likewise.
	* parse.y (primary): Use it.
	* method.c (hack_identifier): Remove redundant code.
	* init.c (resolve_offset_ref): Call convert_from_reference to
 	handle members of reference type.  Improve error recovery.

From-SVN: r22223
1998-09-03 19:54:02 +00:00
Mark Mitchell
75d587eb19 cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...
* cp-tree.h (finish_globally_qualified_member_call_expr):
	Rename to ...
	(finish_qualified_call_expr).
	* semantics.c: Likewise.
	* parse.y (primary): Use it.
	* method.c (hack_identifier): Remove redundant code.
	* init.c (resolve_offset_ref): Call convert_from_reference to
 	handle members of reference type.  Improve error recovery.

From-SVN: r22222
1998-09-03 19:42:09 +00:00
Nick Clifton
51c10c4e05 Change (reg:CC 17) to (reg:SI 17)
From-SVN: r22221
1998-09-03 17:49:11 +00:00