diff --git a/gcc/c-decl.c b/gcc/c-decl.c index f9860e299af..25595215f4d 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -723,6 +723,10 @@ c_decode_option (p) ; /* cpp handles this one. */ else if (!strcmp (p, "-Wno-trigraphs")) ; /* cpp handles this one. */ + else if (!strcmp (p, "-Wundef")) + ; /* cpp handles this one. */ + else if (!strcmp (p, "-Wno-undef")) + ; /* cpp handles this one. */ else if (!strcmp (p, "-Wimport")) ; /* cpp handles this one. */ else if (!strcmp (p, "-Wno-import"))