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

Franz Sirl <sirl at gcc dot gnu.org> changed:

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

--- Comment #3 from Franz Sirl <sirl at gcc dot gnu.org> ---
Created attachment 43650
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43650&action=edit
another testcase

On x86_64-linux, when compiled with "gcc-7 -O2 -fsanitize=address" this
testcase prints nothing. With "gcc-7 -O2 -fsanitize=address
-fsanitize=undefined" this slightly confusing message is output:

test-asan1.c:36:29: runtime error: load of address 0x000000602660 with
insufficient space for an object of type 'inttype'
0x000000602660: note: pointer points here
 0c 00 00 00  80 20 60 00 00 00 00 00  28 00 00 00 00 00 00 00  60 00 00 00 00
00 00 00  80 0c 40 00
              ^ 
test-asan1.c:36:29: runtime error: store to address 0x000000602660 with
insufficient space for an object of type 'inttype'
0x000000602660: note: pointer points here
 0c 00 00 00  80 20 60 00 00 00 00 00  28 00 00 00 00 00 00 00  60 00 00 00 00
00 00 00  80 0c 40 00
              ^

Reply via email to