http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49988
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49988
--- Comment #3 from Jason Merrill 2011-08-06
04:38:11 UTC ---
Author: jason
Date: Sat Aug 6 04:38:08 2011
New Revision: 177500
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177500
Log:
PR c++/49988
* semantics.c (cxx_eval_array_
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49988
--- Comment #2 from Jason Merrill 2011-08-06
04:34:25 UTC ---
Author: jason
Date: Sat Aug 6 04:34:21 2011
New Revision: 177496
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177496
Log:
PR c++/49988
* semantics.c (cxx_eval_array_
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49988
Jason Merrill changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49988
--- Comment #1 from Faisal Vali 2011-08-05 13:59:55
UTC ---
Also, changing the parameter to a pointer to an array makes the code work
correctly:
struct A {
char data[3];
template
constexpr
// NOTE: now it is a pointer to an arr