[Bug c++/11154] [3.3/3.4 regression] spurious ambiguity report for template class specialization

janis187 at us dot ibm dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 24 20:27:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11154



------- Additional Comments From janis187 at us dot ibm dot com  2003-06-24 19:27 -------
The regression in 11154 was introduced or exposed by this patch:

--- gcc/gcc/cp/ChangeLog ---

2002-05-15  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>

        PR c++/6620
        * pt.c (verify_class_unification): Don't check if PARM is template
        parameter dependent.  Simplify.
        (unify) [TEMPLATE_PARM_INDEX]: Handle when ARG is a template
        parameter dependent expression.

The regression hunt used the submitter's test case on i686-pc-linux-gnu
compiled with no options.



More information about the Gcc-bugs mailing list