Commit Graph

18265 Commits

Author SHA1 Message Date
Mark Mitchell
2c2b32dc36 Fix typo
From-SVN: r22159
1998-09-01 13:05:03 +00:00
Jason Merrill
830fcda8e7 decl.c (lookup_name_real): Also do implicit typename thing for artificial TYPE_DECLs.
* decl.c (lookup_name_real): Also do implicit typename thing for
	artificial TYPE_DECLs.
	* search.c (lookup_field): Likewise.
	(lookup_fnfields, lookup_field): Adjust for implicit typename kludge.
	* semantics.c (begin_constructor_declarator): Use enter_scope_of.
	(enter_scope_of): Extract type from implicit typename.
	(begin_class_definition): Likewise.
	* lex.c (identifier_type): Handle implicit typename when checking
	for SELFNAME.
	* cp-tree.h: Declare flag_strict_prototype.
	* lex.c (do_scoped_id, do_identifier): Don't implicitly_declare if
	-fstrict-prototype.
	* decl.c (init_decl_processing): If -f{no,-}strict-prototype wasn't
	specified, set it to the value of pedantic.

From-SVN: r22158
1998-09-01 07:51:41 -04:00
Mark Mitchell
3d6ed3ef45 Fix typo
From-SVN: r22157
1998-09-01 10:03:49 +00:00
Mark Mitchell
0c8bfdbc0c * decl2.c (arg_assoc): Handle template-id expressions as arguments.
From-SVN: r22156
1998-09-01 09:56:40 +00:00
Craig Burley
99d7f99a7f Version.c: Update.
Tue Sep  1 10:06:06 1998  Craig Burley  <burley@gnu.org>
        * libF77/Version.c: Update.
        * libU77/Version.c: Update.
        * libI77/Version.c: Update.

From-SVN: r22155
1998-09-01 03:13:54 -06:00
Craig Burley
0e5b2a4dee bugs.texi, [...]: Doc updates from Craig.
8
        * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
        from Craig.

From-SVN: r22154
1998-09-01 03:13:23 -06:00
Craig Burley
6f2347ce01 bugs.texi, [...]: Doc updates from Craig.
* bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
        from Craig.

From-SVN: r22153
1998-09-01 03:13:22 -06:00
Craig Burley
aafb55f640 bugs.texi, [...]: Doc updates from Craig.
* bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
        from Craig.

From-SVN: r22152
1998-09-01 03:13:21 -06:00
Craig Burley
b51e57aa2d bugs.texi, [...]: Doc updates from Craig.
�
        * bugs.texi, g77.1, g77.texi, intdoc.in, news.texi: Doc updates
        from Craig.

From-SVN: r22151
1998-09-01 03:13:17 -06:00
Jeff Law
1cf25688cd Daily bump.
From-SVN: r22145
1998-08-31 18:45:02 -06:00
Mark Mitchell
9360ac70ad decl.c (finish_enum): Handle member enums of classes declared in template functions.
* decl.c (finish_enum): Handle member enums of classes declared in
	template functions.
	* decl2.c (grok_x_components): Strip attributres before calling
	groktypename.

From-SVN: r22144
1998-08-31 23:38:02 +00:00
Jeffrey A Law
2571e6acfa * NEWS: Add SCO Openserver and Unixware 7 notes.
From-SVN: r22141
1998-08-31 16:44:12 -06:00
David S. Miller
493cf07bd2 sparc.md (movsf_const_intreg): Kill warning.
* config/sparc/sparc.md (movsf_const_intreg): Kill warning.
	(movtf_insn_sp64, movtf_no_e_insn_sp64): Reorder alternatives.

From-SVN: r22140
1998-08-31 11:30:46 -07:00
Nick Clifton
9a8467e96b Add support for torture_eval_before_compile and torture_eval_before_execute
variables.

From-SVN: r22139
1998-08-31 15:20:41 +00:00
David Edelsohn
3ae32cb790 mh-aix43 (NM_FOR_TARGET): Add -X32_64 as well.
From-SVN: r22138
1998-08-31 10:53:38 -04:00
Richard Henderson
cce7231983 va_list.h: New file.
* alpha/va_list.h: New file.
        * alpha/x-alpha (EXTRA_HEADERS): New.  Add va_list.h.

From-SVN: r22137
1998-08-31 06:59:22 -07:00
Jeff Law
7c1cc8097d NEWS: Fix typos.
�
        * NEWS: Fix typos.

