]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/48936 (sizeof template parm not considered constant expression)
authorJason Merrill <jason@redhat.com>
Mon, 9 May 2011 18:00:26 +0000 (14:00 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 9 May 2011 18:00:26 +0000 (14:00 -0400)
commitf5a366168cbb63ae8cdbcd3f125c59a09f82ba16
tree03cd730d163b947b28c66c8192193674191aaa37
parent261904bd7cbf65c13fbf488d47ea951ec7a5ea12
re PR c++/48936 (sizeof template parm not considered constant expression)

PR c++/48936
* decl2.c (mark_used): Instantiate constant variables even
in unevaluated context.

From-SVN: r173584
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/nontype23.C [new file with mode: 0644]