[llvm-bugs] [Bug 17407] executable behaves differently with -O0 and -O1 (and higher)
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Tue Jul  2 15:04:06 PDT 2019
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=17407
Reid Kleckner <rnk at google.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rnk at google.com
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
--- Comment #5 from Reid Kleckner <rnk at google.com> ---
This works today on Windows in both mingw and msvc environments:
$ clang++ --target=x86_64-windows-gnu clang_reproduce_issue.cpp -o t.exe &&
./t.exe
value() throwing
printing this
making exception
GOOD - thrown Actual value [print()] did not match [zzz]
$ clang++ --target=x86_64-windows-msvc clang_reproduce_issue.cpp -o t.exe &&
./t.exe
printing this
making exception
GOOD - thrown Actual value [print()] did not match [zzz]
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190702/9bb0326d/attachment.html>
    
    
More information about the llvm-bugs
mailing list