commit | f23e8d2b928b0baa361dbf34df10862a5bcd01c4 | [log] [tgz] |
---|---|---|
author | Dylan Noblesmith <nobled@dreamwidth.org> | Wed Aug 08 16:09:15 2012 +0000 |
committer | Dylan Noblesmith <nobled@dreamwidth.org> | Wed Aug 08 16:09:15 2012 +0000 |
tree | c130be7fecb72e8ca057446f098fbda295db3dac | |
parent | 5aeda88995fd98d55f3c565a108196e2b0df16ed [diff] |
Preprocessor: fix __OPTIMIZE_SIZE__ and -Oz Add some tests for __OPTIMIZE_SIZE__ and __NO_INLINE__, removing the superfluous copies in the target-specific tests, since it's target-independent. This uncovered a bug in the handling of -Oz: it would attempt to store the value 2 in the 1-bit bitfield OptimizeSize, leaving a value of 0 and never defining __OPTIMIZE_SIZE__. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161495 91177308-0d34-0410-b5e6-96231b3b80d8