[Bug target/36043] gcc reads 8 bytes for a struct of size 6 which leads to sigsegv
a dot heider at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 15 21:54:00 GMT 2009
------- Comment #13 from a dot heider at gmail dot com 2009-09-15 21:54 -------
Still present on a recent GCC snapshot:
Johannes' Code compiled with "(Ubuntu 20090912-1ubuntu2) 4.5.0 20090912
(experimental) [trunk revision 151650]" and -O0 -DTEST_SIZE=5:
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq (%rax), %rdi
call bar
--
a dot heider at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |a dot heider at gmail dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36043
More information about the Gcc-bugs
mailing list