]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/9259 (Calling a non-qualified member function within a sizeof() expression...
authorGiovanni Bajo <giovannibajo@gcc.gnu.org>
Thu, 15 Jan 2004 23:41:41 +0000 (23:41 +0000)
committerGiovanni Bajo <giovannibajo@gcc.gnu.org>
Thu, 15 Jan 2004 23:41:41 +0000 (23:41 +0000)
commit21b34b9c09fe1e62446820345b82ac0cabe284c3
treedf4bcaad3755d173ff73028d52742080a8f7f6ab
parentc0f4b5e40e0e0e5ced7ad19213a96af9cda0ae83
re PR c++/9259 (Calling a non-qualified member function within a sizeof() expression leads to "invalid use of undefined type")

PR c++/9259
* typeck.c (build_class_member_access_expr): Allow to access members
of the currently open class.
(finish_class_member_access_expr): Likewise.

From-SVN: r75948
gcc/cp/ChangeLog
gcc/cp/typeck.c