]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Do not give a warning for -dD, -dI, or -dM
authorMichael Meissner <meissner@cygnus.com>
Mon, 21 Dec 1998 14:42:07 +0000 (14:42 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Mon, 21 Dec 1998 14:42:07 +0000 (14:42 +0000)
From-SVN: r24390

gcc/ChangeLog
gcc/toplev.c

index 9713f2fc6ad1cc97975d075ab4f73b7290ec2c07..312344c707d17c71f1f79b635ce1dcde64dd9368 100644 (file)
@@ -1,3 +1,8 @@
+Mon Dec 21 17:39:38 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * toplev.c (main): Don't emit any warnings when using -dD, -dM, or
+       -dI, which are handled by the preprocessor.
+
 Sun Dec 20 16:13:44 1998  John F. Carr  <jfc@mit.edu>
 
        * configure.in: Handle Digital UNIX 5.x the same as 4.x.
index 5abb8821f199a568bde35ef37e27fc8241d522a9..9f7a7756f011fc5e094ca4bcc260ddbb06e953c5 100644 (file)
@@ -4786,6 +4786,10 @@ main (argc, argv)
                  case 'x':
                    rtl_dump_and_exit = 1;
                    break;
+                 case 'D':     /* these are handled by the preprocessor */
+                 case 'I':
+                 case 'M':
+                   break;
                  default:
                    warning ("unrecognised gcc debugging option: %c", p[-1]);
                    break;