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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-20 
17:11:03 UTC ---
This reproduces it:

template<unsigned x>
struct test {
  static const unsigned a_
  = x ? 10 / x : 10;
};

int i = test<0>::a_;

but next time please just provide code to reproduce the problem instead of
wasting three people's time (and however many more read the report and didn't
comment)

Reply via email to