[llvm-commits] [llvm-gcc-4.2] r57471 - /llvm-gcc-4.2/trunk/gcc/toplev.c
Devang Patel
dpatel at apple.com
Mon Oct 13 17:33:11 PDT 2008
Author: dpatel
Date: Mon Oct 13 19:33:10 2008
New Revision: 57471
URL: http://llvm.org/viewvc/llvm-project?rev=57471&view=rev
Log:
Disable -dM warning when -E is not used on the command line.
Modified:
llvm-gcc-4.2/trunk/gcc/toplev.c
Modified: llvm-gcc-4.2/trunk/gcc/toplev.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/toplev.c?rev=57471&r1=57470&r2=57471&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/toplev.c (original)
+++ llvm-gcc-4.2/trunk/gcc/toplev.c Mon Oct 13 19:33:10 2008
@@ -1224,6 +1224,12 @@
setup_core_dumping();
break;
+ /* LLVM LOCAL begin */
+ case 'M':
+ /* Ignore -dM. This is overloaded for rtl pass that
+ does not exist in llvm-gcc. */
+ break;
+ /* LLVM LOCAL end */
case 'a':
default:
if (!enable_rtl_dump_file (c))
More information about the llvm-commits
mailing list