[Bug c++/56438] [4.8 regression] ICE in value_dependent_expression_p, at cp/pt.c:19551

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 1 09:46:00 GMT 2014


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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
What about the following testcase:

template <int> struct A {
  void m_fn1(int p1) {
    int *a;
    while (p1 && *static_cast<int *>(static_cast<void *>(a)))
      ;
  }
};

shouldn't this compile?



More information about the Gcc-bugs mailing list