Commit Graph

18427 Commits

Author SHA1 Message Date
Jeffrey A Law
e61fab197f * Makefile.in (profile.o): Depend on insn-config.h
From-SVN: r22351
1998-09-09 05:33:00 -06:00
Jim Wilson
2adad6e7ce Reenable accidentally disabled dwarf2 eh support for irix6.
* iris6.h (DWARF2_UNWIND_INFO): Undef.

From-SVN: r22350
1998-09-09 02:39:24 -07:00
Craig Burley
4ed35cdcdf configure.in: Test $srcdir, not $subdir (probable typo).
1998-09-09  Craig Burley  <burley@gnu.org>
	* configure.in: Test $srcdir, not $subdir (probable typo).
	Clarify commentary, fix a bit of spacing.

From-SVN: r22349
1998-09-09 06:18:00 +00:00
Dave Love
76bb14e35a ChangeLog.egcs: Deleted.
1998-09-07  Dave Love  <d.love@dl.ac.uk>
	* ChangeLog.egcs: Deleted.  Entries merged here.

From-SVN: r22348
1998-09-09 06:08:45 +00:00
Dave Love
df3be3843d ChangeLog.egcs: Deleted.
1998-09-07  Dave Love  <d.love@dl.ac.uk>
	* ChangeLog.egcs: Deleted.  Entries merged here.

From-SVN: r22347
1998-09-09 06:00:11 +00:00
Dave Love
66cd072adf ChangeLog.egcs: Deleted.
1998-09-07  Dave Love  <d.love@dl.ac.uk>
	* ChangeLog.egcs: Deleted.  Entries merged here.

From-SVN: r22346
1998-09-09 05:55:04 +00:00
David S. Miller
d559a4dbdd Add preliminary native sparcv9 Solaris support.
* configure.in: Recognize sparv9-*-solaris2*
	* configure: rebuilt
	* config.sub: Recognize sparcv9 just like sparc64.
	* config/sparc/sol2-c1.asm config/sparc/sol2-ci.asm
	config/sparc/sol2-cn.asm: Macroize so it can be shared between
	32-bit and 64-bit Solaris systems.
	* config/sparc/t-sol2: Assemble those with cpp.
	* config/sparc/sparc.h (TARGET_CPU_sparcv9): New alias for v9.
	(*TF*_LIBCALL): If ARCH64 use V9 names.
	* config/sparc/{xm-sysv4-64,sol2-sld-64}.h: New	files.

