[cfe-commits] r71494 - /cfe/trunk/utils/builtin-defines.c

Daniel Dunbar daniel at zuster.org
Mon May 11 16:11:21 PDT 2009


Author: ddunbar
Date: Mon May 11 18:11:21 2009
New Revision: 71494

URL: http://llvm.org/viewvc/llvm-project?rev=71494&view=rev
Log:
Tweak this non-default test so it still works w/ x86 feature support.

Modified:
    cfe/trunk/utils/builtin-defines.c

Modified: cfe/trunk/utils/builtin-defines.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/builtin-defines.c?rev=71494&r1=71493&r2=71494&view=diff

==============================================================================
--- cfe/trunk/utils/builtin-defines.c (original)
+++ cfe/trunk/utils/builtin-defines.c Mon May 11 18:11:21 2009
@@ -17,7 +17,7 @@
 RUN:             cc_prog=gcc; \
 RUN:             output=%t1; \
 RUN:           fi; \
-RUN:           $cc_prog $arch $lang $opts -dM -E -x $input %s | sort > $output; \
+RUN:           $cc_prog $arch $lang $opts -march=core2 -dM -E -x $input %s | sort > $output; \
 RUN:          done; \
 RUN:          if (! diff %t0 %t1); then exit 1; fi; \
 RUN:       done; \
@@ -37,6 +37,11 @@
 #endif
 
 /* Undefine things we don't expect to match. */
+#undef __core2
+#undef __core2__
+#undef __SSSE3__
+
+/* Undefine things we don't expect to match. */
 #undef __DEC_EVAL_METHOD__
 #undef __INT16_TYPE__
 #undef __INT32_TYPE__





More information about the cfe-commits mailing list