[Bug c/83222] [8 regression] Inconsistent "initializer element is not constant" error

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 30 12:57:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42752
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42752&action=edit
gcc8-pr83222.patch

Perhaps we can do something like this and in initializers try to behave more
consistently even when outside of functions.  Or in the other direction, handle
static var initializers even in functions like those outside of functions.


More information about the Gcc-bugs mailing list