This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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)
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |