re PR c++/34774 (templates, enumerations, overflow, ice)
authorJason Merrill <jason@redhat.com>
Wed, 13 Feb 2008 07:08:11 +0000 (02:08 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 13 Feb 2008 07:08:11 +0000 (02:08 -0500)
commit3387721b8f006847d14827b574d0a5e933247c14
tree727621e5833e3c60442e3e83e7814457964bc4e2
parent156d614f906a2a88588408b945668e6190945199
re PR c++/34774 (templates, enumerations, overflow, ice)

        PR c++/34774
        * pt.c (value_dependent_expression_p): Look into DECL_INITIAL
        of enumerators, too.

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