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

Roman Lebedev <lebedev...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 CC|                            |lebedev...@gmail.com

--- Comment #1 from Roman Lebedev <lebedev...@gmail.com> ---
This looks like UB to me. https://godbolt.org/z/5M4eP8h36

/app/example.cpp:28:18: runtime error: reference binding to misaligned address
0x0000000001e2 for type 'const Name', which requires 8 byte alignment
0x0000000001e2: note: pointer points here
<memory cannot be printed>
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /app/example.cpp:28:18
in

-- 
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