platform/upstream/gcc.git
25 years agou77-test.f: Fix bad consistency checks.
Dave Love [Fri, 11 Sep 1998 04:59:05 +0000 (04:59 +0000)]
u77-test.f: Fix bad consistency checks.

1998-09-11  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f: Fix bad consistency checks.

From-SVN: r22387

25 years agoFix bad consistency checks.
Dave Love [Fri, 11 Sep 1998 04:57:47 +0000 (04:57 +0000)]
Fix bad consistency checks.

From-SVN: r22386

25 years agoDaily bump.
Jeff Law [Fri, 11 Sep 1998 00:45:32 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22385

25 years ago* glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
David S. Miller [Thu, 10 Sep 1998 23:06:43 +0000 (23:06 +0000)]
* glimits.h (__LONG_MAX__): Recognize __sparcv9 too.

From-SVN: r22384

25 years agoconfigure.in: Add check for GAS subsection -1 support.
Jakub Jelinek [Thu, 10 Sep 1998 22:28:30 +0000 (00:28 +0200)]
configure.in: Add check for GAS subsection -1 support.

* configure.in: Add check for GAS subsection -1 support.
* acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add.
* configure config.in: Rebuilt.
* config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use
SImode is subsection -1 works, else use DImode.
(ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if
subsection -1 works.
* config/sparc/sparc.c (sparc_output_addr_vec,
sparc_output_addr_diff_vec): Use them if defined.

From-SVN: r22383

25 years agoactions.c (chill_convert_for_assignment): Make a copy of the result node before modif...
Dave Brolley [Thu, 10 Sep 1998 14:56:22 +0000 (14:56 +0000)]
actions.c (chill_convert_for_assignment): Make a copy of the result node before modifying it.

Thu Sep 10 17:52:36 1998  Dave Brolley  <brolley@cygnus.com>
* actions.c (chill_convert_for_assignment): Make a copy of the result
node before modifying it.

From-SVN: r22382

25 years agodecl.c (pushdecl): Don't copy types if the DECL_ABSTRACT_ORIGIN of the new decl match...
Mark Mitchell [Thu, 10 Sep 1998 11:20:43 +0000 (11:20 +0000)]
decl.c (pushdecl): Don't copy types if the DECL_ABSTRACT_ORIGIN of the new decl matches the...

* decl.c (pushdecl): Don't copy types if the
DECL_ABSTRACT_ORIGIN of the new decl matches the TYPE_NAME of the
type.

From-SVN: r22381

25 years agotree.h (DECL_ORIGIN): New macro.
Mark Mitchell [Thu, 10 Sep 1998 10:46:00 +0000 (10:46 +0000)]
tree.h (DECL_ORIGIN): New macro.

* tree.h (DECL_ORIGIN): New macro.
* integrate.c (copy_and_set_decl_abstract_origin): New function.
(copy_decl_list): Use it.
(integrate_parm_decls): Likewise.
(integrate_decl_tree): Likewise.
* dwarf2out.c (decl_ultimate_origin): Simplify.
* dwarfout.c (decl_ultimate_origin): Likewise.
* c-decl.c (duplicate_decls): Use DECL_ORIGIN.
(pushdecl): Likewise.

From-SVN: r22380

25 years ago* Make-lang.in (GCJ): Define before using.
Jeffrey A Law [Thu, 10 Sep 1998 09:34:50 +0000 (09:34 +0000)]
* Make-lang.in (GCJ): Define before using.

From-SVN: r22379

25 years ago* config/rs6000/rs6000.c (output_epilog): Add Java support.
Anthony Green [Thu, 10 Sep 1998 08:08:04 +0000 (08:08 +0000)]
* config/rs6000/rs6000.c (output_epilog): Add Java support.

From-SVN: r22378

25 years ago* invoke.texi (C++ Dialect Options): Document -fhonor-std.
Martin v. Löwis [Thu, 10 Sep 1998 05:55:04 +0000 (05:55 +0000)]
* invoke.texi (C++ Dialect Options): Document -fhonor-std.

From-SVN: r22377

25 years agoreg-stack.c (straighten_stack): Do nothing if the virtual stack is empty or has a...
Jeffrey A Law [Thu, 10 Sep 1998 01:03:02 +0000 (01:03 +0000)]
reg-stack.c (straighten_stack): Do nothing if the virtual stack is empty or has a single entry.

        * reg-stack.c (straighten_stack): Do nothing if the virtual stack is
        empty or has a single entry.

From-SVN: r22376

25 years agoDaily bump.
Jeff Law [Thu, 10 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22375

25 years agotoplev.c (rest_of_compilation): Open up the dump file for reg-stack before calling...
Jeffrey A Law [Thu, 10 Sep 1998 00:40:19 +0000 (00:40 +0000)]
toplev.c (rest_of_compilation): Open up the dump file for reg-stack before calling reg_to_stack.

        * toplev.c (rest_of_compilation): Open up the dump file for reg-stack
        before calling reg_to_stack.
So we get the proper debug information in the .stack dump file.

From-SVN: r22374

25 years agoalpha.c (alphaev5_insn_pipe): Abort on default case.
Richard Henderson [Thu, 10 Sep 1998 00:07:33 +0000 (17:07 -0700)]
alpha.c (alphaev5_insn_pipe): Abort on default case.

        * alpha.c (alphaev5_insn_pipe): Abort on default case.
        (alphaev5_next_group): Swallow CLOBBERs and USEs.

From-SVN: r22373

25 years ago* c-tree.h (warn_long_long): Declare it.
Richard Henderson [Thu, 10 Sep 1998 00:06:10 +0000 (17:06 -0700)]
* c-tree.h (warn_long_long): Declare it.

From-SVN: r22372

25 years agoemit-rtl.c (gen_lowpart_common): Disable optimization of initialized float-int union...
Stephen L Moshier [Wed, 9 Sep 1998 22:33:06 +0000 (16:33 -0600)]
emit-rtl.c (gen_lowpart_common): Disable optimization of initialized float-int union if the value is a NaN.

        * emit-rtl.c (gen_lowpart_common): Disable optimization of
        initialized float-int union if the value is a NaN.

From-SVN: r22371

25 years agoc-lex.c (real_yylex): Don't warn about long long constants if we're allowing long...
Nathan Sidwell [Wed, 9 Sep 1998 22:02:02 +0000 (22:02 +0000)]
c-lex.c (real_yylex): Don't warn about long long constants if we're allowing long long

        * c-lex.c (real_yylex): Don't warn about long long constants if
        we're allowing long long

From-SVN: r22370

25 years agoexcept.h (current_function_eh_stub_label): Declare.
Bernd Schmidt [Wed, 9 Sep 1998 21:48:42 +0000 (21:48 +0000)]
except.h (current_function_eh_stub_label): Declare.

        * except.h (current_function_eh_stub_label): Declare.
        (current_function_eh_old_stub_label): Declare.
        * function.h (struct function): New members eh_stub_label and
        eh_old_stub_label.
        * except.c (current_function_eh_stub_label): New variable.
        (current_function_eh_old_stub_label): New variable.
        (init_eh_for_function): Clear them.
        (save_eh_status): Save them.
        (restore_eh_status): Restore them.
        (expand_builtin_eh_stub): Set current_function_eh_stub_label.
        (expand_builtin_eh_stub_old): Set current_function_eh_old_stub_label.
        * flow.c (find_basic_blocks_1): When handling a REG_LABEL note, don't
        make an edge from the block that contains it to the block starting
        with the label if this label is one of the eh stub labels.
        If eh stub labels exist, show they are reachable from the last block
        in the function.

From-SVN: r22369

25 years agopa.c (pa_reorg): New marking scheme for jumps inside switch tables.
Jeffrey A Law [Wed, 9 Sep 1998 21:31:17 +0000 (21:31 +0000)]
pa.c (pa_reorg): New marking scheme for jumps inside switch tables.

        * pa.c (pa_reorg): New marking scheme for jumps inside switch
        tables.
        (pa_adjust_insn_length): Update to work with new marking scheme
        for jumps inside switch tables.
        * pa.md (switch_jump): Remove pattern.
        (jump): Handle jumps inside jump tables.

From-SVN: r22368

25 years agoreload1.c (reload): Break out several subroutines and make some variables global.
Bernd Schmidt [Wed, 9 Sep 1998 21:12:04 +0000 (21:12 +0000)]
reload1.c (reload): Break out several subroutines and make some variables global.

* reload1.c (reload): Break out several subroutines and make some
variables global.
(calculate_needs_all_insns): New function, broken out of reload.
(calculate_needs): Likewise.
(find_reload_regs): Likewise.
(find_group): Likewise.
(find_tworeg_group): Likewise.
(something_needs_reloads): New global variable, formerly in reload.
(something_needs_elimination): Likewise.
(caller_save_spill_class): Likewise.
(caller_save_group_size): Likewise.
(max_needs): Likewise.
(group_size): Likewise.
(max_groups): Likewise.
(max_nongroups): Likewise.
(group_mode): Likewise.
(max_needs_insn): Likewise.
(max_groups_insn): Likewise.
(max_nongroups_insn): Likewise.
(failure): Likewise.

From-SVN: r22367

25 years ago* print-rtl.c (print_rtx): For MEMs, print MEM_ALIAS_SET.
Bernd Schmidt [Wed, 9 Sep 1998 20:59:53 +0000 (20:59 +0000)]
* print-rtl.c (print_rtx): For MEMs, print MEM_ALIAS_SET.

From-SVN: r22366

25 years ago* Add library exception clause to the copyright notice for all
Jeffrey A Law [Wed, 9 Sep 1998 20:35:49 +0000 (20:35 +0000)]
* Add library exception clause to the copyright notice for all
         .c and .h files.

From-SVN: r22365

25 years agogjavah.c (java_no_argument): Renamed from no_argument to avoid losing due to namespac...
Jeffrey A Law [Wed, 9 Sep 1998 20:24:25 +0000 (20:24 +0000)]
gjavah.c (java_no_argument): Renamed from no_argument to avoid losing due to namespace pollution in GNU getopt.h

        * gjavah.c (java_no_argument): Renamed from no_argument to avoid
        losing due to namespace pollution in GNU getopt.h

From-SVN: r22364

25 years agoDocument term.h and tinfo.h in avoid_bool
Bruce Korb [Wed, 9 Sep 1998 16:51:30 +0000 (16:51 +0000)]
Document  term.h and tinfo.h in avoid_bool

From-SVN: r22363

25 years agoRegenerated, based on update to inclhack.def
Bruce Korb [Wed, 9 Sep 1998 16:45:21 +0000 (16:45 +0000)]
Regenerated, based on update to inclhack.def

From-SVN: r22361

25 years agoAdded files term.h and tinfo.h in avoid_bool for use by Open Server 5
Bruce Korb [Wed, 9 Sep 1998 16:41:14 +0000 (16:41 +0000)]
Added files term.h and tinfo.h in avoid_bool for use by Open Server 5

From-SVN: r22360

25 years agoMake-lang.in (java.all.build): Don't mention jvgenmain or gcjh.
Tom Tromey [Wed, 9 Sep 1998 14:33:06 +0000 (14:33 +0000)]
Make-lang.in (java.all.build): Don't mention jvgenmain or gcjh.

* Make-lang.in (java.all.build): Don't mention jvgenmain or gcjh.
(java.all.cross): Likewise.
(java.rest.encap): Likewise.

From-SVN: r22359

25 years ago* config.guess: Match "Pent II" or "PentII" for OpenServer.
Robert Lipe [Wed, 9 Sep 1998 13:47:30 +0000 (13:47 +0000)]
* config.guess: Match "Pent II" or "PentII" for OpenServer.

From-SVN: r22358

25 years ago* loop.c (load_mems): Copy rtx for output mem.
Richard Henderson [Wed, 9 Sep 1998 13:15:23 +0000 (06:15 -0700)]
* loop.c (load_mems): Copy rtx for output mem.

From-SVN: r22357

25 years agoabi64.h (LONG_MAX_SPEC): Don't set LONG_MAX for mips1 or mips2 either.
Gavin Romig-Koch [Wed, 9 Sep 1998 12:19:17 +0000 (12:19 +0000)]
abi64.h (LONG_MAX_SPEC): Don't set LONG_MAX for mips1 or mips2 either.

* mips/abi64.h (LONG_MAX_SPEC): Don't set LONG_MAX for
mips1 or mips2 either.

From-SVN: r22356

25 years agoconfigure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...
Manfred Hollstein [Wed, 9 Sep 1998 11:49:10 +0000 (11:49 +0000)]
configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...

p
* libio/configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
value; don't change its value if --enable-version-specific-runtime-libs
has been specified.
* libstdc++/Makefile.in (install): Initialize RELINSTALLDIR correctly
even for multilib and cross configurations.
* libstdc++/configure.in (INSTALLDIR): Don't change INSTALLDIR's init
value if --enable-version-specific-runtime-libs has been specified.

From-SVN: r22355

25 years agoconfigure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...
Manfred Hollstein [Wed, 9 Sep 1998 11:49:09 +0000 (11:49 +0000)]
configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...

M
* libio/configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
value; don't change its value if --enable-version-specific-runtime-libs
has been specified.
* libstdc++/Makefile.in (install): Initialize RELINSTALLDIR correctly
even for multilib and cross configurations.
* libstdc++/configure.in (INSTALLDIR): Don't change INSTALLDIR's init
value if --enable-version-specific-runtime-libs has been specified.

From-SVN: r22354

25 years agoconfigure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...
Manfred Hollstein [Wed, 9 Sep 1998 11:49:07 +0000 (11:49 +0000)]
configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...

* libio/configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
value; don't change its value if --enable-version-specific-runtime-libs
has been specified.
* libstdc++/Makefile.in (install): Initialize RELINSTALLDIR correctly
even for multilib and cross configurations.
* libstdc++/configure.in (INSTALLDIR): Don't change INSTALLDIR's init
value if --enable-version-specific-runtime-libs has been specified.

From-SVN: r22353

25 years agoconfigure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...
Manfred Hollstein [Wed, 9 Sep 1998 11:49:06 +0000 (11:49 +0000)]
configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's value...


* libio/configure.in (INSTALLDIR): Fix comment about changing INSTALLDIR's
value; don't change its value if --enable-version-specific-runtime-libs
has been specified.
* libstdc++/Makefile.in (install): Initialize RELINSTALLDIR correctly
even for multilib and cross configurations.
* libstdc++/configure.in (INSTALLDIR): Don't change INSTALLDIR's init
value if --enable-version-specific-runtime-libs has been specified.

From-SVN: r22352

25 years ago* Makefile.in (profile.o): Depend on insn-config.h
Jeffrey A Law [Wed, 9 Sep 1998 11:33:00 +0000 (11:33 +0000)]
* Makefile.in (profile.o): Depend on insn-config.h

From-SVN: r22351

25 years agoReenable accidentally disabled dwarf2 eh support for irix6.
Jim Wilson [Wed, 9 Sep 1998 09:39:24 +0000 (09:39 +0000)]
Reenable accidentally disabled dwarf2 eh support for irix6.

* iris6.h (DWARF2_UNWIND_INFO): Undef.

From-SVN: r22350

25 years agoconfigure.in: Test $srcdir, not $subdir (probable typo).
Craig Burley [Wed, 9 Sep 1998 06:18:00 +0000 (02:18 -0400)]
configure.in: Test $srcdir, not $subdir (probable typo).

1998-09-09  Craig Burley  <burley@gnu.org>
* configure.in: Test $srcdir, not $subdir (probable typo).
Clarify commentary, fix a bit of spacing.

From-SVN: r22349

25 years agoChangeLog.egcs: Deleted.
Dave Love [Wed, 9 Sep 1998 06:08:45 +0000 (06:08 +0000)]
ChangeLog.egcs: Deleted.

1998-09-07  Dave Love  <d.love@dl.ac.uk>
* ChangeLog.egcs: Deleted.  Entries merged here.

From-SVN: r22348

25 years agoChangeLog.egcs: Deleted.
Dave Love [Wed, 9 Sep 1998 06:00:11 +0000 (06:00 +0000)]
ChangeLog.egcs: Deleted.

1998-09-07  Dave Love  <d.love@dl.ac.uk>
* ChangeLog.egcs: Deleted.  Entries merged here.

From-SVN: r22347

25 years agoChangeLog.egcs: Deleted.
Dave Love [Wed, 9 Sep 1998 05:55:04 +0000 (05:55 +0000)]
ChangeLog.egcs: Deleted.

1998-09-07  Dave Love  <d.love@dl.ac.uk>
* ChangeLog.egcs: Deleted.  Entries merged here.

From-SVN: r22346

25 years agoAdd preliminary native sparcv9 Solaris support.
David S. Miller [Wed, 9 Sep 1998 02:43:28 +0000 (02:43 +0000)]
Add preliminary native sparcv9 Solaris support.

* configure.in: Recognize sparv9-*-solaris2*
* configure: rebuilt
* config.sub: Recognize sparcv9 just like sparc64.
* config/sparc/sol2-c1.asm config/sparc/sol2-ci.asm
config/sparc/sol2-cn.asm: Macroize so it can be shared between
32-bit and 64-bit Solaris systems.
* config/sparc/t-sol2: Assemble those with cpp.
* config/sparc/sparc.h (TARGET_CPU_sparcv9): New alias for v9.
(*TF*_LIBCALL): If ARCH64 use V9 names.
* config/sparc/{xm-sysv4-64,sol2-sld-64}.h: New files.

From-SVN: r22345

25 years agosparc.h (TARGET_CM_MEDMID): Fix documentation.
Jakub Jelinek [Wed, 9 Sep 1998 02:19:08 +0000 (04:19 +0200)]
sparc.h (TARGET_CM_MEDMID): Fix documentation.

* config/sparc/sparc.h (TARGET_CM_MEDMID): Fix documentation.
(CASE_VECTOR_MODE): Set to SImode even if PTR64, when MEDLOW and
not doing pic.
(ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Check CASE_VECTOR_MODE not
Pmode.
* config/sparc/sparc.md (tablejump): Likewise, and sign extend op0
to Pmode if CASE_VECTOR_MODE is something else.

From-SVN: r22344

25 years agoclass.c (get_enclosing_class): New function.
Jason Merrill [Wed, 9 Sep 1998 02:14:55 +0000 (22:14 -0400)]
class.c (get_enclosing_class): New function.

* class.c (get_enclosing_class): New function.
(is_base_of_enclosing_class): Likewise.
* cp-tree.h (get_enclosing_class): Declare.
(is_base_of_enclosing_class): Likewise.
* pt.c (coerce_template_parms): Use them.
* g++spec.c (lang_specific_driver): Check whether MATH_LIBRARY is
null to decide whether to use it.

From-SVN: r22343

25 years agoerror.c (dump_type_real): Handle NAMESPACE_DECL.
Jason Merrill [Wed, 9 Sep 1998 00:52:50 +0000 (20:52 -0400)]
error.c (dump_type_real): Handle NAMESPACE_DECL.

* error.c (dump_type_real): Handle NAMESPACE_DECL.
* parse.y (base_class.1): Avoid crash on error.
* decl.c (make_typename_type): If context is a namespace, the code
is in error.

From-SVN: r22342

25 years agoDaily bump.
Jeff Law [Wed, 9 Sep 1998 00:47:02 +0000 (18:47 -0600)]
Daily bump.

From-SVN: r22341

25 years agoconfigure.in (m68k-next-nextstep3*): Use collect2.
Jeffrey A Law [Tue, 8 Sep 1998 23:52:38 +0000 (23:52 +0000)]
configure.in (m68k-next-nextstep3*): Use collect2.

        * configure.in (m68k-next-nextstep3*): Use collect2.
        Similarly for x86 NeXT configurations.
        * configure: Rebuilt.

From-SVN: r22340

25 years agoexpr.c: Corrected comment about what MOVE_RATIO does.
Hans-Peter Nilsson [Tue, 8 Sep 1998 22:48:00 +0000 (00:48 +0200)]
expr.c: Corrected comment about what MOVE_RATIO does.

        * expr.c: Corrected comment about what MOVE_RATIO does.
        * config/alpha/alpha.h: Ditto.
        * config/1750a/1750a.h: Ditto.
        * config/clipper/clipper.h: Ditto.
        * config/i386/i386.h: Ditto.

From-SVN: r22339

25 years agoconfig.guess: Correctly identify Pentium II sco boxes.
Jeff Law [Tue, 8 Sep 1998 22:10:06 +0000 (16:10 -0600)]
config.guess: Correctly identify Pentium II sco boxes.

8
        * config.guess: Correctly identify Pentium II sco boxes.

From-SVN: r22338

25 years agoconfig.guess: Correctly identify Pentium II sco boxes.
Jeff Law [Tue, 8 Sep 1998 22:10:04 +0000 (16:10 -0600)]
config.guess: Correctly identify Pentium II sco boxes.

        * config.guess: Correctly identify Pentium II sco boxes.

From-SVN: r22337

25 years agoconfigure.in (m68k-next-nextstep3*): Use collect2.
Jeffrey A Law [Tue, 8 Sep 1998 21:58:22 +0000 (21:58 +0000)]
configure.in (m68k-next-nextstep3*): Use collect2.

        * configure.in (m68k-next-nextstep3*): Use collect2.
        * configure: Rebuilt.

From-SVN: r22336

25 years ago* cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
Martin v. Löwis [Tue, 8 Sep 1998 18:33:57 +0000 (14:33 -0400)]
* cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.

From-SVN: r22335

25 years agou77-test.f (main): New file, somewhat altered from libf2c/libU77 version.
Dave Love [Tue, 8 Sep 1998 14:58:46 +0000 (14:58 +0000)]
u77-test.f (main): New file, somewhat altered from libf2c/libU77 version.

1998-09-08  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f (main): New file, somewhat
altered from libf2c/libU77 version.

From-SVN: r22333

25 years agoNew file, somewhat altered from libf2c/libU77 version.
Dave Love [Tue, 8 Sep 1998 14:58:01 +0000 (14:58 +0000)]
New file, somewhat altered from libf2c/libU77 version.

From-SVN: r22332

25 years ago* parse.y (nomods_initdcl0): Set up the parser stack correctly.
Mumit Khan [Tue, 8 Sep 1998 14:00:19 +0000 (14:00 +0000)]
* parse.y (nomods_initdcl0): Set up the parser stack correctly.

From-SVN: r22331

25 years agoTypo fix in comment.
Joern Rennecke [Tue, 8 Sep 1998 13:42:58 +0000 (14:42 +0100)]
Typo fix in comment.

From-SVN: r22330

25 years agocp-tree.h (anonymous_namespace_name): Declare.
Mark Mitchell [Tue, 8 Sep 1998 11:37:48 +0000 (11:37 +0000)]
cp-tree.h (anonymous_namespace_name): Declare.

* cp-tree.h (anonymous_namespace_name): Declare.
* decl.c: Define it.
(push_namespace): Use anonymous_namespace_name, rather than local
static anon_name.
* error.c (dump_decl): If a namespace is named
anonymous_namespace_name, call it {anonymous}.

From-SVN: r22329

25 years agodecl.c (grokparms): Distinguish between references and pointers in error message.
Mark Mitchell [Tue, 8 Sep 1998 10:04:38 +0000 (10:04 +0000)]
decl.c (grokparms): Distinguish between references and pointers in error message.

* decl.c (grokparms): Distinguish between references and pointers
in error message.

From-SVN: r22328

25 years ago* rts.h: Update with missing code.
Jeffrey A Law [Tue, 8 Sep 1998 09:42:42 +0000 (09:42 +0000)]
* rts.h: Update with missing code.

From-SVN: r22327

25 years agogjavah.c (print_class_decls): Fix thinko in arglist
Jeffrey A Law [Tue, 8 Sep 1998 09:35:36 +0000 (09:35 +0000)]
gjavah.c (print_class_decls): Fix thinko in arglist

        * gjavah.c (print_class_decls): Fix thinko in arglist
        * jcv-io.c (find_classfile): Similarly.

From-SVN: r22326

25 years agopt.c (process_partial_specialization): Consistantly allocate and zero tpd.parms based...
Richard Henderson [Tue, 8 Sep 1998 09:06:28 +0000 (02:06 -0700)]
pt.c (process_partial_specialization): Consistantly allocate and zero tpd.parms based on ntparms.

* pt.c (process_partial_specialization): Consistantly allocate
and zero tpd.parms based on ntparms.  Use tpd2.parms, not
tpd.parms, where appropriate.

Co-Authored-By: Mark Mitchell <mark@markmitchell.com>
From-SVN: r22325

25 years agoDaily bump.
Jeff Law [Tue, 8 Sep 1998 00:45:01 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22324

25 years ago* gcc/configure.in: Don't assume srcdir is .../gcc
Nathan Sidwell [Tue, 8 Sep 1998 00:41:00 +0000 (00:41 +0000)]
* gcc/configure.in: Don't assume srcdir is .../gcc

From-SVN: r22323

25 years agoglobal.c: Update comments.
John Wehle [Tue, 8 Sep 1998 00:29:35 +0000 (00:29 +0000)]
global.c: Update comments.

        * global.c: Update comments.
        (global_alloc): Assign allocation-numbers
        even for registers allocated by local_alloc in case
        they are later spilled and retry_global_alloc is called.
        (mark_reg_store, mark_reg_clobber,
        mark_reg_conflicts, mark_reg_death): Always record a
        conflict with a pseudo register even if it has been
        assigned to a hard register.
        (dump_conflicts): Don't list pseudo registers already assigned to
        a hard register as needing to be allocated, but do list their
        conflicts.
        * local-alloc.c: Update comment.

From-SVN: r22322

25 years ago* config.guess: Fix "tr" code. From Weiwen Liu.
Jeffrey A Law [Tue, 8 Sep 1998 00:19:58 +0000 (00:19 +0000)]
* config.guess: Fix "tr" code.  From Weiwen Liu.

From-SVN: r22321

25 years agoconfigure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.
Jeffrey A Law [Mon, 7 Sep 1998 22:39:41 +0000 (22:39 +0000)]
configure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.

        * configure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.
        * configure: Rebuilt.

From-SVN: r22320

25 years agoFix name for -mcpu=ec603e; Make sure all targets that turn on -msoft-float use the...
Michael Meissner [Mon, 7 Sep 1998 20:42:22 +0000 (20:42 +0000)]
Fix name for -mcpu=ec603e; Make sure all targets that turn on -msoft-float use the correct multilibs

From-SVN: r22315

25 years agomkstemp.c: Include config.h even when not IN_GCC.
Kaveh R. Ghazi [Mon, 7 Sep 1998 20:37:13 +0000 (20:37 +0000)]
mkstemp.c: Include config.h even when not IN_GCC.

       * mkstemp.c: Include config.h even when not IN_GCC.  Wrap header
       inclusions inside HAVE_*_H macros.  Include ansidecl.h when not
       IN_GCC.
       * vasprintf.c: Include stdarg.h/varargs.h first.
       * vprintf.c: Likewise.

From-SVN: r22314

25 years ago* toplev.c (print_switch_values): Make static to match prototype.
Kaveh R. Ghazi [Mon, 7 Sep 1998 20:35:41 +0000 (20:35 +0000)]
* toplev.c (print_switch_values): Make static to match prototype.

From-SVN: r22313

25 years agoconfigure.in: If we are unable to find the "gnatbind" program...
Jeffrey A Law [Mon, 7 Sep 1998 18:15:42 +0000 (18:15 +0000)]
configure.in: If we are unable to find the "gnatbind" program...

        * configure.in: If we are unable to find the "gnatbind" program,
        then do not configure the ada subdir.
        * configure: Rebuilt.

From-SVN: r22312

25 years agoBack out previous change
Mark Mitchell [Mon, 7 Sep 1998 15:40:51 +0000 (15:40 +0000)]
Back out previous change

From-SVN: r22311

25 years agorevert error reporting patch
Jason Merrill [Mon, 7 Sep 1998 14:25:35 +0000 (10:25 -0400)]
revert error reporting patch

From-SVN: r22310

25 years ago* Makefile.in (INCLUDES): Update for recent toplevel gcc changes.
Jeffrey A Law [Mon, 7 Sep 1998 13:00:59 +0000 (13:00 +0000)]
* Makefile.in (INCLUDES): Update for recent toplevel gcc changes.

From-SVN: r22309

25 years agocp-tree.h (cp_error): Prototype.
Mark Mitchell [Mon, 7 Sep 1998 11:35:39 +0000 (11:35 +0000)]
cp-tree.h (cp_error): Prototype.

* cp-tree.h (cp_error): Prototype.
(cp_error_at): Likewise.
(cp_warning): Likewise.
(cp_warning_at): Likewise.
(cp_pedwarn): Likewise.
(cp_pedwarn_at): Likewise.
(cp_compiler_error): Likewise.
(cp_sprintf): Likewise.
(cp_enable_warning): Likewise.
* errfn.c: Remove hack to avoid error-function prototypes when
including cp-tree.h.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r22308

25 years agosfe.c, dfe.c: Revert last change.
Dave Love [Mon, 7 Sep 1998 02:45:42 +0000 (02:45 +0000)]
sfe.c, dfe.c: Revert last change.

1998-09-07  Dave Love  <d.love@dl.ac.uk>
* libI77/sfe.c, libI77/dfe.c: Revert last change.

From-SVN: r22307

25 years agoRevert last change.
Dave Love [Mon, 7 Sep 1998 02:45:11 +0000 (02:45 +0000)]
Revert last change.

From-SVN: r22306

25 years agoDaily bump.
Jeff Law [Mon, 7 Sep 1998 00:45:03 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22305

25 years agocp-error.def: New file.
Mark Mitchell [Sun, 6 Sep 1998 19:45:16 +0000 (19:45 +0000)]
cp-error.def: New file.

* cp-error.def: New file.
* Make-lang.in (cc1plus): Add dependency on it.
* Makefile.in (CXX_TREE_H): Likewise.
* cp-tree.h (error_code): New type.
Include cp-error.def to get error codes.  Make it possible to
include cp-tree.h in errfn.c.
(enable_warning): New function.
(flag_diag_codes): New variable.
* errfn.c: Include cp-tree.h.
(cp_err_msg): New type.  Include cp-error.def to define it.
(err_msgs): New variable.
(is_warning_enabled): New function.
(cp_thing): Take an error_code, not a format string.  Output the
diagnostic code if flag_diag_codes.
(cp_error, cp_compiler_error, cp_sprintf, cp_error_at): Take
error_codes, not format strings.
(cp_warning, cp_pedwarn, cp_warning_at, cp_pedwarn_at): Likewise.
Call is_warning_enabled.
* decl2.c (flag_diag_codes): New variable.
(lang_decode_option): Handle -fdiag-codes and -Wnumber.
* lang-options.h: Add -fdiag-codes, -fno-diag-codes, and
-W-number-, and -Wno-number.
* class.c: Update all calls to error-functions.
* cvt.c: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* friend.c: Likewise.
* lex.c: Likewise.
* parse.y: Likewise.
* pt.c: Likewise.
* repo.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* semantics.c: Likewise.
* sig.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
* typeck2.c: Likewise.
* xref.c: Likewise.

From-SVN: r22304

25 years agoInitial revision
Anthony Green [Sun, 6 Sep 1998 15:36:06 +0000 (15:36 +0000)]
Initial revision

From-SVN: r22299

25 years agoBump for snapshot
Jeffrey A Law [Sun, 6 Sep 1998 14:04:04 +0000 (08:04 -0600)]
Bump for snapshot

From-SVN: r22298

25 years agoBump for snapshot
Jeffrey A Law [Sun, 6 Sep 1998 13:28:10 +0000 (07:28 -0600)]
Bump for snapshot

From-SVN: r22297

25 years agoio0.f: Test formatted direct i/o too.
Dave Love [Sun, 6 Sep 1998 06:25:18 +0000 (06:25 +0000)]
io0.f: Test formatted direct i/o too.

1998-09-06  Dave Love  <d.love@dl.ac.uk>
* g77.f-torture/execute/io0.f: Test formatted direct i/o too.

From-SVN: r22296

25 years agoTest formatted direct i/o too.
Dave Love [Sun, 6 Sep 1998 06:24:38 +0000 (06:24 +0000)]
Test formatted direct i/o too.

From-SVN: r22295

25 years ago1998-09-06 Dave Love <d.love@dl.ac.uk>
Dave Love [Sun, 6 Sep 1998 06:15:14 +0000 (06:15 +0000)]
1998-09-06  Dave Love  <d.love@dl.ac.uk>
From Toon to fix spurious recursive i/o errors:
* libI77/sfe.c (e_wdfe): Set f__init.
* libI77/dfe.c (c_dfe): Check and set f__init.
(s_rdfe, s_wdfe): Don't check and set f__init.

From-SVN: r22294

25 years agoMakefile.in (toplev.o): Depend on $(EXPR_H).
Kaveh R. Ghazi [Sun, 6 Sep 1998 05:56:20 +0000 (05:56 +0000)]
Makefile.in (toplev.o): Depend on $(EXPR_H).

        * Makefile.in (toplev.o): Depend on $(EXPR_H).
        (insn-extract.o, insn-attrtab.o): Depend on toplev.h.
        * gansidecl.h: Define ATTRIBUTE_NORETURN.
        * genattrtab.c: Have insn-attrtab.c include toplev.h.
        * genextract.c: Have insn-extract.c include toplev.h.
        * rtl.h: Don't prototype `fatal_insn_not_found' and `fatal_insn'.
        * toplev.c: Include expr.h.
        (really_sorry, fancy_abort): Remove prototypes.
        (set_target_switch): Add argument in prototype.
        (vfatal): Mark prototype with ATTRIBUTE_NORETURN.
        (v_really_sorry): Likewise.
        (print_version, print_single_switch, print_switch_values): Make
        static and add prototype arguments.
        (decl_printable_name): Add prototype arguments.
        (lang_expand_expr_t): New typedef.
        (lang_expand_expr): Declare as a lang_expand_expr_t.
        (incomplete_decl_finalize_hook): Add prototype argument.
        (decl_name): Mark variable `verbosity' with ATTRIBUTE_UNUSED.
        (botch): Likewise for variable `s'.
        (rest_of_type_compilation): Mark variables `type' and `toplev'
        with ATTRIBUTE_UNUSED if none of DBX_DEBUGGING_INFO,
        XCOFF_DEBUGGING_INFO or SDB_DEBUGGING_INFO are defined.
        (display_help): Make variable `i' an `unsigned long'.
        (main): Remove unused parameter `envp'.
        Cast assignment to `lang_expand_expr' to a `lang_expand_expr_t'.
        Cast -1 when comparing it with a `size_t'.
        * toplev.h (fatal, fatal_io_error, pfatal_with_name): Mark
        prototype with ATTRIBUTE_NORETURN.
        (fatal_insn_not_found, fatal_insn, really_sorry,
        push_float_handler, pop_float_handler): Add prototypes.
        (fancy_abort): Mark prototype with ATTRIBUTE_NORETURN.
        (do_abort, botch): Add prototypes.

From-SVN: r22293

25 years agofinal.c (final): If a label is reached only from a single jump...
John Carr [Sun, 6 Sep 1998 05:52:08 +0000 (05:52 +0000)]
final.c (final): If a label is reached only from a single jump...

(
* final.c (final): If a label is reached only from a single jump,
call NOTICE_UPDATE_CC on the jump and its predecessor before
emitting the insn after the label.
* i386.h: Add AMD K6 support.
Change TARGET_* macros to use table lookup.
(INITIALIZE_TRAMPOLINE): Improve trampoline code.
(ADJUST_COST): Change definition to call function in i386.c.
(ISSUE_RATE): Define as 2 for anything newer than an 80486.
* i386.c: Add AMD K6 support.
Add constants for feature tests used by TARGET_* macros.
(split_di): If before reload, call gen_lowpart and gen_highpart.
(x86_adjust_cost): New function.
(put_jump_code): New function.
(print_operand): New codes 'D' and 'd'.
* i386.md: New insn types.  New insn attribute "memory".
Redefine scheduling parameters to use new types and add AMD K6
support.  Explicitly set type of most insns.
(move insns): K6 prefers movl $0,reg to xorl reg,reg.  Pentium
Pro and K6 prefer movl $1,reg to incl reg.
(adddi3, subdi3): Set cc_status.
(DImode shift patterns): Change label counters from HOST_WIDE_INT
to int; x86 can't have more than 2^31 DImode shifts per file.
(setcc): Combine all setcc patterns.  Allow writing memory.
Combine all jump patterns using match_operator.
(*bzero): Name pattern.  Emit mutliple stos instructions when that
is faster than rep stos.
(xordi3, anddi3, iordi3): Simplify DImode logical patterns and
add define_split.
* ch/Make-lang.in: Comment ^L characters.  Sun make doesn't like them.

From-SVN: r22292

25 years agofinal.c (final): If a label is reached only from a single jump...
John Carr [Sun, 6 Sep 1998 05:52:02 +0000 (05:52 +0000)]
final.c (final): If a label is reached only from a single jump...


* final.c (final): If a label is reached only from a single jump,
call NOTICE_UPDATE_CC on the jump and its predecessor before
emitting the insn after the label.
* i386.h: Add AMD K6 support.
Change TARGET_* macros to use table lookup.
(INITIALIZE_TRAMPOLINE): Improve trampoline code.
(ADJUST_COST): Change definition to call function in i386.c.
(ISSUE_RATE): Define as 2 for anything newer than an 80486.
* i386.c: Add AMD K6 support.
Add constants for feature tests used by TARGET_* macros.
(split_di): If before reload, call gen_lowpart and gen_highpart.
(x86_adjust_cost): New function.
(put_jump_code): New function.
(print_operand): New codes 'D' and 'd'.
* i386.md: New insn types.  New insn attribute "memory".
Redefine scheduling parameters to use new types and add AMD K6
support.  Explicitly set type of most insns.
(move insns): K6 prefers movl $0,reg to xorl reg,reg.  Pentium
Pro and K6 prefer movl $1,reg to incl reg.
(adddi3, subdi3): Set cc_status.
(DImode shift patterns): Change label counters from HOST_WIDE_INT
to int; x86 can't have more than 2^31 DImode shifts per file.
(setcc): Combine all setcc patterns.  Allow writing memory.
Combine all jump patterns using match_operator.
(*bzero): Name pattern.  Emit mutliple stos instructions when that
is faster than rep stos.
(xordi3, anddi3, iordi3): Simplify DImode logical patterns and
add define_split.
* ch/Make-lang.in: Comment ^L characters.  Sun make doesn't like them.

From-SVN: r22291

25 years agofinal.c (final): If a label is reached only from a single jump...
John Carr [Sun, 6 Sep 1998 05:52:01 +0000 (05:52 +0000)]
final.c (final): If a label is reached only from a single jump...

d
* final.c (final): If a label is reached only from a single jump,
call NOTICE_UPDATE_CC on the jump and its predecessor before
emitting the insn after the label.
* i386.h: Add AMD K6 support.
Change TARGET_* macros to use table lookup.
(INITIALIZE_TRAMPOLINE): Improve trampoline code.
(ADJUST_COST): Change definition to call function in i386.c.
(ISSUE_RATE): Define as 2 for anything newer than an 80486.
* i386.c: Add AMD K6 support.
Add constants for feature tests used by TARGET_* macros.
(split_di): If before reload, call gen_lowpart and gen_highpart.
(x86_adjust_cost): New function.
(put_jump_code): New function.
(print_operand): New codes 'D' and 'd'.
* i386.md: New insn types.  New insn attribute "memory".
Redefine scheduling parameters to use new types and add AMD K6
support.  Explicitly set type of most insns.
(move insns): K6 prefers movl $0,reg to xorl reg,reg.  Pentium
Pro and K6 prefer movl $1,reg to incl reg.
(adddi3, subdi3): Set cc_status.
(DImode shift patterns): Change label counters from HOST_WIDE_INT
to int; x86 can't have more than 2^31 DImode shifts per file.
(setcc): Combine all setcc patterns.  Allow writing memory.
Combine all jump patterns using match_operator.
(*bzero): Name pattern.  Emit mutliple stos instructions when that
is faster than rep stos.
(xordi3, anddi3, iordi3): Simplify DImode logical patterns and
add define_split.
* ch/Make-lang.in: Comment ^L characters.  Sun make doesn't like them.

From-SVN: r22290

25 years agofinal.c (final): If a label is reached only from a single jump...
John Carr [Sun, 6 Sep 1998 05:51:59 +0000 (05:51 +0000)]
final.c (final): If a label is reached only from a single jump...

0
* final.c (final): If a label is reached only from a single jump,
call NOTICE_UPDATE_CC on the jump and its predecessor before
emitting the insn after the label.
* i386.h: Add AMD K6 support.
Change TARGET_* macros to use table lookup.
(INITIALIZE_TRAMPOLINE): Improve trampoline code.
(ADJUST_COST): Change definition to call function in i386.c.
(ISSUE_RATE): Define as 2 for anything newer than an 80486.
* i386.c: Add AMD K6 support.
Add constants for feature tests used by TARGET_* macros.
(split_di): If before reload, call gen_lowpart and gen_highpart.
(x86_adjust_cost): New function.
(put_jump_code): New function.
(print_operand): New codes 'D' and 'd'.
* i386.md: New insn types.  New insn attribute "memory".
Redefine scheduling parameters to use new types and add AMD K6
support.  Explicitly set type of most insns.
(move insns): K6 prefers movl $0,reg to xorl reg,reg.  Pentium
Pro and K6 prefer movl $1,reg to incl reg.
(adddi3, subdi3): Set cc_status.
(DImode shift patterns): Change label counters from HOST_WIDE_INT
to int; x86 can't have more than 2^31 DImode shifts per file.
(setcc): Combine all setcc patterns.  Allow writing memory.
Combine all jump patterns using match_operator.
(*bzero): Name pattern.  Emit mutliple stos instructions when that
is faster than rep stos.
(xordi3, anddi3, iordi3): Simplify DImode logical patterns and
add define_split.
* ch/Make-lang.in: Comment ^L characters.  Sun make doesn't like them.

From-SVN: r22289

25 years agox-next (BOOT_LDFLAGS): Define suitably for f771 linking.
Dave Love [Sun, 6 Sep 1998 03:21:32 +0000 (03:21 +0000)]
x-next (BOOT_LDFLAGS): Define suitably for f771 linking.

Sun Sep  6 11:17:20 1998  Dave Love  <d.love@dl.ac.uk>
* config/m68k/x-next (BOOT_LDFLAGS): Define suitably for f771
linking.

From-SVN: r22288

25 years ago(BOOT_LDFLAGS): Define suitably for f771 linking.
Dave Love [Sun, 6 Sep 1998 03:20:54 +0000 (03:20 +0000)]
(BOOT_LDFLAGS): Define suitably for f771 linking.

From-SVN: r22287

25 years agoDaily bump.
Jeff Law [Sun, 6 Sep 1998 00:45:02 +0000 (18:45 -0600)]
Daily bump.

From-SVN: r22286

25 years agoallgmem.c: Do not include config.h anymore.
Jeffrey A Law [Sun, 6 Sep 1998 00:33:30 +0000 (00:33 +0000)]
allgmem.c: Do not include config.h anymore.

        * allgmem.c: Do not include config.h anymore.
        * allmem.c allocate.c andps.c cardps.c cause.c copyps.c: Likewise.
        * diffps.c eqps.c exh.c exhstack.c ffsetclrps.c ffsetps.c: Likewise.
        * flsetclrps.c flsetps.c inbitstr.c inps.c leps.c ltps.c: Likewise.
        * neps.c notps.c orps.c retmem.c rtsdummy.c setbitps.c: Likewise.
        * setbits.c sliceps.c terminate.c unhex.c unhex1.c xorps.c: Likewise.

From-SVN: r22285

25 years agoRevert prototype for function not comitted.
Richard Henderson [Sat, 5 Sep 1998 23:07:00 +0000 (16:07 -0700)]
Revert prototype for function not comitted.

From-SVN: r22284

25 years agoMakefile.in (INCLUDES): Update after recent toplevel gcc reorganizations.
Jeffrey A Law [Sat, 5 Sep 1998 23:02:22 +0000 (23:02 +0000)]
Makefile.in (INCLUDES): Update after recent toplevel gcc reorganizations.

        * Makefile.in (INCLUDES): Update after recent toplevel gcc
        reorganizations.

From-SVN: r22283

25 years agoMakefile.in (INCLUDES): Update after recent reorganization at the toplevel gcc directory.
Jeffrey A Law [Sat, 5 Sep 1998 22:51:23 +0000 (22:51 +0000)]
Makefile.in (INCLUDES): Update after recent reorganization at the toplevel gcc directory.

        * Makefile.in (INCLUDES): Update after recent reorganization at the
        toplevel gcc directory.

From-SVN: r22281

25 years ago* Makefile.in: Update dependancies for top-level gcc files that moved.
Richard Henderson [Sat, 5 Sep 1998 22:26:50 +0000 (15:26 -0700)]
* Makefile.in: Update dependancies for top-level gcc files that moved.

From-SVN: r22279

25 years agoalpha.c (alpha_ra_ever_killed): Inspect the topmost sequence, not whatever we're...
Richard Henderson [Sat, 5 Sep 1998 22:22:07 +0000 (15:22 -0700)]
alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence, not whatever we're generating now.

        * alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence,
        not whatever we're generating now.
        * alpha.c (set_frame_related_p, FRP): New.
        (alpha_expand_prologue): Mark frame related insns.
        (alpha_expand_epilogue): Likewise, but with a null FRP.
        * alpha.h (INCOMING_RETURN_ADDR_RTX): New.
        * alpha.md (exception_receiver): New.
        * alpha/crtbegin.asm (.eh_frame): New beginning.
        (__do_frame_setup, __do_frame_takedown): New.
        * alpha/crtend.asm (.eh_frame): New ending.
        * alpha/elf.h (DWARF2_DEBUGGING_INFO): Define.
        (ASM_SPEC): Don't emit both dwarf2 and mdebug.
        (ASM_FILE_START): Don't emit .file for dwarf2.

From-SVN: r22277

25 years agortl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR.
Richard Henderson [Sat, 5 Sep 1998 21:57:56 +0000 (14:57 -0700)]
rtl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR.

        * rtl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR.
        * rtl.c (reg_note_name): Likewise.
        * rtl.texi (REG_NOTES): Likewise.
        * dwarf2out.c (dwarf2out_frame_debug): Use it.  Recognize a store
        without an offset.

From-SVN: r22273

25 years agocp-tree.h (TI_PENDING_SPECIALIZATION_FLAG): Remove.
Mark Mitchell [Sat, 5 Sep 1998 20:14:21 +0000 (20:14 +0000)]
cp-tree.h (TI_PENDING_SPECIALIZATION_FLAG): Remove.

* cp-tree.h (TI_PENDING_SPECIALIZATION_FLAG): Remove.
* class.c (finish_struct): Remove hackery to deal with explicit
specializations in class scope.
* decl.c (grokfndecl): Improve error-recovery.
* decl2.c (grokfield): Likewise.
* pt.c (check_specialization_scope): New function.
(begin_specialization): Call it.
(process_partial_specialization): New function, split out from
push_template_decl.  Check partial specializations more
stringently.
(push_template_decl): Call it.
(check_explicit_specialization): Don't attempt to handle explicit
specializations in class scope.
(template_parm_data): Document.  Add current_arg and
arg_uses_template_parms.
(mark_template_parm): Set it.
(tsubst_arg_types): Remove unused variable.
* semantics.c (begin_class_definition): Tweak.

From-SVN: r22271