https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127230
Bug ID: 127230
Summary: float.h and cfloat missing INFINITY
Product: gcc
Version: 17.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: luigighiron at gmail dot com
Target Milestone: ---
The following code is incorrectly rejected by GCC:
#include<cfloat>
int main(){
INFINITY;
}
https://godbolt.org/z/Gh9scqTn9
See also PR69462 which was about DECIMAL_DIG and FLT_EVAL_METHOD.
