OSDN Git Service

pf3gnuchains/gcc-fork.git
26 years agoReference fix.
robertl [Wed, 11 Mar 1998 12:17:05 +0000 (12:17 +0000)]
Reference fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18482 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRemove political statement.
robertl [Wed, 11 Mar 1998 12:14:36 +0000 (12:14 +0000)]
Remove political statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18481 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoPatch from Teemu Torma to fix Solaris 2.6 EH failures.
wilson [Wed, 11 Mar 1998 12:07:25 +0000 (12:07 +0000)]
Patch from Teemu Torma to fix Solaris 2.6 EH failures.
* gthr.h: Changed the comment about return values.
* gthr-solaris.h (__gthread_once): Do not use errno; return the
error number instead of -1.
(__gthread_key_create): Any non-zero return value is an error.
* libgcc2.c (eh_context_initialize): Check for non-zero return
value from __gthread_once.
Check that the value of get_eh_context was really changed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18480 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * g77.f-torture/execute/980310-5.f: Deleted. Craig Burley and
robertl [Wed, 11 Mar 1998 11:15:31 +0000 (11:15 +0000)]
    * g77.f-torture/execute/980310-5.f: Deleted.  Craig Burley and
        Dave Love agree the Fortran source is bogus.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18475 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sh.h (LOOP_ALIGN): Only align when optimizing.
amylaar [Wed, 11 Mar 1998 10:33:51 +0000 (10:33 +0000)]
* sh.h (LOOP_ALIGN): Only align when optimizing.
* sh.c (find_barrier): Clear inc for CODE_LABELs.
When not optimizing, calculate alignment for BARRIERs directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18473 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a
mmitchell [Wed, 11 Mar 1998 07:37:49 +0000 (07:37 +0000)]
* pt.c (tsubst): Clear TYPE_REFERENCE_TO when creating a
        reduced-level template type parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18472 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * parse.y (new_initializer): Make sure all initializers are
mmitchell [Wed, 11 Mar 1998 07:25:20 +0000 (07:25 +0000)]
* parse.y (new_initializer): Make sure all initializers are
lists.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18471 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * final.c (shorten_branches): Remove conditionalizing on
amylaar [Wed, 11 Mar 1998 07:12:31 +0000 (07:12 +0000)]
* final.c (shorten_branches): Remove conditionalizing on
SHORTEN_WITH_ADJUST_INSN_LENGTH
* sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18470 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoAdd Bruce Korbb as maintainer of "new fixincludes stuff".
law [Wed, 11 Mar 1998 01:55:49 +0000 (01:55 +0000)]
Add Bruce Korbb as maintainer of "new fixincludes stuff".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18469 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoP
law [Wed, 11 Mar 1998 01:35:44 +0000 (01:35 +0000)]
P
        * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
        an unconditional jump around deleted blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18468 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Wed, 11 Mar 1998 01:35:43 +0000 (01:35 +0000)]

        * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
        an unconditional jump around deleted blocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18467 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * g77.f-torture/compile/980310-1.f, g77.f-torture/compile/980310-2.f
