]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/8572 (ICE with external definition of conversion operator to internal class...
authorNathan Sidwell <nathan@codesourcery.com>
Sun, 22 Dec 2002 21:32:28 +0000 (21:32 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Sun, 22 Dec 2002 21:32:28 +0000 (21:32 +0000)
commit081cebb27adaef4511307a2a6d4413fb65be48c7
treecf5e2f1f1a84eaecaddd24a649a00292285af255
parent96e13905ad6eb836fc85bc564f31ee8a055cd07e
re PR c++/8572 (ICE with external definition of conversion operator to internal class within template class)

cp:
PR c++/8572
* cp-tree.h (grokoptypename): Add SCOPE parameter.
* decl2.c (grokoptypename): Add SCOPE parameter. tsubst the type
if in a template scope.
* parse.y (unoperator): Return the scope.
(operator_name): Adjust grokoptypename call.
testsuite:
* g++.dg/parse/conv_op1.C: New test.

From-SVN: r60416
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/parse.y
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/conv_op1.C [new file with mode: 0644]