https://bugs.llvm.org/show_bug.cgi?id=40607

maic <mai...@live.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |mai...@live.de

--- Comment #2 from maic <mai...@live.de> ---
Fixed between clang-9 and clang-11:


$ clang++-11 -std=c++11 -O2 -fsanitize=object-size ./2.cpp  && ./a.out          
$ clang++-9 -std=c++11 -O2 -fsanitize=object-size ./2.cpp  && ./a.out
2.cpp:9:8: runtime error: constructor call on address 0x7ffc9fa7f7a8 with
insufficient space for an object of type 'D'
0x7ffc9fa7f7a8: note: pointer points here
 00 00 00 00  c1 11 00 00 a0 04 00 00  00 00 00 00 00 00 00 00  d0 3f e5 2d 5b
7f 00 00  02 00 00 00
              ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to