https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113727

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sjames at gcc dot gnu.org

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
With UBSAN, I get:
```
$ gcc-13 -ggdb3 -fsanitize=address,undefined /tmp/PR113727.c -o /tmp/PR113727
$ /tmp/PR113727
runData/keep/in.9954.c:416:134: runtime error: store to misaligned address
0x55a497188a23 for type 'uint32_t', which requires 4 byte alignment
0x55a497188a23: note: pointer points here
 00  a5 07 00 83 88 64 91 23  2a 00 28 bc 14 00 50 fe  ff 15 00 00 00 00 00 00 
00 00 00 00 00 00 00
              ^
    #0 0x55a49716fda5 in func_46 runData/keep/in.9954.c:416
    #1 0x55a49716c2fb in func_19 runData/keep/in.9954.c:352
    #2 0x55a49716661e in func_1 runData/keep/in.9954.c:153
    #3 0x55a49717dc21 in main runData/keep/in.9954.c:838
    #4 0x7f9632452e69  (/usr/lib64/libc.so.6+0x25e69)
    #5 0x7f9632452f1c in __libc_start_main (/usr/lib64/libc.so.6+0x25f1c)
    #6 0x55a4971632e0 in _start (/tmp/PR113727+0x172e0)
```

Reply via email to