aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-10-01 02:20:23 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-10-01 02:20:23 +0000
commite4aaac506c6d3496ae4120b68f03886402c0428c (patch)
treeac913746423fa9a4802b72f719568c29303c4328 /clang/lib/Frontend/CompilerInvocation.cpp
parent6aada32dc48e350b39464fec3106a309e2fcf619 (diff)
downloadllvm-e4aaac506c6d3496ae4120b68f03886402c0428c.zip
llvm-e4aaac506c6d3496ae4120b68f03886402c0428c.tar.gz
llvm-e4aaac506c6d3496ae4120b68f03886402c0428c.tar.bz2
Revert r191586 and r191695. They cause crashes when building with
-relaxed-aliasing. llvm-svn: 191725
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 976ae41..58a6e25 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -344,7 +344,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
Opts.UseRegisterSizedBitfieldAccess = Args.hasArg(
OPT_fuse_register_sized_bitfield_access);
Opts.RelaxedAliasing = Args.hasArg(OPT_relaxed_aliasing);
- Opts.StructPathTBAA = !Args.hasArg(OPT_no_struct_path_tbaa);
+ Opts.StructPathTBAA = Args.hasArg(OPT_struct_path_tbaa);
Opts.DwarfDebugFlags = Args.getLastArgValue(OPT_dwarf_debug_flags);
Opts.MergeAllConstants = !Args.hasArg(OPT_fno_merge_all_constants);
Opts.NoCommon = Args.hasArg(OPT_fno_common);