Commit Graph

18277 Commits

Author SHA1 Message Date
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
Jason Merrill
a1dd0d36f4 Add support for discarding unused virtual functions.
* search.c (dfs_search, binfo_for_vtable, dfs_bfv_helper): New fns.
	* decl2.c (output_vtable_inherit): Call binfo_for_vtable.
	* lang-options.h: Add -fvtable-gc.
	* cp-tree.h: Add flag_vtable_gc.
	* decl2.c (output_vtable_inherit): New fn.
	(finish_vtable_vardecl): Call it.
	* class.c (build_vtable_entry_ref): New fn.
	(build_vtbl_ref): Call it.

From-SVN: r22061
1998-08-28 12:11:35 -04:00
Mark Mitchell
079e1098ab 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: r22060
1998-08-28 15:43:58 +00:00
Brendan Kehoe
ec8b2a1364 fix XCRASH setup
From-SVN: r22059
1998-08-28 11:43:10 -04:00
Brendan Kehoe
5d0c47400b dd `_eb91_' in front of the typenames, to avoid linux hiccups
From-SVN: r22058
1998-08-28 11:40:44 -04:00
Jim Wilson
0642498960 sparc.md (DImode, [...]): Delete self_reference code.
* sparc.md (DImode, DFmode, TFmode splits): Delete self_reference
	code.  Use reg_overlap_mentioned_p to detect when source and
	destination overlap.
	(negtf2_notv9+1): Use DFmode instead of SFmode in last two operands.

From-SVN: r22057
1998-08-28 07:57:55 -07:00
Mark Mitchell
ea6021e832 cp-tree.h (finish_base_specifier): New function.
* cp-tree.h (finish_base_specifier): New function.
	* parse.y (base_class): Use it.
	* semantics.c (finish_base_specifier): Define it.
	* parse.y (structsp): Warn on use of typename outside of template
	declarations.

From-SVN: r22055
1998-08-28 12:06:56 +00:00
Brendan Kehoe
9231189b62 loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not COMPARISON_VAL, into invariant_p.
* loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not
	COMPARISON_VAL, into invariant_p.

From-SVN: r22054
1998-08-28 07:23:35 -04:00
Brendan Kehoe
f285ef2072 mark as xfail for now, since we have the test but don't have a fix yet
From-SVN: r22053
1998-08-28 05:39:38 -04:00
J"orn Rennecke
3bb806ed99 regmove.c (regclass_compatible_p): New function.
* regmove.c (regclass_compatible_p): New function.
        (regmove_optimize): Use it.
        Use NREGS parameter insted of calling max_reg_num.
        (fixup_match_1): Don't use code = MINUS when later tieing with
        a hard register is likely.

From-SVN: r22052
1998-08-28 08:18:52 +01:00
J"orn Rennecke
8ed69d0908 loop.c (check_dbra_loop): Fix calculation of FINAL_VALUE when COMPARISON_VAL was normalized.
* loop.c (check_dbra_loop): Fix calculation of FINAL_VALUE when
	COMPARISON_VAL was normalized.

From-SVN: r22051
1998-08-28 08:05:20 +01:00
Martin v. Löwis
af3d5d5313 Update reference to standard.
From-SVN: r22050
1998-08-28 02:43:24 +00:00
Jeff Law
e6f018b241 Daily bump.
From-SVN: r22048
1998-08-27 18:45:03 -06:00