I am using g++4.8.0, which doesn\'t contain earlier constexpr bug. Thus below code works fine:
constexpr int size() { return 5; }
int array[size
Apparently it's not even a bug, because its status is RESOLVED INVALID, which means that the people behind GCC and that bugzilla, after reviewing the problem, don't think that this is a GCC bug.
I remind you on that page because there is also an answer for this behaviour in one of the related posts.