https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87857
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87857
--- Comment #5 from Stas Sergeev ---
(In reply to Jakub Jelinek from comment #4)
> The reason you get an error is that the expression isn't constant, because
> it needs to emit the runtime diagnostics. Just fix the bug and get away
> with that?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87857
--- Comment #4 from Jakub Jelinek ---
The reason you get an error is that the expression isn't constant, because it
needs to emit the runtime diagnostics. Just fix the bug and get away with
that? 1U<<31 will do.