[Bug c/96420] -Wsign-extensions warnings are generated from system header macros
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Aug 2 22:05:42 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96420
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Minimized standalone testcase:
# 1 "foo.c" 1
# 1 "foo.h" 1
# 1 "foo.h" 3
#define C(x) (0u+(x))
# 2 "foo.c" 2
unsigned f(int x)
{
return C(x);
}
More information about the Gcc-bugs
mailing list