https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64344
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 34297 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34297&action=edit gcc5-pr64344.patch Untested fix, but this is getting way too ugly. Furthermore, e.g. void bar (void) { static const int a = 0.5; static const int b = 1e234; } still fails with C. Wonder what was the reason to instrument it so early, supposedly to not miss conversions optimized away during folding, right?