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



Jakub Jelinek <jakub at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |NEW

   Last reconfirmed|                            |2012-12-14

                 CC|                            |jakub at gcc dot gnu.org,

                   |                            |jason at gcc dot gnu.org

     Ever Confirmed|0                           |1



--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-12-14 
10:56:45 UTC ---

Even more simplified and turned (hopefully) into valid testcase:



typedef __SIZE_TYPE__ size_t;

template <size_t T, size_t U>

struct A;



template <typename T> struct B

{

  static A <sizeof (T), 0> x;

};  



template <typename T>

A <sizeof (T), 0> B <T>::x;



As expected, started with

http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192141

I knew why I was initially proposing the far less risky hack.

Reply via email to