robertl [Tue, 10 Mar 1998 22:07:48 +0000 (22:07 +0000)]
* g77.f-torture/compile/980310-1.f, g77.f-torture/compile/980310-2.f
g77.f-torture/compile/980310-3.f, g77.f-torture/compile/980310-4.f
g77.f-torture/compile/980310-6.f, g77.f-torture/compile/980310-7.f
g77.f-torture/compile/980310-8.f: New tests from egcs-bugs archives.
* g77.f-torture/execute/980310-5.f: New test from egcs-bugs archives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18466 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoTue Mar 10 07:32:36 1998 Mark Mitchell <mmitchell@usa.net>
mmitchell [Tue, 10 Mar 1998 07:32:11 +0000 (07:32 +0000)]
Tue Mar 10 07:32:36 1998  Mark Mitchell  <mmitchell@usa.net>
* decl2.c (import_export_decl): Mark tinfo functions for
cv-qualified versions of class types as DECL_NOT_REALLY_EXTERN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18456 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agog++.robertl: New testsuite area.
robertl [Mon, 9 Mar 1998 22:45:29 +0000 (22:45 +0000)]
g++.robertl: New testsuite area.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18455 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agog++.old-deja/g++.other/friend1.C: New test.
robertl [Mon, 9 Mar 1998 22:38:00 +0000 (22:38 +0000)]
g++.old-deja/g++.other/friend1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18454 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWorkaround for -fprofile-arcs/computed goto failure.
wilson [Mon, 9 Mar 1998 17:11:32 +0000 (17:11 +0000)]
Workaround for -fprofile-arcs/computed goto failure.
* profile.c (branch_prob): If see computed goto, call fatal instead of
abort.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18453 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoPatch from Eric Dana to add macros defined by Siemens compiler.
wilson [Mon, 9 Mar 1998 15:18:50 +0000 (15:18 +0000)]
Patch from Eric Dana to add macros defined by Siemens compiler.
* config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18452 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoPatch from Bruno Haible for alpha-dec-osf build failure.
wilson [Mon, 9 Mar 1998 15:14:51 +0000 (15:14 +0000)]
Patch from Bruno Haible for alpha-dec-osf build failure.
* configure.in (alpha-dec-osf): Add default case for osf* to switch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18451 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoPatch to fix mips64-elf varargs aliasing failures.
wilson [Mon, 9 Mar 1998 12:03:21 +0000 (12:03 +0000)]
Patch to fix mips64-elf varargs aliasing failures.
* function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
(assign_parms): Set aggregate if hide_last_arg and last_named.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18450 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoTypo fix.
amylaar [Mon, 9 Mar 1998 12:02:59 +0000 (12:02 +0000)]
Typo fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18449 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * final.c (shorten_branches): Initialize insn_addresses.
amylaar [Mon, 9 Mar 1998 12:00:42 +0000 (12:00 +0000)]
    * final.c (shorten_branches): Initialize insn_addresses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18448 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * sh.h (MUST_PASS_IN_STACK): Define.
amylaar [Mon, 9 Mar 1998 06:13:39 +0000 (06:13 +0000)]
* sh.h (MUST_PASS_IN_STACK): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18447 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * final.c (shorten_branches): Fix minor logic error in
law [Sun, 8 Mar 1998 12:04:17 +0000 (12:04 +0000)]
    * final.c (shorten_branches): Fix minor logic error in
        ADDR_DIFF_VEC shortening support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18443 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBump for snapshot
