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

2024-01-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222 Andrew Pinski changed: What|Removed |Added CC||bugdal at aerifal dot cx --- Comment #6

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

2017-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2017-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Nov 30 23:43:10 2017 New Revision: 255285 URL: https://gcc.gnu.org/viewcvs?rev=255285=gcc=rev Log: PR c/83222 * c-tree.h (decl_constant_value_1): Declare. *

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

2017-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222 --- Comment #3 from Jakub Jelinek --- Created attachment 42752 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42752=edit gcc8-pr83222.patch Perhaps we can do something like this and in initializers try to behave more consistently even

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

2017-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222 --- Comment #2 from Jakub Jelinek --- Well, even GCC 7 and older were doing it, but only with -O1 and above.

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

2017-11-29 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222 Ian Lance Taylor changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

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

2017-11-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83222 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid Target Milestone|---