[Bug sanitizer/69508] Undefined Behavior Sanitizer __ubsan_handle_load_invalid_value reports invalid load with wrong value
chris.bainbridge at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 27 10:27:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69508
Chris Bainbridge <chris.bainbridge at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Chris Bainbridge <chris.bainbridge at gmail dot com> ---
Thanks for the hints. Jakub was right - after casting with "*(char *)&" the
value is indeed 2.
Marking this bug report as invalid.
More information about the Gcc-bugs
mailing list