[Bug c/91980] No diagnostic for type "complex"

2020-01-21 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91980 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/91980] No diagnostic for type "complex"

2019-10-03 Thread Keith.S.Thompson at gmail dot com
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

[Bug c/91980] No diagnostic for type "complex"

2019-10-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91980 Andrew Pinski changed: What|Removed |Added Depends on||71613 --- Comment #2 from Andrew Pinski

[Bug c/91980] No diagnostic for type "complex"

2019-10-02 Thread pinskia at gcc dot gnu.org
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