Commit Graph

18255 Commits

Author SHA1 Message Date
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
Mark Mitchell
7e2421f722 decl.c (grokfndecl): Issue error on declaration of friend templates with explicit template arguments.
* decl.c (grokfndecl): Issue error on declaration of friend
	templates with explicit template arguments.

From-SVN: r22100
1998-08-30 11:46:44 +00:00
Mark Mitchell
8b5b8b7cc1 pt.c (convert_template_argument): New function, split out from...
* pt.c (convert_template_argument): New function, split out
	from...
	(coerce_template_parms): Here.
	(tsubst): Attempt better error-recovery.

From-SVN: r22099
1998-08-30 10:59:18 +00:00
Jeff Law
38f477fe90 Daily bump.
From-SVN: r22095
1998-08-29 18:45:02 -06:00
David S. Miller
be3f1ff52c sparc.md (pic_lo_sum_di, [...]): Rename to movdi_lo_sum_pic and movdi_high_pic and make visible.
* config/sparc/sparc.md (pic_lo_sum_di, pic_sethi_di): Rename to
	movdi_lo_sum_pic and movdi_high_pic and make visible.
	* config/sparc/sparc.c (legitimize_pic_address): For -fPIC,
	emit these when Pmode is not SImode.
	* config/sparc/linux64.h (SPARC_DEFAULT_CMODEL): Make CM_MEDLOW.

From-SVN: r22094
1998-08-29 15:46:34 -07:00
Jeff Law
25135471c2 Add Dave Brolley for chill and cpplib maint.
From-SVN: r22090
1998-08-29 15:36:16 -06:00
David S. Miller
c305b1a752 Fix thinko in ultra_cmove_results_ready_p.
From-SVN: r22088
1998-08-29 12:16:39 -07:00
David Edelsohn
57fc66388b really commit configure.in
From-SVN: r22087
1998-08-29 11:41:49 -04:00
Mumit Khan
a1612a6c5f cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit .linkonce directive after the first time.
0
        * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
        .linkonce directive after the first time.

From-SVN: r22086
1998-08-29 08:01:47 -06:00
Mumit Khan
9c79f69ef9 cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit .linkonce directive after the first time.
(
        * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
        .linkonce directive after the first time.

From-SVN: r22085
1998-08-29 08:01:45 -06:00
Jeffrey A Law
30b237515d m68k.md (beq0_di): Generate correct (and more efficient) code when...
* m68k.md (beq0_di): Generate correct (and more efficient) code when
        the clobbered operand overlaps with an input.
        (bne0_di): Similarly.

From-SVN: r22082
1998-08-29 07:54:24 -06:00