https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90326
Alex Smith changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90326
--- Comment #3 from Alex Smith ---
Still reproduces on 9.1.1-1.fc30.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90326
--- Comment #2 from Alex Smith ---
It still repros for me on 9.0.1-0.16.fc31.
Slightly reduced test case:
$ cat test.h
#define TEST 1
$ cat test.cpp
#include
static_assert(__FLT_MAX__ > 0);
int main() { return 0; }
$ g++ -o test test.cpp -incl
Priority: P3
Component: pch
Assignee: unassigned at gcc dot gnu.org
Reporter: asmith at feralinteractive dot com
Target Milestone: ---
With Fedora 30's GCC 9.0.1 (gcc (GCC) 9.0.1 20190312 (Red Hat 9.0.1-0.10)),
including any precompiled header will result in FLT_MAX