law [Sun, 8 Mar 1998 02:17:44 +0000 (02:17 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18440 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * haifa-sched.c (is_cfg_nonregular): Change return type to
law [Sun, 8 Mar 1998 02:15:26 +0000 (02:15 +0000)]
    * haifa-sched.c (is_cfg_nonregular): Change return type to
        an int.  No longer compute "estimated" number of edges.  Use
        computed_jump_p instead of duplicating the code.  Fixup/add
        some comments.
        (build_control_flow): Returns a value indicating an irregularity
        in the cfg was detected.  Count the number of edges in the cfg.
        allocate various edge tables.
        (find_rgns): No longer look for unreachable blocks.
        (schedule_insns): Do not allocate memory for edge tables here.
        Free memory for edge tables before returning.  Do not perform
        cross block scheduling if build_control_flow returns nonzero.
        * flow.c (compute_preds_succs): More accurately determine when
        a block drops in.
Fixes various compile hangs after haifa cleanup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18439 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * basic-block.h (free_basic_block_vargs): Provide prototype.
law [Sat, 7 Mar 1998 01:14:32 +0000 (01:14 +0000)]
    * basic-block.h (free_basic_block_vargs): Provide prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18438 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoTweak from Craig.
law [Fri, 6 Mar 1998 23:55:14 +0000 (23:55 +0000)]
Tweak from Craig.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18436 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cccp.c (main): Fix dumb mistakes in last change.
law [Fri, 6 Mar 1998 23:54:33 +0000 (23:54 +0000)]
    * cccp.c (main): Fix dumb mistakes in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18435 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix typo.
law [Fri, 6 Mar 1998 22:24:29 +0000 (22:24 +0000)]
Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18434 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * rtl.h (addr_diff_vec_flags): New typedef.
amylaar [Fri, 6 Mar 1998 14:54:07 +0000 (14:54 +0000)]
* rtl.h (addr_diff_vec_flags): New typedef.
(union rtunion_def): New member rt_addr_diff_vec_flags.
(ADDR_DIFF_VEC_FLAGS): New macro.
* sh.c (output_branch): Fix offset overflow problems.
* final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
(final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
* rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
* stmt.c (expand_end_case): Supply new arguments to
gen_rtx_ADDR_DIFF_VEC.
* 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
* alpha.h, arc.h, clipper.h, convex.h : Likewise.
* dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
* i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
* mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
* rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
* vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
* i386/386bsd.h, i386/freebsd-elf.h : Likewise.
* i386/freebsd.h, i386/linux.h : Likewise.
* i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
* i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
* m68k/mot3300.h, m68k/sgs.h : Likewise.
* m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
* sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
(CASE_VECTOR_SHORTEN_MODE): Define.
(short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
(med_branch_p, braf_branch_p): Don't declare.
(mdep_reorg_phase, barrier_align): Declare.
(ADJUST_INSN_LENGTH): Remove alignment handling.
* sh.c (uid_align, uid_align_max): Deleted.
(max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
(short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
(cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
(output_far_jump): Don't use braf_branch_p.
(output_branchy_insn): Don't use branch_offset.
(find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
Remove paired barrier stuff.
Don't use cache_align_p.
Take alignment insns into account.
(fixup_addr_diff_vecs): Reduce to only fixing up the base label of
the addr_diff_vec.
(barrier_align, branch_dest): New function.
(machine_dependent_reorg, split_branches): Remove infrastructure
for branch shortening that is now provided in the backend.
* sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
(braf_branch_p, braf_cbranch_p): Likewise.
(attribute length): Use new attributes.
(casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
(addr_diff_vec_adjust): Delete.
(align_2): Now a define_expand.
(align_log): Now length 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18433 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix calculation of right function unit
meissner [Fri, 6 Mar 1998 11:44:45 +0000 (11:44 +0000)]
Fix calculation of right function unit

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18432 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWarning fixes:
ghazi [Fri, 6 Mar 1998 11:03:35 +0000 (11:03 +0000)]
Warning fixes:
        * mips/mips.h: Prototype `machine_dependent_reorg'.
        (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18431 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Fri, 6 Mar 1998 10:41:22 +0000 (10:41 +0000)]
8
        * final.c (shorten_branches): Restore accidentally removed code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18430 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Fri, 6 Mar 1998 10:41:21 +0000 (10:41 +0000)]

        * final.c (shorten_branches): Restore accidentally removed code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18429 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoGrr, ChangeLog entry for last change.
ghazi [Fri, 6 Mar 1998 07:17:34 +0000 (07:17 +0000)]
Grr, ChangeLog entry for last change.
        * method.c: Include "system.h" to get stdlib.h, stdio.h,
        ctype.h, string.h, etc.
        (issue_nrepeats): Add default case in enumeration switch.
        (check_btype): Likewise.
        (process_overload_item): Likewise.
        * Makefile.in (method.o): Depend on system.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18428 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWarning fix:
ghazi [Fri, 6 Mar 1998 07:11:30 +0000 (07:11 +0000)]
Warning fix:
        * method.c: Include "system.h" to get stdlib.h, stdio.h,
        ctype.h, string.h, etc.
        (issue_nrepeats): Add default case in enumeration switch.
        (check_btype): Likewise.
        (process_overload_item): Likewise.
        * Makefile.in (method.o): Depend on system.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18427 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in: Remove duplicate uses of AC_PROG_CC and
schwab [Fri, 6 Mar 1998 02:02:18 +0000 (02:02 +0000)]
* configure.in: Remove duplicate uses of AC_PROG_CC and
AC_PROG_MAKE_SET.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18426 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* config.sub: Accept alphapca56 and alphaev6 properly.
rth [Fri, 6 Mar 1998 01:02:12 +0000 (01:02 +0000)]
* config.sub: Accept alphapca56 and alphaev6 properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18425 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* configure.in (target_cpu_default2): Correct typo for alphapca56.
rth [Fri, 6 Mar 1998 01:00:41 +0000 (01:00 +0000)]
* configure.in (target_cpu_default2): Correct typo for alphapca56.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18424 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * configure.in: Revert 3 Jan change for powerpc-linux-gnulibc1.
law [Thu, 5 Mar 1998 23:11:56 +0000 (23:11 +0000)]
* configure.in: Revert 3 Jan change for powerpc-linux-gnulibc1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18423 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * haifa-sched.c (build_jmp_edges): Delete dead function.
law [Thu, 5 Mar 1998 22:31:51 +0000 (22:31 +0000)]
    * haifa-sched.c (build_jmp_edges): Delete dead function.
        (build_control_flow): Use cfg routines from flow.c
        (schedule_insns): Remove debugging code accidentally checked
        in earlier today.
        * basic-block.h: Add external integer list structures, typdefs,
        accessor macros and function declarations.  Simlarly for
        basic block pred/succ support and simple bitmap stuff.
        * flow.c: Add functions for integer list, basic block pred/succ
        support and simple bitmap support.
        (compute_dominators): New function to compute dominators and
        post dominators.
        (find_basic_blocks): Split into two functions.
        (life_analysis): Likewise.
        (flow_analysis): Removed.  Now handled by calling find_basic_blocks,
        the life_analysis from toplev.c
        * toplev.c (rest_of_compilation): Call find_basic_blocks, then
        life_analysis instead of flow_analysis.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18421 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * jump.c (jump_optimize): Call mark_jump_label also for deleted
law [Thu, 5 Mar 1998 22:05:51 +0000 (22:05 +0000)]
    * jump.c (jump_optimize): Call mark_jump_label also for deleted
        insns.
        (mark_jump_label): Don't increment ref counts for deleted insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18420 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWarning fixes:
ghazi [Thu, 5 Mar 1998 07:09:04 +0000 (07:09 +0000)]
Warning fixes:
        * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
        * mips/mips.c: Include stdlib.h and unistd.h.
        (mips_asm_file_end): Add braces around empty body in an if-statement.
        (function_prologue): Wrap variable `fnname' in
        !FUNCTION_NAME_ALREADY_DECLARED.  Correct format specifier in fprintf.
        (mips_select_rtx_section, mips_select_section): Declare as void.
        * mips/mips.h: Add prototypes for extern functions in mips.c.
        (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
        (ENCODE_SECTION_INFO): Add braces around empty body in an
        if-statement.
        * mips/mips.md (movdi): Add parentheses around && within ||.
        (movsf, movdf): Likewise.
        (branch_zero, branch_zero_di): Add default case in
        enumeration switch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18419 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoRemove asterisk from ghazi@caip.rutgers.edu
ghazi [Thu, 5 Mar 1998 06:53:17 +0000 (06:53 +0000)]
Remove asterisk from ghazi@caip.rutgers.edu

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18418 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
rth [Thu, 5 Mar 1998 02:50:12 +0000 (02:50 +0000)]
    * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
        real constants, since they can't be changed.
        (TARGET_AS_CAN_SUBTRACT_LABELS): New.
        * alpha/alpha.md (builtin_setjmp_receiver): Use it.
        * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
        * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
        * alpha/vms.h (TARGET_OPEN_VMS): New.
        * alpha/win-nt.h (TARGET_WINDOWS_NT): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18417 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* reload.c (find_reloads): Always force (subreg (mem)) to be
rth [Thu, 5 Mar 1998 02:42:22 +0000 (02:42 +0000)]
* reload.c (find_reloads): Always force (subreg (mem)) to be
reloaded if WORD_REGISTER_OPERATIONS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18416 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* haifa-sched.c (free_list): Rename from free_pnd_lst.
rth [Thu, 5 Mar 1998 02:15:23 +0000 (02:15 +0000)]
* haifa-sched.c (free_list): Rename from free_pnd_lst.
(free_pending_lists): Rename free_pnd_lst uses.
(remove_dependence): Place expunged element on unused_insn_list.
(alloc_INSN_LIST, alloc_EXPR_LIST): New.  Change all callers of
gen_rtx_*_LIST and alloc_rtx to use them.
(compute_block_backward_dependences): Free the reg_last_* lists.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18415 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Thu, 5 Mar 1998 00:28:14 +0000 (00:28 +0000)]

* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18414 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Thu, 5 Mar 1998 00:28:13 +0000 (00:28 +0000)]

* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18413 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoa
manfred [Thu, 5 Mar 1998 00:28:12 +0000 (00:28 +0000)]
a
* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18412 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Thu, 5 Mar 1998 00:28:11 +0000 (00:28 +0000)]

* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18411 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config.table: Make locating frag files failsafe even for the
manfred [Thu, 5 Mar 1998 00:28:10 +0000 (00:28 +0000)]
* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18410 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cccp.c (main): Avoid undefined behavior when setting pend_includes
law [Wed, 4 Mar 1998 23:03:14 +0000 (23:03 +0000)]
    * cccp.c (main): Avoid undefined behavior when setting pend_includes
        and pend_files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18409 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
law [Wed, 4 Mar 1998 21:24:06 +0000 (21:24 +0000)]
8
        * lex.c (do_scoped_id): Fix parenthesizing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18408 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
law [Wed, 4 Mar 1998 21:24:04 +0000 (21:24 +0000)]

        * lex.c (do_scoped_id): Fix parenthesizing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18407 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
law [Wed, 4 Mar 1998 20:59:50 +0000 (20:59 +0000)]
    * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
        USE_GNULIBC_1 is defined
        * configure.in: add a new case powerpc-*-linux-gnulibc1 which
        includes the t-linux-gnulibc1 fragment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18405 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * Make-lang.in: Remove more references to libf77.
law [Wed, 4 Mar 1998 16:35:10 +0000 (16:35 +0000)]
    * Make-lang.in: Remove more references to libf77.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18404 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago(operator<<): Correct type of numeric argument.
drepper [Wed, 4 Mar 1998 12:40:30 +0000 (12:40 +0000)]
(operator<<): Correct type of numeric argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18403 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix typo found by Kaveh Ghazi while looking at -Wall problems.
wilson [Wed, 4 Mar 1998 12:15:47 +0000 (12:15 +0000)]
Fix typo found by Kaveh Ghazi while looking at -Wall problems.
* mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18402 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * rtti.c (get_tinfo_fn_dynamic): If this function is called an
jason [Wed, 4 Mar 1998 12:13:02 +0000 (12:13 +0000)]
* rtti.c (get_tinfo_fn_dynamic): If this function is called an
FLAG_RTTI is unset, initialize type info machinery and continue
with FLAG_RTTI enabled.
(get_typeid): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18401 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * typeck.c (unary_complex_lvalue): &D::i has type B::* if i comes
jason [Wed, 4 Mar 1998 11:56:29 +0000 (11:56 +0000)]
* typeck.c (unary_complex_lvalue): &D::i has type B::* if i comes
from B.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18400 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (finish_member_template_decl): Deal more gracefully with
mmitchell [Wed, 4 Mar 1998 11:33:01 +0000 (11:33 +0000)]
* pt.c (finish_member_template_decl): Deal more gracefully with
invalid declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18399 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
amylaar [Wed, 4 Mar 1998 10:50:18 +0000 (10:50 +0000)]
* final.c (final_scan_insn, case CODE_LABEL: Cleanup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18398 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFix typo in this patch:
amylaar [Wed, 4 Mar 1998 08:13:16 +0000 (08:13 +0000)]
Fix typo in this patch:
        * final.c (insn_current_reference_address):
        Use SEQ instead of BRANCH as argument to align_fuzz, to get a
        proper alignment chain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18397 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * final.c (shorten_branches): Tag the loop alignment onto the
amylaar [Wed, 4 Mar 1998 07:54:28 +0000 (07:54 +0000)]
* final.c (shorten_branches): Tag the loop alignment onto the
first label after NOTE_INSN_LOOP_BEG even if there is an
intervening insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18396 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * final.c (insn_current_reference_address):
law [Tue, 3 Mar 1998 22:52:48 +0000 (22:52 +0000)]
* final.c (insn_current_reference_address):
Use SEQ instead of BRANCH as argument to align_fuzz, to get a
proper alignment chain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18392 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cvt.c, decl.c, decl2.c, init.c, rtti.c, typeck.c, typeck2.c,
jason [Tue, 3 Mar 1998 22:27:04 +0000 (22:27 +0000)]
* cvt.c, decl.c, decl2.c, init.c, rtti.c, typeck.c, typeck2.c,
cp-tree.h: Clean up more old overloading code, old RTTI code, and
some formatting quirks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18391 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * final.c (max_labelno): New static variable.
law [Tue, 3 Mar 1998 20:45:49 +0000 (20:45 +0000)]
    * final.c (max_labelno): New static variable.
        (final_scan_insn): Check max_labelno before outputting an
        alignment for a label.
        (shorten_branches): Remove unused variable length_align.
Fix some minor problems with new shortening code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18390 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoWarning fixes:
ghazi [Tue, 3 Mar 1998 11:33:31 +0000 (11:33 +0000)]
Warning fixes:
Tue Mar  3 14:27:23 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
        * sparc.c (ultrasparc_adjust_cost): Add default case in
        enumeration switch.
         * sparc.h: Add prototypes for extern functions defined in
        sparc.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18387 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoDo not generate a <name>.dbr file when dumping RTL unless DELAY_SLOTS is defined.
nickc [Tue, 3 Mar 1998 10:06:54 +0000 (10:06 +0000)]
Do not generate a <name>.dbr file when dumping RTL unless DELAY_SLOTS is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18386 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * makeinfo/makeinfo.c (CommandTable): Fix braces in initializer.
law [Tue, 3 Mar 1998 09:03:45 +0000 (09:03 +0000)]
    * makeinfo/makeinfo.c (CommandTable): Fix braces in initializer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18385 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * call.c, class.c, cp-tree.h, cvt.c, decl.c, init.c, lex.c,
jason [Tue, 3 Mar 1998 03:24:44 +0000 (03:24 +0000)]
* call.c, class.c, cp-tree.h, cvt.c, decl.c, init.c, lex.c,
method.c, pt.c, ptree.c, typeck.c: Remove support for
-fno-ansi-overloading and overloading METHOD_CALL_EXPR.
* class.h: Remove.
* Makefile.in: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18384 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (unify): Don't allow reduced cv-quals when strict.
jason [Tue, 3 Mar 1998 01:57:32 +0000 (01:57 +0000)]
* pt.c (unify): Don't allow reduced cv-quals when strict.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18383 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Tue, 3 Mar 1998 01:51:51 +0000 (01:51 +0000)]

* g77.texi: Use @url for citing URLs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18381 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoE
manfred [Tue, 3 Mar 1998 01:51:49 +0000 (01:51 +0000)]
E
* g77.texi: Use @url for citing URLs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18380 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agooops
jason [Tue, 3 Mar 1998 01:44:37 +0000 (01:44 +0000)]
oops

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18378 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * call.c, class.c, pt.c, cp-tree.h: Remove nsubsts parm from
jason [Tue, 3 Mar 1998 01:39:03 +0000 (01:39 +0000)]
* call.c, class.c, pt.c, cp-tree.h: Remove nsubsts parm from
*type_unification* and unify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18377 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago8
manfred [Mon, 2 Mar 1998 22:37:37 +0000 (22:37 +0000)]
8
* reorg.c (fill_eager_delay_slots): Add new argument delay_list
in call to fill_slots_from_thread.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18368 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago
manfred [Mon, 2 Mar 1998 22:37:35 +0000 (22:37 +0000)]

* reorg.c (fill_eager_delay_slots): Add new argument delay_list
in call to fill_slots_from_thread.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18367 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoFormatting fix.
amylaar [Mon, 2 Mar 1998 15:04:08 +0000 (15:04 +0000)]
Formatting fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18364 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago* alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
rth [Mon, 2 Mar 1998 13:46:33 +0000 (13:46 +0000)]
* alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
to SUB_CPP_PREDEFINES.  Reported by asun@saul4.u.washington.edu.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18361 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * parse.y (explicit_template_type): Remove TEMPLATE keyword.
jason [Mon, 2 Mar 1998 12:22:33 +0000 (12:22 +0000)]
* parse.y (explicit_template_type): Remove TEMPLATE keyword.
(nested_name_specifier): And add it before this use.
(typename_sub0): And this use.  Also add use without the keyword.
(typename_sub1): Likewise.
* pt.c (instantiate_class_template): Don't actually instantiate
anything if our type uses template parms.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18358 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * final.c (insn_last_address, insn_current_align, uid_align):
amylaar [Mon, 2 Mar 1998 11:54:35 +0000 (11:54 +0000)]
* final.c (insn_last_address, insn_current_align, uid_align):
New variables.
(in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
(insn_current_reference_address): Likewise.
(shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
(label_to_alignment): New function.
* genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
insn_current_reference_address instead of insn_current_address.
(or_attr_value, write_length_unit_log): New functions.
(main): Call write_length_unit_log.
(write_const_num_delay_slots): Output extra '\n'.
* alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
replace with:
(LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
* i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
* arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
(LOOP_ALIGN).
* i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
(LABEL_ALIGN_AFTER_BARRIER).
* ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
* ns32k/tek6000.h: Likewise.
* i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
* i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
ASM_OUTPUT_ALIGN_CODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18357 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * decl.c (start_function): Don't call temporary_allocation for a
jason [Mon, 2 Mar 1998 11:06:14 +0000 (11:06 +0000)]
* decl.c (start_function): Don't call temporary_allocation for a
nested function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18356 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBump for snapshot
law [Mon, 2 Mar 1998 01:05:53 +0000 (01:05 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18354 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBump for snapshot
law [Mon, 2 Mar 1998 00:52:20 +0000 (00:52 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18353 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * pt.c (instantiate_class_template): Don't mess with friends if
jason [Sun, 1 Mar 1998 21:07:22 +0000 (21:07 +0000)]
* pt.c (instantiate_class_template): Don't mess with friends if
our type uses template parms.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18350 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * reorg.c (fill_slots_from_thread): Don't steal delay list from target
law [Sun, 1 Mar 1998 17:24:18 +0000 (17:24 +0000)]
    * reorg.c (fill_slots_from_thread): Don't steal delay list from target
        if condition code of jump conflicts with opposite_needed.
        * reorg.c (fill_slots_from_thread): Mark resources referenced in
        opposite_needed thread.  Return delay_list even when cannot get
        any more delay insns from end of subroutine.
        * reorg.c (fill_slots_from_thread): New parameter, delay_list.
        All callers changed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18348 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
law [Sun, 1 Mar 1998 17:11:31 +0000 (17:11 +0000)]
    * ginclude/va-ppc.h (va_arg): Fix typo in long long support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18346 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
law [Sun, 1 Mar 1998 17:09:39 +0000 (17:09 +0000)]
    * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
        end_fde_sort): New functions for fast sorting of an FDE array.
        (fde_insert): Simplified.
        (add_fdes): Change argument list.
        (frame_init): Use the new functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18345 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
law [Sun, 1 Mar 1998 17:07:50 +0000 (17:07 +0000)]
    * i386.c (reg_mentioned_in_mem): Fix dangling else statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18344 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * fold-const.c (fold_range_test): Always return a value.
law [Sun, 1 Mar 1998 17:04:14 +0000 (17:04 +0000)]
    * fold-const.c (fold_range_test): Always return a value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18343 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * config/i386/winnt.c (i386_pe_unique_section): Put read-only
law [Sun, 1 Mar 1998 16:55:15 +0000 (16:55 +0000)]
    * config/i386/winnt.c (i386_pe_unique_section): Put read-only
        data in the text section unless READONLY_DATA_SECTION is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18342 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * c-parse.in (undeclared variable error): Tweak error message to
law [Sun, 1 Mar 1998 16:46:44 +0000 (16:46 +0000)]
    * c-parse.in (undeclared variable error): Tweak error message to
        be clearer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18341 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agoBump for snapshot
law [Sun, 1 Mar 1998 10:22:38 +0000 (10:22 +0000)]
Bump for snapshot

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18325 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agomissed
jason [Sun, 1 Mar 1998 01:57:25 +0000 (01:57 +0000)]
missed

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18324 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * final.c (final_scan_insn): Undo overzealous removal of `set'.
mmitchell [Sun, 1 Mar 1998 00:08:36 +0000 (00:08 +0000)]
  * final.c (final_scan_insn): Undo overzealous removal of `set'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18323 138bc75d-0d04-0410-961f-82ee72b054a4

26 years agonew
jason [Sat, 28 Feb 1998 15:32:36 +0000 (15:32 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18304 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * parse.y (nested_name_specifier): Use explicit_template_type.
jason [Sat, 28 Feb 1998 15:32:02 +0000 (15:32 +0000)]
* parse.y (nested_name_specifier): Use explicit_template_type.
(typename_sub): Allow a template_type, an explicit_template_type,
or an implicit template type at the end.
* lex.c (yyprint): Handle a PTYPENAME being a TEMPLATE_DECL.
* decl.c (make_typename_type): Handle template-id where the name
is a TEMPLATE_DECL.
* call.c (build_scoped_method_call): Handle member template
destructor call.
* pt.c (tsubst_copy, METHOD_CALL_EXPR): Don't assume a member
destructor is represented by the type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18303 138bc75d-0d04-0410-961f-82ee72b054a4

26 years ago * cp-tree.h (TYPENAME_TYPE_FULLNAME): New macro.
jason [Sat, 28 Feb 1998 12:19:29 +0000 (12:19 +0000)]
* cp-tree.h (TYPENAME_TYPE_FULLNAME): New macro.
* parse.y (nested_name_specifier): Add 'template' case.
(explicit_template_type): New rule.
(typename_sub): Use it.
* decl.c (make_typename_type): Handle getting a template-id for NAME.
* pt.c (tsubst): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18296 138bc75d-0d04-0410-961f-82ee72b054a4