https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103348
--- Comment #4 from Andrew Pinski ---
(In reply to jacob navia from comment #3)
> As per standard c99 fabs is a generic function.
NO, you need to include tgmath.h for generic math functions.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103348
--- Comment #3 from jacob navia ---
1) The complete program is as follows:
#include
int main(void)
{
long double ld = -2.3L;
ld = fabs(ld);
}
Compiler flags
gcc -S -c -std=c99 tafbs1.c
As per standard c99 fabs is a generic fu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103348
Andrew Pinski changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103348
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Ever confirmed|0