[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


--- 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

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