[Bug c/79482] New: _Static_assert(__builtin_constant_p(x)):

2017-02-12 Thread mocramis at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: mocramis at gmail dot com Target Milestone: --- Compiling the wollowing code with gcc -O1 main.c: = main.c = int main(int argc, char *argv[]) { int x = 0; _Static_assert(__builtin_constant_p(x) ? 1 : 2, "

[Bug c/79482] _Static_assert(__builtin_constant_p(x)):

2017-02-13 Thread mocramis at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79482 Remy NOEL changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|DUPLICATE

[Bug c/79482] _Static_assert(__builtin_constant_p(x)):

2017-02-13 Thread mocramis at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79482 --- Comment #4 from Remy NOEL --- Ha indeed, my bad. I was confused by the fact that he original problem of the linked ticket is solved (and also because the last comment targets the fix for an old release which made me though it was either solv