diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-05-11 23:11:21 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-05-11 23:11:21 +0000 |
commit | 31ed552f8f6cf69ac6bc93bc497815b0d9cac0a4 (patch) | |
tree | f016016fca9e331015b3dc973cf8a0c9561c0d6a /utils/builtin-defines.c | |
parent | 4508524a6c7f95155f8aec0d2af4cae59c556ae4 (diff) |
Tweak this non-default test so it still works w/ x86 feature support.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/builtin-defines.c')
-rw-r--r-- | utils/builtin-defines.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/utils/builtin-defines.c b/utils/builtin-defines.c index e8d3356277..9bbe5be250 100644 --- a/utils/builtin-defines.c +++ b/utils/builtin-defines.c @@ -17,7 +17,7 @@ RUN: else \ 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 @@ RUN: done; #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__ |