re PR c++/3518 (default conversion to pointer-to-function is applied to soon (related...
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 5 Apr 2004 15:52:12 +0000 (15:52 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 5 Apr 2004 15:52:12 +0000 (15:52 +0000)
commit355f774decfb49bcf46ce97a6a62a5b89db5e57f
tree34dac3a2d5c01c3a2b1c8b08d3c06fb571408f8e
parent30c2010625760849692e4fb21d7166616c138bb5
re PR c++/3518 (default conversion to pointer-to-function is applied to soon (related to DR295))

cp:
PR c++/3518
* pt.c (check_cv_quals_for_unify): Ignore bogus CV quals at outer
level.
testsuite:
PR c++/3518
* g++.dg/template/unify7.C: New.

From-SVN: r80432
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/unify7.C [new file with mode: 0644]