diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-10-01 02:20:23 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-10-01 02:20:23 +0000 |
commit | e4aaac506c6d3496ae4120b68f03886402c0428c (patch) | |
tree | ac913746423fa9a4802b72f719568c29303c4328 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6aada32dc48e350b39464fec3106a309e2fcf619 (diff) | |
download | llvm-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.cpp | 2 |
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); |