From-SVN: r22345
1998-09-08 19:43:28 -07:00
Jakub Jelinek
67cb8900b0 sparc.h (TARGET_CM_MEDMID): Fix documentation.
* config/sparc/sparc.h (TARGET_CM_MEDMID): Fix documentation.
	(CASE_VECTOR_MODE): Set to SImode even if PTR64, when MEDLOW and
	not doing pic.
	(ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Check CASE_VECTOR_MODE not
	Pmode.
	* config/sparc/sparc.md (tablejump): Likewise, and sign extend op0
	to Pmode if CASE_VECTOR_MODE is something else.

From-SVN: r22344
1998-09-08 19:19:08 -07:00
Jason Merrill
b54ccf71d5 class.c (get_enclosing_class): New function.
* class.c (get_enclosing_class): New function.
	(is_base_of_enclosing_class): Likewise.
	* cp-tree.h (get_enclosing_class): Declare.
	(is_base_of_enclosing_class): Likewise.
	* pt.c (coerce_template_parms): Use them.
	* g++spec.c (lang_specific_driver): Check whether MATH_LIBRARY is
	null to decide whether to use it.

From-SVN: r22343
1998-09-08 22:14:55 -04:00
Jason Merrill
009425e185 error.c (dump_type_real): Handle NAMESPACE_DECL.
* error.c (dump_type_real): Handle NAMESPACE_DECL.
	* parse.y (base_class.1): Avoid crash on error.
	* decl.c (make_typename_type): If context is a namespace, the code
	is in error.

From-SVN: r22342
1998-09-08 20:52:50 -04:00
Jeff Law
1ba15a03c7 Daily bump.
From-SVN: r22341
1998-09-08 18:47:02 -06:00
Jeffrey A Law
8054084fa4 configure.in (m68k-next-nextstep3*): Use collect2.
* configure.in (m68k-next-nextstep3*): Use collect2.
        Similarly for x86 NeXT configurations.
        * configure: Rebuilt.

From-SVN: r22340
1998-09-08 17:52:38 -06:00
Hans-Peter Nilsson
7e24ffc924 expr.c: Corrected comment about what MOVE_RATIO does.
* expr.c: Corrected comment about what MOVE_RATIO does.
        * config/alpha/alpha.h: Ditto.
        * config/1750a/1750a.h: Ditto.
        * config/clipper/clipper.h: Ditto.
        * config/i386/i386.h: Ditto.

From-SVN: r22339
1998-09-08 16:48:00 -06:00
Jeff Law
4746e092cc config.guess: Correctly identify Pentium II sco boxes.
8
        * config.guess: Correctly identify Pentium II sco boxes.

From-SVN: r22338
1998-09-08 16:10:06 -06:00
Jeff Law
2c8ec9a23a config.guess: Correctly identify Pentium II sco boxes.
* config.guess: Correctly identify Pentium II sco boxes.

From-SVN: r22337
1998-09-08 16:10:04 -06:00
Jeffrey A Law
974fd19467 configure.in (m68k-next-nextstep3*): Use collect2.
* configure.in (m68k-next-nextstep3*): Use collect2.
        * configure: Rebuilt.

From-SVN: r22336
1998-09-08 15:58:22 -06:00
Martin v. Löwis
ab4856b150 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
From-SVN: r22335
1998-09-08 14:33:57 -04:00
Dave Love
8f13fd73bb u77-test.f (main): New file, somewhat altered from libf2c/libU77 version.
1998-09-08  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/u77-test.f (main): New file, somewhat
	altered from libf2c/libU77 version.

From-SVN: r22333
1998-09-08 14:58:46 +00:00
Dave Love
d919746c4b New file, somewhat altered from libf2c/libU77 version.
From-SVN: r22332
1998-09-08 14:58:01 +00:00
Mumit Khan
5f5fc7ebfd * parse.y (nomods_initdcl0): Set up the parser stack correctly.
From-SVN: r22331
1998-09-08 10:00:19 -04:00
Joern Rennecke
d3adbeea55 Typo fix in comment.
From-SVN: r22330
1998-09-08 14:42:58 +01:00
Mark Mitchell
0c8feefe30 cp-tree.h (anonymous_namespace_name): Declare.
* cp-tree.h (anonymous_namespace_name): Declare.
	* decl.c: Define it.
	(push_namespace): Use anonymous_namespace_name, rather than local
	static anon_name.
	* error.c (dump_decl): If a namespace is named
	anonymous_namespace_name, call it {anonymous}.

From-SVN: r22329
1998-09-08 11:37:48 +00:00
Mark Mitchell
57af83585d decl.c (grokparms): Distinguish between references and pointers in error message.
* decl.c (grokparms): Distinguish between references and pointers
	in error message.

From-SVN: r22328
1998-09-08 10:04:38 +00:00
Jeffrey A Law
9de92eb5d0 * rts.h: Update with missing code.
From-SVN: r22327
1998-09-08 03:42:42 -06:00
Jeffrey A Law
e742fecc31 gjavah.c (print_class_decls): Fix thinko in arglist
* gjavah.c (print_class_decls): Fix thinko in arglist
        * jcv-io.c (find_classfile): Similarly.

From-SVN: r22326
1998-09-08 03:35:36 -06:00
Richard Henderson
76a837824a pt.c (process_partial_specialization): Consistantly allocate and zero tpd.parms based on ntparms.
* pt.c (process_partial_specialization): Consistantly allocate
	and zero tpd.parms based on ntparms.  Use tpd2.parms, not
	tpd.parms, where appropriate.

Co-Authored-By: Mark Mitchell <mark@markmitchell.com>

From-SVN: r22325
1998-09-08 09:06:28 +00:00
Jeff Law
f2bd33a3e6 Daily bump.
From-SVN: r22324
1998-09-07 18:45:01 -06:00
Nathan Sidwell
a2f319ea78 * gcc/configure.in: Don't assume srcdir is .../gcc
From-SVN: r22323
1998-09-07 18:41:00 -06:00
John Wehle
a300b8d994 global.c: Update comments.
* global.c: Update comments.
        (global_alloc): Assign allocation-numbers
        even for registers allocated by local_alloc in case
        they are later spilled and retry_global_alloc is called.
        (mark_reg_store, mark_reg_clobber,
        mark_reg_conflicts, mark_reg_death): Always record a
        conflict with a pseudo register even if it has been
        assigned to a hard register.
        (dump_conflicts): Don't list pseudo registers already assigned to
        a hard register as needing to be allocated, but do list their
        conflicts.
        * local-alloc.c: Update comment.

From-SVN: r22322
1998-09-07 18:29:35 -06:00
Jeffrey A Law
4b877abdec * config.guess: Fix "tr" code. From Weiwen Liu.
From-SVN: r22321
1998-09-07 18:19:58 -06:00
Jeffrey A Law
75a398647e configure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.
* configure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.
        * configure: Rebuilt.

From-SVN: r22320
1998-09-07 16:39:41 -06:00
Michael Meissner
b5370a8895 Fix name for -mcpu=ec603e; Make sure all targets that turn on -msoft-float use the correct multilibs
From-SVN: r22315
1998-09-07 20:42:22 +00:00
Kaveh R. Ghazi
96e88994f8 mkstemp.c: Include config.h even when not IN_GCC.
* mkstemp.c: Include config.h even when not IN_GCC.  Wrap header
       inclusions inside HAVE_*_H macros.  Include ansidecl.h when not
       IN_GCC.
       * vasprintf.c: Include stdarg.h/varargs.h first.
       * vprintf.c: Likewise.

From-SVN: r22314
1998-09-07 20:37:13 +00:00
Kaveh R. Ghazi
25074193a0 * toplev.c (print_switch_values): Make static to match prototype.
From-SVN: r22313
1998-09-07 20:35:41 +00:00
Jeffrey A Law
bcf12124f0 configure.in: If we are unable to find the "gnatbind" program...
* configure.in: If we are unable to find the "gnatbind" program,
        then do not configure the ada subdir.
        * configure: Rebuilt.

From-SVN: r22312
1998-09-07 12:15:42 -06:00
Mark Mitchell
71271702b7 Back out previous change
From-SVN: r22311
1998-09-07 15:40:51 +00:00
Jason Merrill
8251199e44 revert error reporting patch
From-SVN: r22310
1998-09-07 10:25:35 -04:00
Jeffrey A Law
5db17173c6 * Makefile.in (INCLUDES): Update for recent toplevel gcc changes.
From-SVN: r22309
1998-09-07 07:00:59 -06:00
Mark Mitchell
4d6e34ea2b cp-tree.h (cp_error): Prototype.
* cp-tree.h (cp_error): Prototype.
	(cp_error_at): Likewise.
	(cp_warning): Likewise.
	(cp_warning_at): Likewise.
	(cp_pedwarn): Likewise.
	(cp_pedwarn_at): Likewise.
	(cp_compiler_error): Likewise.
	(cp_sprintf): Likewise.
	(cp_enable_warning): Likewise.
	* errfn.c: Remove hack to avoid error-function prototypes when
	including cp-tree.h.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

From-SVN: r22308
1998-09-07 11:35:39 +00:00
Dave Love
b32067b2e2 sfe.c, dfe.c: Revert last change.
1998-09-07  Dave Love  <d.love@dl.ac.uk>
	* libI77/sfe.c, libI77/dfe.c: Revert last change.

From-SVN: r22307
1998-09-07 02:45:42 +00:00
Dave Love
ccea2926bd Revert last change.
From-SVN: r22306
1998-09-07 02:45:11 +00:00
Jeff Law
40d72cefa2 Daily bump.
From-SVN: r22305
1998-09-06 18:45:03 -06:00
Mark Mitchell
d41fbd2cb8 cp-error.def: New file.
* cp-error.def: New file.
	* Make-lang.in (cc1plus): Add dependency on it.
	* Makefile.in (CXX_TREE_H): Likewise.
	* cp-tree.h (error_code): New type.
	Include cp-error.def to get error codes.  Make it possible to
	include cp-tree.h in errfn.c.
	(enable_warning): New function.
	(flag_diag_codes): New variable.
	* errfn.c: Include cp-tree.h.
	(cp_err_msg): New type.  Include cp-error.def to define it.
	(err_msgs): New variable.
	(is_warning_enabled): New function.
	(cp_thing): Take an error_code, not a format string.  Output the
	diagnostic code if flag_diag_codes.
	(cp_error, cp_compiler_error, cp_sprintf, cp_error_at): Take
	error_codes, not format strings.
	(cp_warning, cp_pedwarn, cp_warning_at, cp_pedwarn_at): Likewise.
	Call is_warning_enabled.
	* decl2.c (flag_diag_codes): New variable.
	(lang_decode_option): Handle -fdiag-codes and -Wnumber.
	* lang-options.h: Add -fdiag-codes, -fno-diag-codes, and
	-W-number-, and -Wno-number.
	* class.c: Update all calls to error-functions.
	* cvt.c: Likewise.
	* decl.c: Likewise.
	* decl2.c: Likewise.
	* except.c: Likewise.
	* expr.c: Likewise.
	* friend.c: Likewise.
	* lex.c: Likewise.
	* parse.y: Likewise.
	* pt.c: Likewise.
	* repo.c: Likewise.
	* rtti.c: Likewise.
	* search.c: Likewise.
	* semantics.c: Likewise.
	* sig.c: Likewise.
	* tree.c: Likewise.
	* typeck.c: Likewise.
	* typeck2.c: Likewise.
	* xref.c: Likewise.

From-SVN: r22304
1998-09-06 19:45:16 +00:00
Anthony Green
e04a16fbee Initial revision
From-SVN: r22299
1998-09-06 15:36:06 +00:00
Jeffrey A Law
fc08e32958 Bump for snapshot
From-SVN: r22298
1998-09-06 08:04:04 -06:00
Jeffrey A Law
2c54a9ca03 Bump for snapshot
From-SVN: r22297
1998-09-06 07:28:10 -06:00
Dave Love
181cbf1736 io0.f: Test formatted direct i/o too.
1998-09-06  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/io0.f: Test formatted direct i/o too.

From-SVN: r22296
1998-09-06 06:25:18 +00:00
Dave Love
b1f20ce35a Test formatted direct i/o too.
From-SVN: r22295
1998-09-06 06:24:38 +00:00
Dave Love
b76d335291 1998-09-06 Dave Love <d.love@dl.ac.uk>
From Toon to fix spurious recursive i/o errors:
	* libI77/sfe.c (e_wdfe): Set f__init.
	* libI77/dfe.c (c_dfe): Check and set f__init.
	(s_rdfe, s_wdfe): Don't check and set f__init.

From-SVN: r22294
1998-09-06 06:15:14 +00:00
Kaveh R. Ghazi
114791ea10 Makefile.in (toplev.o): Depend on $(EXPR_H).
* Makefile.in (toplev.o): Depend on $(EXPR_H).
        (insn-extract.o, insn-attrtab.o): Depend on toplev.h.
        * gansidecl.h: Define ATTRIBUTE_NORETURN.
        * genattrtab.c: Have insn-attrtab.c include toplev.h.
        * genextract.c: Have insn-extract.c include toplev.h.
        * rtl.h: Don't prototype `fatal_insn_not_found' and `fatal_insn'.
        * toplev.c: Include expr.h.
        (really_sorry, fancy_abort): Remove prototypes.
        (set_target_switch): Add argument in prototype.
        (vfatal): Mark prototype with ATTRIBUTE_NORETURN.
        (v_really_sorry): Likewise.
        (print_version, print_single_switch, print_switch_values): Make
        static and add prototype arguments.
        (decl_printable_name): Add prototype arguments.
        (lang_expand_expr_t): New typedef.
        (lang_expand_expr): Declare as a lang_expand_expr_t.
        (incomplete_decl_finalize_hook): Add prototype argument.
        (decl_name): Mark variable `verbosity' with ATTRIBUTE_UNUSED.
        (botch): Likewise for variable `s'.
        (rest_of_type_compilation): Mark variables `type' and `toplev'
        with ATTRIBUTE_UNUSED if none of DBX_DEBUGGING_INFO,
        XCOFF_DEBUGGING_INFO or SDB_DEBUGGING_INFO are defined.
        (display_help): Make variable `i' an `unsigned long'.
        (main): Remove unused parameter `envp'.
        Cast assignment to `lang_expand_expr' to a `lang_expand_expr_t'.
        Cast -1 when comparing it with a `size_t'.
        * toplev.h (fatal, fatal_io_error, pfatal_with_name): Mark
        prototype with ATTRIBUTE_NORETURN.
        (fatal_insn_not_found, fatal_insn, really_sorry,
        push_float_handler, pop_float_handler): Add prototypes.
        (fancy_abort): Mark prototype with ATTRIBUTE_NORETURN.
        (do_abort, botch): Add prototypes.

From-SVN: r22293
1998-09-06 05:56:20 +00:00