Richard Henderson [Mon, 31 Aug 1998 10:02:34 +0000 (03:02 -0700)]
Document TImode out of 2nd Haifa pass.
From-SVN: r22128
Richard Henderson [Mon, 31 Aug 1998 09:55:31 +0000 (03:55 -0600)]
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
Richard Henderson [Mon, 31 Aug 1998 09:55:30 +0000 (03:55 -0600)]
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
Richard Henderson [Mon, 31 Aug 1998 09:55:28 +0000 (03:55 -0600)]
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
Kaveh R. Ghazi [Mon, 31 Aug 1998 07:21:05 +0000 (07:21 +0000)]
Fixes for sunos4 cc:
* sparc.c (TMASK, UMASK): Use `(unsigned)1' not `1U'.
(ultrasparc_sched_init): Remove unneeded &.
From-SVN: r22124
Jason Merrill [Mon, 31 Aug 1998 02:25:51 +0000 (22:25 -0400)]
change to bogus errors
From-SVN: r22123
Andreas Schwab [Mon, 31 Aug 1998 02:16:48 +0000 (02:16 +0000)]
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
Jeff Law [Mon, 31 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22121
Mark Mitchell [Sun, 30 Aug 1998 22:20:57 +0000 (22:20 +0000)]
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
Lutz Wohlrab [Sun, 30 Aug 1998 21:30:22 +0000 (21:30 +0000)]
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
Lutz Wohlrab [Sun, 30 Aug 1998 21:29:31 +0000 (21:29 +0000)]
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
H.J. Lu [Sun, 30 Aug 1998 21:18:48 +0000 (15:18 -0600)]
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
H.J. Lu [Sun, 30 Aug 1998 21:18:44 +0000 (15:18 -0600)]
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
H.J. Lu [Sun, 30 Aug 1998 21:18:39 +0000 (15:18 -0600)]
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
H.J. Lu [Sun, 30 Aug 1998 21:18:37 +0000 (15:18 -0600)]
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
H.J. Lu [Sun, 30 Aug 1998 21:18:36 +0000 (15:18 -0600)]
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
H.J. Lu [Sun, 30 Aug 1998 21:18:00 +0000 (21:18 +0000)]
* config.shared: Set libsubdir.
From-SVN: r22112
H.J. Lu [Sun, 30 Aug 1998 21:17:38 +0000 (21:17 +0000)]
* Makefile.in (INTERFACE): New, set to 1.
From-SVN: r22111
H.J. Lu [Sun, 30 Aug 1998 21:16:56 +0000 (21:16 +0000)]
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
H.J. Lu [Sun, 30 Aug 1998 21:15:53 +0000 (21:15 +0000)]
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
Mark Klein [Sun, 30 Aug 1998 20:17:13 +0000 (20:17 +0000)]
config.guess: Detect and handle MPE/IX.
* config.guess: Detect and handle MPE/IX.
* config.sub: Deal with MPE/IX.
From-SVN: r22108
Hans-Peter Nilsson [Sun, 30 Aug 1998 19:21:22 +0000 (21:21 +0200)]
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
Jeffrey A Law [Sun, 30 Aug 1998 18:15:27 +0000 (18:15 +0000)]
* collect2.c (mktemp): Delete unused declaration.
From-SVN: r22106
Mark Mitchell [Sun, 30 Aug 1998 17:45:15 +0000 (17:45 +0000)]
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
Jeffrey A Law [Sun, 30 Aug 1998 16:40:20 +0000 (16:40 +0000)]
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
Jeffrey A Law [Sun, 30 Aug 1998 16:22:23 +0000 (16:22 +0000)]
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
Mark Mitchell [Sun, 30 Aug 1998 16:04:17 +0000 (16:04 +0000)]
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
Martin v. Löwis [Sun, 30 Aug 1998 15:50:47 +0000 (09:50 -0600)]
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
Mark Mitchell [Sun, 30 Aug 1998 11:46:44 +0000 (11:46 +0000)]
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
Mark Mitchell [Sun, 30 Aug 1998 10:59:18 +0000 (10:59 +0000)]
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
Jeff Law [Sun, 30 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22095
David S. Miller [Sat, 29 Aug 1998 22:46:34 +0000 (22:46 +0000)]
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
Jeff Law [Sat, 29 Aug 1998 21:36:16 +0000 (15:36 -0600)]
Add Dave Brolley for chill and cpplib maint.
From-SVN: r22090
David S. Miller [Sat, 29 Aug 1998 19:16:39 +0000 (19:16 +0000)]
Fix thinko in ultra_cmove_results_ready_p.
From-SVN: r22088
David Edelsohn [Sat, 29 Aug 1998 15:41:49 +0000 (11:41 -0400)]
really commit configure.in
From-SVN: r22087
Mumit Khan [Sat, 29 Aug 1998 14:01:47 +0000 (08:01 -0600)]
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
Mumit Khan [Sat, 29 Aug 1998 14:01:45 +0000 (08:01 -0600)]
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
Jeffrey A Law [Sat, 29 Aug 1998 13:54:24 +0000 (13:54 +0000)]
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
Jeffrey A Law [Sat, 29 Aug 1998 11:41:40 +0000 (11:41 +0000)]
* Makefile.in (INSTALL): Remove "--no-header" argument.
From-SVN: r22080
Jeffrey A Law [Sat, 29 Aug 1998 11:40:49 +0000 (11:40 +0000)]
* NEWS: Various updates.
From-SVN: r22079
David Edelsohn [Sat, 29 Aug 1998 11:38:06 +0000 (11:38 +0000)]
Add and use mh-aix43 to set AR_FOR_TARGET.
From-SVN: r22077
Jeff Law [Sat, 29 Aug 1998 10:37:48 +0000 (04:37 -0600)]
Bring version # and generated files updates over from the branch.
From-SVN: r22076
Benjamin Kosnik [Sat, 29 Aug 1998 09:54:08 +0000 (09:54 +0000)]
�
fix
From-SVN: r22075
Benjamin Kosnik [Sat, 29 Aug 1998 01:17:36 +0000 (01:17 +0000)]
�
more tests
From-SVN: r22073
Benjamin Kosnik [Sat, 29 Aug 1998 01:15:24 +0000 (01:15 +0000)]
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
Benjamin Kosnik [Sat, 29 Aug 1998 01:15:22 +0000 (01:15 +0000)]
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
Jeff Law [Sat, 29 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22069
David S. Miller [Fri, 28 Aug 1998 20:13:45 +0000 (20:13 +0000)]
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
Mark Mitchell [Fri, 28 Aug 1998 18:11:36 +0000 (18:11 +0000)]
New test
From-SVN: r22067
Mark Mitchell [Fri, 28 Aug 1998 18:06:38 +0000 (18:06 +0000)]
Tweak
From-SVN: r22066
Mark Mitchell [Fri, 28 Aug 1998 18:00:56 +0000 (18:00 +0000)]
New test
From-SVN: r22065
Mark Mitchell [Fri, 28 Aug 1998 17:36:09 +0000 (17:36 +0000)]
* lex.c (do_identifier): Fix thinko in previous change.
From-SVN: r22064
Mark Mitchell [Fri, 28 Aug 1998 17:02:44 +0000 (17:02 +0000)]
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
Mark Mitchell [Fri, 28 Aug 1998 16:48:44 +0000 (16:48 +0000)]
New test
From-SVN: r22062
Jason Merrill [Fri, 28 Aug 1998 16:11:35 +0000 (12:11 -0400)]
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
Mark Mitchell [Fri, 28 Aug 1998 15:43:58 +0000 (15:43 +0000)]
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
Brendan Kehoe [Fri, 28 Aug 1998 15:43:10 +0000 (11:43 -0400)]
fix XCRASH setup
From-SVN: r22059
Brendan Kehoe [Fri, 28 Aug 1998 15:40:44 +0000 (11:40 -0400)]
dd `_eb91_' in front of the typenames, to avoid linux hiccups
From-SVN: r22058
Jim Wilson [Fri, 28 Aug 1998 14:57:55 +0000 (14:57 +0000)]
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
Mark Mitchell [Fri, 28 Aug 1998 12:06:56 +0000 (12:06 +0000)]
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
Brendan Kehoe [Fri, 28 Aug 1998 11:23:35 +0000 (11:23 +0000)]
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
Brendan Kehoe [Fri, 28 Aug 1998 09:39:38 +0000 (05:39 -0400)]
mark as xfail for now, since we have the test but don't have a fix yet
From-SVN: r22053
J"orn Rennecke [Fri, 28 Aug 1998 07:18:52 +0000 (07:18 +0000)]
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
J"orn Rennecke [Fri, 28 Aug 1998 07:05:20 +0000 (07:05 +0000)]
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
Martin v. Löwis [Fri, 28 Aug 1998 02:43:24 +0000 (02:43 +0000)]
Update reference to standard.
From-SVN: r22050
Jeff Law [Fri, 28 Aug 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22048
Jeffrey A Law [Fri, 28 Aug 1998 00:10:42 +0000 (00:10 +0000)]
loop.c (check_dbra_loop): The loop ending comparison value must be an invariant or we can not reverse the...
* loop.c (check_dbra_loop): The loop ending comparison value
must be an invariant or we can not reverse the loop.
From-SVN: r22045
Jeffrey A Law [Thu, 27 Aug 1998 23:19:47 +0000 (23:19 +0000)]
loop.c (scan_loop): Count down from max_reg_num - 1 to FIRST_PSEUDO_REGISTER to avoid calling...
* loop.c (scan_loop): Count down from max_reg_num - 1 to
FIRST_PSEUDO_REGISTER to avoid calling max_reg_num each iteration
of the loop.
(load_mems_and_recount_loop_regs_set): Likewise.
Forgot second AVOID_CCMODE_COPIES loop.
From-SVN: r22044
Jeffrey A Law [Thu, 27 Aug 1998 23:11:32 +0000 (23:11 +0000)]
loop.c (scan_loop): Count down from max_reg_num - 1 to FIRST_PSEUDO_REGISTER to avoid calilng...
* loop.c (scan_loop): Count down from max_reg_num - 1 to
FIRST_PSEUDO_REGISTER to avoid calilng max_reg_num each iteration
of the loop.
From-SVN: r22043
Jeffrey A Law [Thu, 27 Aug 1998 23:01:28 +0000 (23:01 +0000)]
980827-1.c: New test.
* gcc.dg/980827-1.c: New test.
New test from Geoff Keating
From-SVN: r22042
Per Bothner [Thu, 27 Aug 1998 20:52:38 +0000 (13:52 -0700)]
Fix typo.
From-SVN: r22040
Per Bothner [Thu, 27 Aug 1998 20:51:39 +0000 (13:51 -0700)]
Migrate from devo/gcc/ch.
From-SVN: r22039
Per Bothner [Thu, 27 Aug 1998 20:51:39 +0000 (13:51 -0700)]
�
Migrate from devo/gcc/ch.
From-SVN: r22038
Per Bothner [Thu, 27 Aug 1998 20:51:39 +0000 (13:51 -0700)]
Migrate from devo/gcc/ch.
From-SVN: r22037
Per Bothner [Thu, 27 Aug 1998 20:51:39 +0000 (13:51 -0700)]
�
Migrate from devo/gcc/ch.
From-SVN: r22036
Per Bothner [Thu, 27 Aug 1998 20:51:39 +0000 (13:51 -0700)]
�
Migrate from devo/gcc/ch.
From-SVN: r22035
Per Bothner [Thu, 27 Aug 1998 20:51:39 +0000 (13:51 -0700)]
�
Migrate from devo/gcc/ch.
From-SVN: r22034
Per Bothner [Thu, 27 Aug 1998 20:51:38 +0000 (13:51 -0700)]
d
Migrate from devo/gcc/ch.
From-SVN: r22033
Per Bothner [Thu, 27 Aug 1998 20:51:38 +0000 (13:51 -0700)]
�
Migrate from devo/gcc/ch.
From-SVN: r22032
Per Bothner [Thu, 27 Aug 1998 20:51:38 +0000 (13:51 -0700)]
�
Migrate from devo/gcc/ch.
From-SVN: r22031
Per Bothner [Thu, 27 Aug 1998 20:51:37 +0000 (13:51 -0700)]
(
Migrate from devo/gcc/ch.
From-SVN: r22030
Brendan Kehoe [Thu, 27 Aug 1998 20:02:34 +0000 (16:02 -0400)]
add missing typedefs
From-SVN: r22029
Jeffrey A Law [Thu, 27 Aug 1998 19:12:08 +0000 (19:12 +0000)]
* i386.c (print_operand): Remove obsolete 'c' docs.
From-SVN: r22028
Jason Merrill [Thu, 27 Aug 1998 19:03:59 +0000 (19:03 +0000)]
lex.c (handle_cp_pragma): Remove #pragma vtable.
* lex.c (handle_cp_pragma): Remove #pragma vtable.
* lang-options.h: Remove +e options.
* decl2.c (lang_decode_option): Likewise.
(import_export_vtable): Don't check write_virtuals.
(finish_vtable_vardecl, finish_file): Likewise.
* search.c (dfs_debug_mark): Likewise.
* semantics.c (begin_class_definition): Likewise.
* class.c (build_vtable, finish_vtbls, finish_struct_1): Likewise.
* call.c (build_over_call): Check flag_elide_constructors.
* decl2.c: flag_elide_constructors defaults to 1.
* typeck.c (convert_arguments): Remove return_loc parm.
(build_function_call_real): Adjust.
From-SVN: r22027
Brendan Kehoe [Thu, 27 Aug 1998 18:46:21 +0000 (14:46 -0400)]
fix test
From-SVN: r22026
Jason Merrill [Thu, 27 Aug 1998 17:33:35 +0000 (17:33 +0000)]
search.c: Tear out all mi_matrix and memoize code.
* search.c: Tear out all mi_matrix and memoize code.
(lookup_field, lookup_fnfields): Use scratch_tree_cons.
* lang-options.h: Remove documentation for -fhandle-exceptions,
-fmemoize-lookups and -fsave-memoized.
* cp-tree.h: Lose mi_matrix and memoize support.
* decl2.c: Ignore -fmemoize-lookups and -fsave-memoized.
* class.c: Lose struct class_level.
(pushclass, popclass): Lose memoize support.
* init.c (build_offset_ref): Likewise.
From-SVN: r22025
Jason Merrill [Thu, 27 Aug 1998 15:30:49 +0000 (15:30 +0000)]
Never change BINFO_INHERITANCE_CHAIN.
* init.c (emit_base_init): Change modification of
BINFO_INHERITANCE_CHAIN to an assert.
* search.c (get_base_distance_recursive): Likewise.
(get_base_distance): Likewise.
(lookup_member): Likewise.
(convert_pointer_to_single_level): Likewise.
(lookup_field): Likewise. Lose setting TREE_VIA_* on TREE_LISTs.
(lookup_fnfields): Likewise.
* tree.c (propagate_binfo_offsets): Don't call unshare_base_binfos.
(unshare_base_binfos): Don't call propagate_binfo_offsets.
(layout_basetypes): Call propagate_binfo_offsets instead of
unshare_base_binfos.
* decl.c (xref_basetypes): Call unshare_base_binfos.
* pt.c (instantiate_class_template): Likewise.
* tree.c (reverse_path): Remove 'copy' parm; always make a
temporary copy.
* class.c (build_vbase_path): Just call it.
* search.c (compute_access): Likewise. Don't re-reverse.
From-SVN: r22024
Tom Tromey [Thu, 27 Aug 1998 14:51:55 +0000 (14:51 +0000)]
gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION.
* gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION.
* frame.c (init_object_mutex): New function.
(init_object_mutex_once): Likewise.
(find_fde): Call it.
(__register_frame_info): Likewise.
(__register_frame_info_table): Likewise.
(__deregister_frame_info): Likewise.
From-SVN: r22023
Jeffrey A Law [Thu, 27 Aug 1998 14:15:32 +0000 (14:15 +0000)]
* haifa-sched.c (sched_analyze_insn): Fix thinko in last change.
From-SVN: r22022
Mark Mitchell [Thu, 27 Aug 1998 10:17:48 +0000 (10:17 +0000)]
class.c (build_vbase_path): Use reverse_path.
* class.c (build_vbase_path): Use reverse_path.
(finish_base_struct): Move warnings for inaccessible bases to
layout_basetypes.
(modify_one_vtable): Remove check of TREE_USED (binfo).
(fixup_vtable_deltas1): Likewise.
* cp-tree.h (BINFO_INHERITANCE_CHAIN): Document here.
(xref_tag): Remove binfos parameter.
(make_binfo): Remove chain parameter.
(reverse_path): Add copy parameter.
* decl.c (init_decl_processing): Change calls to xref_tag.
(xref_tag): Remove binfos parameter.
(xref_basetypes): Change calls to make_binfo.
* decl2.c (grok_x_components): Change calls to xref_tag.
(handle_class_head): Likewise.
* friend.c (do_friend): Likewise.
* lex.c (make_lang_type): Change calls to make_binfo.
* parse.y (structsp): Change calls to xref_tag.
(named_complex_class_head_sans_basetype): Likewise.
(named_class_head): Likewise.
* rtti.c (init_rtti_processing): Likewise.
* search.c (compute_access): Change calls to reverse_path.
(dfs_get_vbase_types): Change calls to make_binfo.
(get_vbase_types): Remove dead code.
* tree.c (unshare_base_binfos): Change calls to make_binfo.
(layout_basetypes): Warn here about inaccessible bases.
(make_binfo): Remove chain parameter.
(reverse_path): Add copy parameter.
From-SVN: r22021
Mark Mitchell [Thu, 27 Aug 1998 10:12:10 +0000 (10:12 +0000)]
Remove comma
From-SVN: r22020
J"orn Rennecke [Thu, 27 Aug 1998 08:39:22 +0000 (08:39 +0000)]
loop.c (check_dbra_loop): Enable code for reversal of some loops without a known constant loop end.
* loop.c (check_dbra_loop): Enable code for reversal
of some loops without a known constant loop end.
From-SVN: r22019
Jason Merrill [Thu, 27 Aug 1998 02:04:34 +0000 (02:04 +0000)]
class.c: #if 0 complete_type_p.
* class.c: #if 0 complete_type_p.
* init.c (build_java_class_ref, build_new_1): Remove unused locals.
* method.c (process_overload_item): Likewise.
* typeck.c (comp_target_types): Likewise.
From-SVN: r22018
Jason Merrill [Thu, 27 Aug 1998 01:41:17 +0000 (01:41 +0000)]
Stop sharing binfos for indirect virtual bases.
* tree.c (propagate_binfo_offsets): Unshare vbases, too.
(layout_basetypes): Likewise.
(unshare_base_binfos): Copy vbases, too.
* cp-tree.h (BINFO_VIA_PUBLIC, BINFO_BASEINIT_MARKED,
BINFO_VBASE_INIT_MARKED): Remove obsolete macros.
(BINFO_PUSHDECLS_MARKED, SET_BINFO_PUSHDECLS_MARKED,
CLEAR_BINFO_PUSHDECLS_MARKED): New macros.
* search.c (lookup_field, lookup_fnfields, lookup_member): Remove
reference to BINFO_VIA_PUBLIC.
(marked_pushdecls_p, unmarked_pushdecls_p): New fns.
(push_class_decls): Use them.
(dfs_pushdecls): Use SET_BINFO_PUSHDECLS_MARKED.
(dfs_compress_decls): Use CLEAR_BINFO_PUSHDECLS_MARKED.
From-SVN: r22017
Jeff Law [Thu, 27 Aug 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r22015
Mark Mitchell [Thu, 27 Aug 1998 00:14:27 +0000 (00:14 +0000)]
decl.c (build_enumerator): Set DECL_CONTEXT for the CONST_DECLs.
* decl.c (build_enumerator): Set DECL_CONTEXT for the
CONST_DECLs.
From-SVN: r22014
Jeffrey A Law [Wed, 26 Aug 1998 22:20:34 +0000 (22:20 +0000)]
* Makefile.in (FLAGS_TO_PASS): Fix typo.
From-SVN: r22012
Richard Henderson [Wed, 26 Aug 1998 18:49:40 +0000 (11:49 -0700)]
alpha.h (LABEL_ALIGN_AFTER_BARRIER): Was ALIGN_LABEL_AFTER_BARRIER.
* alpha.h (LABEL_ALIGN_AFTER_BARRIER): Was ALIGN_LABEL_AFTER_BARRIER.
(MD_SCHED_VARIABLE_ISSUE): New.
From-SVN: r22011
Richard Henderson [Wed, 26 Aug 1998 18:48:21 +0000 (11:48 -0700)]
alpha.c (alpha_handle_trap_shadows): Remove do-nothing exit.
* alpha.c (alpha_handle_trap_shadows): Remove do-nothing exit.
Tag trapb and next insn with TImode.
(alphaev5_insn_pipe, alphaev5_next_group, alphaev5_align_insns): New.
(alpha_reorg): Add conditional for alpha_handle_trap_shadows.
Invoke alphaev5_align_insns as appropriate.
* alpha.md (attr type): Add multi.
(define_asm_attributes): New.
(prologue_stack_probe_loop, builtin_setjmp_receiver): Set type multi.
(arg_home): Likewise.
(fnop, unop, realign): New.
From-SVN: r22010
Richard Henderson [Wed, 26 Aug 1998 18:47:42 +0000 (11:47 -0700)]
haifa-sched.c (last_clock_var): New.
* haifa-sched.c (last_clock_var): New.
(schedule_block): Initialize it.
(schedule_insn): Use it to fill insn modes with issue information.
From-SVN: r22009