Commit Graph

18439 Commits

Author SHA1 Message Date
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
Jeffrey A Law
b4ea9a9d44 * Makefile.in (INSTALL): Remove "--no-header" argument.
From-SVN: r22080
1998-08-29 05:41:40 -06:00
Jeffrey A Law
8c08ae7ac2 * NEWS: Various updates.
From-SVN: r22079
1998-08-29 05:40:49 -06:00
David Edelsohn
9ea976658e Add and use mh-aix43 to set AR_FOR_TARGET.
From-SVN: r22077
1998-08-29 07:38:06 -04:00
Jeff Law
d0b9d6139a Bring version # and generated files updates over from the branch.
From-SVN: r22076
1998-08-29 04:37:48 -06:00
Benjamin Kosnik
6f22ba91f0
fix

From-SVN: r22075
1998-08-29 09:54:08 +00:00
Benjamin Kosnik
3d7fcc0410
more tests

From-SVN: r22073
1998-08-29 01:17:36 +00:00
Benjamin Kosnik
4e327c30bd pt.c (decl_template_parm_p): Add checks for TEMPLATE_TEMPLATE_PARM.
�
1998-08-28  Benjamin Kosnik  <bkoz@loony.cygnus.com>
        * pt.c (decl_template_parm_p): Add checks for
        TEMPLATE_TEMPLATE_PARM.

From-SVN: r22072
1998-08-29 01:15:24 +00:00
Benjamin Kosnik
6091762575 pt.c (decl_template_parm_p): Add checks for TEMPLATE_TEMPLATE_PARM.
�
1998-08-28  Benjamin Kosnik  <bkoz@loony.cygnus.com>
        * pt.c (decl_template_parm_p): Add checks for
        TEMPLATE_TEMPLATE_PARM.

From-SVN: r22071
1998-08-29 01:15:22 +00:00
Jeff Law
d84f48212d Daily bump.
From-SVN: r22069
1998-08-28 18:45:02 -06:00
David S. Miller
ddf8087493 sparc.c (arith_operand, [...]): Mark mode as unused.
* config/sparc/sparc.c (arith_operand, const64_operand,
	const64_high_operand, arith_double_4096_operand): Mark mode as
	unused.
	(create_simple_focus_bits): Remove unused arg highest_bit_set, all
	callers changed.
	(sparc_emit_set_const64): Remove unused variable i.
	(sparc_splitdi_legitimate): Likewise for addr_part.
	(ultra_code_from_mask): Likewise for mask.
	(ultra_cmove_results_ready_p): Fixup entry modulo calc.
	(ultra_flush_pipeline): Likewise.
	(ultra_fpmode_conflict_exists): Likewise, remove unused variable
	this_type, and allow loads and stores of differing FP modes as
	they do not create a conflict.
	(ultra_find_type): Initialize fpmode to SFmode, fix
	parenthesization thinkos in large conditional.
	(ultrasparc_sched_init): Mark dump and sched_verbose as unused.
	Init free_slot_mask after ultra_cur_hist is reset, not before.
	(ultrasparc_rescan_pipeline_state): Remove unused variable ucode.
	(ultrasparc_sched_reorder): Don't bzero current pipeline state,
	use ultra_flush_pipeline instead, then re-init group pointer.
	Fix statement with no effect.  If no progress made in, and no
	instructions scheduled at all, advance to new pipeline cycle else
	we get into an endless loop.
	(ultrasparc_adjust_cost): Remove previous arg.
	* config/sparc/sparc.h (ADJUST_COST): Update to reflect that.

From-SVN: r22068
1998-08-28 13:13:45 -07:00
Mark Mitchell
0078ab63c4 New test
From-SVN: r22067
1998-08-28 18:11:36 +00:00
Mark Mitchell
c296fce54e Tweak
From-SVN: r22066
1998-08-28 18:06:38 +00:00
Mark Mitchell
21d886ac9b New test
From-SVN: r22065
1998-08-28 18:00:56 +00:00
Mark Mitchell
479781c513 * lex.c (do_identifier): Fix thinko in previous change.
From-SVN: r22064
1998-08-28 17:36:09 +00:00
Mark Mitchell
818c888375 cp-tree.h (build_enumerator): Take the enumeration type as a paramter.
* cp-tree.h (build_enumerator): Take the enumeration type as a
	paramter.
	* decl.c (finish_enum): Don't set the TREE_TYPE for the
	enumeration constant values if we're processing_template_decls.
	Don't set the type for the CONST_DECLs either; that's done in
	build_enumerator. (
	(build_enumerator): Take the enumeration type as a
	paramter.
	* lex.c (do_identifier): Don't resolve enumeration constants while
	processing template declarations, even if they happen to be
	TEMPLATE_PARM_INDEXs.
	* parse.y (current_enum_type): New variable.
	(primary): Don't allow statement-expression in local classes just
	as we don't in global classes.
	(structsp): Use current_enum_type.
	(enum_list): Likewise.
	* pt.c (tsubst_enum): Don't check for NOP_EXPRs introduced by
	finish_enum; they no longer occur.

From-SVN: r22063
1998-08-28 17:02:44 +00:00
Mark Mitchell
541be14b8a New test
From-SVN: r22062
1998-08-28 16:48:44 +00:00