http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49298

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-06 
20:07:29 UTC ---
Author: jason
Date: Mon Jun  6 20:07:26 2011
New Revision: 174722

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174722
Log:
    PR c++/49298
    * semantics.c (potential_constant_expression_1): Handle FIELD_DECL.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/regress/ptrmem1.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/semantics.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog

Reply via email to