https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91980
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91980
--- Comment #3 from Keith Thompson ---
Not surprisingly, when I modify my "complex-bug.c" changing
#include
to
#include "complex.h"
and add a "complex.h file containing only
#define complex _Complex
the problem goes away (i.e., the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91980
Andrew Pinski changed:
What|Removed |Added
Depends on||71613
--- Comment #2 from Andrew Pinski
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91980
--- Comment #1 from Andrew Pinski ---
I think the problem is the define for complex is in a system header which
causes the error not to happen due to -Wno-system-headers being the default.
This is a known issue in newer versions of GCC. There