diff options
| author | Renato Golin <renato.golin@linaro.org> | 2013-08-28 23:56:07 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2013-08-28 23:56:07 +0000 |
| commit | b69f9e0ab44e67ae4a36ab28e4e185078f2346ee (patch) | |
| tree | 2ac5e3103d04712d21103c75f6aba44739e472a9 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 9d57b8dea3b139dc2e2976ffccef50c74ac03873 (diff) | |
| download | clang-b69f9e0ab44e67ae4a36ab28e4e185078f2346ee.tar.gz clang-b69f9e0ab44e67ae4a36ab28e4e185078f2346ee.tar.bz2 clang-b69f9e0ab44e67ae4a36ab28e4e185078f2346ee.tar.xz | |
use the last passed -munaligned-access / -mno-unaligned-access
Passing inconsistent munaligned-access / mno-unaligned-access
flags, intentionally resulted in a warning and the flag
no-unaligned-access being used.
Gcc does, at least in practice, use the last flag in such a
case. This patch updates clang behaviour accordingly; use the
last flag or base alignment behaviour on the target (which
llvm will do if no flag is explicitly passed)
Patch by Jeroen Hofstee.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