From-SVN: r22136
1998-08-31 07:57:57 -06:00
Jeff Law
a58b19e1a3 NEWS: Fix typos.
(
        * NEWS: Fix typos.

From-SVN: r22135
1998-08-31 07:57:55 -06:00
Dave Brolley
fa212801e1 varasm.c (compare_constant_1): Handle RANGE_EXPR.
Mon Aug 31 15:42:18 1998  Dave Brolley  <brolley@cygnus.com>
	* varasm.c (compare_constant_1): Handle RANGE_EXPR.
	(record_constant_1): Handle RANGE_EXPR.

From-SVN: r22132
1998-08-31 08:57:45 -04:00
Jason Merrill
84663f74ca cp-tree.h, decl2.c: Remove support for -fall-virtual, -fenum-int-equivalence and -fno-nonnull-objects.
* cp-tree.h, decl2.c: Remove support for -fall-virtual,
	-fenum-int-equivalence and -fno-nonnull-objects.
	* class.c (check_for_override): Remove support for -fall-virtual.
	(finish_struct_1): Likewise.
	* call.c (build_new_op): Remove support for -fenum-int-equivalence.
	* typeck.c (build_binary_op_nodefault): Likewise.
	* cvt.c (ocp_convert): Likewise.
	* call.c (build_vfield_ref): Remove support for -fno-nonnull-objects.
	* class.c (build_vbase_path): Likewise.

From-SVN: r22131
1998-08-31 08:54:18 -04:00
Dave Brolley
058ebd7ee6 decl.c (layout_chill_variants): Calculate nlables properly.
Mon Aug 31 15:35:16 1998  Dave Brolley  <brolley@cygnus.com>
	* decl.c (layout_chill_variants): Calculate nlables properly.

From-SVN: r22130
1998-08-31 08:35:32 -04:00
Brendan Kehoe
f82b6a6b75 make member I public
From-SVN: r22129
1998-08-31 06:49:39 -04:00
Richard Henderson
9953e37587 Document TImode out of 2nd Haifa pass.
From-SVN: r22128
1998-08-31 03:02:34 -07:00
Richard Henderson
6dfdecdb1d print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
�
        * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
        * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
        and NOTE_INSN_RANGE_END specially.
        (reemit_notes): Likewise.

From-SVN: r22127
1998-08-31 03:55:31 -06:00
Richard Henderson
da2ec29a6c print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
�
        * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
        * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
        and NOTE_INSN_RANGE_END specially.
        (reemit_notes): Likewise.

From-SVN: r22126
1998-08-31 03:55:30 -06:00
Richard Henderson
f3b1700b59 print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
(
        * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
        * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
        and NOTE_INSN_RANGE_END specially.
        (reemit_notes): Likewise.

From-SVN: r22125
1998-08-31 03:55:28 -06:00
Kaveh R. Ghazi
b96a5ea56c Fixes for sunos4 cc:
* sparc.c (TMASK, UMASK): Use `(unsigned)1' not `1U'.
        (ultrasparc_sched_init): Remove unneeded &.

From-SVN: r22124
1998-08-31 07:21:05 +00:00
Jason Merrill
ef869e71ae change to bogus errors
From-SVN: r22123
1998-08-30 22:25:51 -04:00
Andreas Schwab
8309458a2a m68k.h (TARGET_SWITCHES): Don't remove MASK_68040 for -m68020-60, to prevent the use of fintrz.
* config/m68k/m68k.h (TARGET_SWITCHES): Don't remove MASK_68040
	for -m68020-60, to prevent the use of fintrz.

From-SVN: r22122
1998-08-31 02:16:48 +00:00
Jeff Law
04d59dc5a7 Daily bump.
From-SVN: r22121
1998-08-30 18:45:02 -06:00
Mark Mitchell
61842080aa configure.in: If the native compiler is GCC use $(WARN_CFLAGS) even in stage1.
* configure.in: If the native compiler is GCC use $(WARN_CFLAGS)
	even in stage1.
	* Makefile.in: Likewise.
	* configure: Regenerated.

From-SVN: r22120
1998-08-30 22:20:57 +00:00
Lutz Wohlrab
4112dedc85 Makefile.in: Avoid assumptions about "tr" behaves when LANG is set to something other than...
* dbz/Makefile.in: Avoid assumptions about "tr" behaves when
        LANG is set to something other than English.

From-SVN: r22119
1998-08-30 15:30:22 -06:00
Lutz Wohlrab
bf48dd7382 config.guess: Avoid assumptions about "tr" behaves when LANG is set to something other than...
* config.guess: Avoid assumptions about "tr" behaves when
        LANG is set to something other than English.

From-SVN: r22118
1998-08-30 15:29:31 -06:00
H.J. Lu
0e7e6e25ca Makefile.in (INTERFACE): New, set to 2.
#
	* Makefile.in (INTERFACE): New, set to 2.
	(ARLIB): Set to libstdc++.a.$(VERSION)
	(ARLINK, MARLINK): New macros.
	(LIBS): Add $(ARLINK).
	($(ARLINK), marlink): New targets.
	(install): Don't check $(libsubdir). Handle versioned libraries.
	* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
	(LIBS): Add marlink $(ARLINK).
	* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
	(ARLINK): New macros.
	(BUILD_LIBS): Add $(ARLINK).
	* config/dec-osf.ml (LIBS): Add $(ARLINK).
	* config/elf.ml (LIBS): Likewise.
	* config/elfshlibm.ml (LIBS): Likewise.
	* config/hpux.ml (LIBS): Likewise.
	* config/iris5.ml (LIBS): Likewise.
	* config/sol2shm.ml (LIBS): Likewise.
	* config/sunos4.ml (LIBS): Likewise.
	* configure.in: Use ${topsrcdir}/config.if to put
	LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
	${package_makefile_frag}.

From-SVN: r22117
1998-08-30 15:18:48 -06:00
H.J. Lu
8257689adf Makefile.in (INTERFACE): New, set to 2.
e
	* Makefile.in (INTERFACE): New, set to 2.
	(ARLIB): Set to libstdc++.a.$(VERSION)
	(ARLINK, MARLINK): New macros.
	(LIBS): Add $(ARLINK).
	($(ARLINK), marlink): New targets.
	(install): Don't check $(libsubdir). Handle versioned libraries.
	* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
	(LIBS): Add marlink $(ARLINK).
	* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
	(ARLINK): New macros.
	(BUILD_LIBS): Add $(ARLINK).
	* config/dec-osf.ml (LIBS): Add $(ARLINK).
	* config/elf.ml (LIBS): Likewise.
	* config/elfshlibm.ml (LIBS): Likewise.
	* config/hpux.ml (LIBS): Likewise.
	* config/iris5.ml (LIBS): Likewise.
	* config/sol2shm.ml (LIBS): Likewise.
	* config/sunos4.ml (LIBS): Likewise.
	* configure.in: Use ${topsrcdir}/config.if to put
	LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
	${package_makefile_frag}.

From-SVN: r22116
1998-08-30 15:18:44 -06:00
H.J. Lu
1b37132973 Makefile.in (INTERFACE): New, set to 2.
p
	* Makefile.in (INTERFACE): New, set to 2.
	(ARLIB): Set to libstdc++.a.$(VERSION)
	(ARLINK, MARLINK): New macros.
	(LIBS): Add $(ARLINK).
	($(ARLINK), marlink): New targets.
	(install): Don't check $(libsubdir). Handle versioned libraries.
	* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
	(LIBS): Add marlink $(ARLINK).
	* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
	(ARLINK): New macros.
	(BUILD_LIBS): Add $(ARLINK).
	* config/dec-osf.ml (LIBS): Add $(ARLINK).
	* config/elf.ml (LIBS): Likewise.
	* config/elfshlibm.ml (LIBS): Likewise.
	* config/hpux.ml (LIBS): Likewise.
	* config/iris5.ml (LIBS): Likewise.
	* config/sol2shm.ml (LIBS): Likewise.
	* config/sunos4.ml (LIBS): Likewise.
	* configure.in: Use ${topsrcdir}/config.if to put
	LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
	${package_makefile_frag}.

From-SVN: r22115
1998-08-30 15:18:39 -06:00
H.J. Lu
590dc23bd0 Makefile.in (INTERFACE): New, set to 2.
d
	* Makefile.in (INTERFACE): New, set to 2.
	(ARLIB): Set to libstdc++.a.$(VERSION)
	(ARLINK, MARLINK): New macros.
	(LIBS): Add $(ARLINK).
	($(ARLINK), marlink): New targets.
	(install): Don't check $(libsubdir). Handle versioned libraries.
	* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
	(LIBS): Add marlink $(ARLINK).
	* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
	(ARLINK): New macros.
	(BUILD_LIBS): Add $(ARLINK).
	* config/dec-osf.ml (LIBS): Add $(ARLINK).
	* config/elf.ml (LIBS): Likewise.
	* config/elfshlibm.ml (LIBS): Likewise.
	* config/hpux.ml (LIBS): Likewise.
	* config/iris5.ml (LIBS): Likewise.
	* config/sol2shm.ml (LIBS): Likewise.
	* config/sunos4.ml (LIBS): Likewise.
	* configure.in: Use ${topsrcdir}/config.if to put
	LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
	${package_makefile_frag}.

From-SVN: r22114
1998-08-30 15:18:37 -06:00
H.J. Lu
6882b0807b Makefile.in (INTERFACE): New, set to 2.
a
	* Makefile.in (INTERFACE): New, set to 2.
	(ARLIB): Set to libstdc++.a.$(VERSION)
	(ARLINK, MARLINK): New macros.
	(LIBS): Add $(ARLINK).
	($(ARLINK), marlink): New targets.
	(install): Don't check $(libsubdir). Handle versioned libraries.
	* config/linux.ml (ARLIB, MARLINK, SHLIB, MSHLINK): New macros.
	(LIBS): Add marlink $(ARLINK).
	* config/aix.ml (ARLIB): Set to libstdc++-ar.a.$(VERSION)
	(ARLINK): New macros.
	(BUILD_LIBS): Add $(ARLINK).
	* config/dec-osf.ml (LIBS): Add $(ARLINK).
	* config/elf.ml (LIBS): Likewise.
	* config/elfshlibm.ml (LIBS): Likewise.
	* config/hpux.ml (LIBS): Likewise.
	* config/iris5.ml (LIBS): Likewise.
	* config/sol2shm.ml (LIBS): Likewise.
	* config/sunos4.ml (LIBS): Likewise.
	* configure.in: Use ${topsrcdir}/config.if to put
	LIBSTDCXX_INTERFACE, CXX_INTERFACE, LIBC_INTERFACE in
	${package_makefile_frag}.

From-SVN: r22113
1998-08-30 15:18:36 -06:00
H.J. Lu
8549e27458 * config.shared: Set libsubdir.
From-SVN: r22112
1998-08-30 15:18:00 -06:00
H.J. Lu
d62590d25a * Makefile.in (INTERFACE): New, set to 1.
From-SVN: r22111
1998-08-30 15:17:38 -06:00
H.J. Lu
a270b44606 configure.in (gxx_include_dir): Changed to '${prefix}/include/g++'-${libstdcxx_interface}.
* configure.in (gxx_include_dir): Changed to
        '${prefix}/include/g++'-${libstdcxx_interface}.
        * configure: Rebuilt.

From-SVN: r22110
1998-08-30 15:16:56 -06:00
H.J. Lu
a3cbd10560 configure (gxx_include_dir): Changed to '${prefix}/include/g++'-${libstdcxx_interface}.
* configure (gxx_include_dir): Changed to
        '${prefix}/include/g++'-${libstdcxx_interface}.
        * config.if: New to determine the interfaces.

From-SVN: r22109
1998-08-30 15:15:53 -06:00
Mark Klein
c4acd909d5 config.guess: Detect and handle MPE/IX.
* config.guess: Detect and handle MPE/IX.
        * config.sub: Deal with MPE/IX.

From-SVN: r22108
1998-08-30 14:17:13 -06:00
Hans-Peter Nilsson
9862dea924 expr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use consistent.
* expr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use
        consistent.
        * tm.texi (Costs): Say MOVE_RATIO is number of mem-mem move
        *sequences* *below* which scalar moves will be used.

From-SVN: r22107
1998-08-30 13:21:22 -06:00
Jeffrey A Law
e916423b59 * collect2.c (mktemp): Delete unused declaration.
From-SVN: r22106
1998-08-30 12:15:27 -06:00
Mark Mitchell
0aa5b426a9 error.c (dump_decl): Use CP_DECL_CONTEXT, not DECL_CONTEXT, when comparing with global_namespace.
* error.c (dump_decl): Use CP_DECL_CONTEXT, not DECL_CONTEXT, when
	comparing with global_namespace.
	(dump_aggr_type): Likewise.

From-SVN: r22105
1998-08-30 17:45:15 +00:00
Jeffrey A Law
5acc5ee946 980626-1.c: Delete this test.
* gcc.dg/980626-1.c: Delete this test.  We've declared the warning
        this test triggers valid.

From-SVN: r22104
1998-08-30 10:40:20 -06:00
Jeffrey A Law
797990edb5 xm-netbsd.h: Remove unnecessary file.
* config/xm-netbsd.h: Remove unnecessary file.
        * config/*/xm-netbsd.h: Do not include the generic xm-netbsd.h
        file anymore, it is not needed.

From-SVN: r22103
1998-08-30 10:22:23 -06:00
Mark Mitchell
9c4cb3a3e9 convert.c (convert_to_integer): Issue an error on conversions to incomplete types.
* convert.c (convert_to_integer): Issue an error on conversions to
	incomplete types.

From-SVN: r22102
1998-08-30 16:04:17 +00:00
Martin v. Löwis
3103b7db04 Makefile.in: Add lang_tree_files and gencheck.h.
* Makefile.in: Add lang_tree_files and gencheck.h.
        * configure.in: Generate them.
        * gencheck.c: Include gencheck.h.

From-SVN: r22101
1998-08-30 09:50:47 -06:00