This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36043] gcc reads 8 bytes for a struct of size 6 which leads to sigsegv
- From: "matz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Apr 2008 15:12:26 -0000
- Subject: [Bug target/36043] gcc reads 8 bytes for a struct of size 6 which leads to sigsegv
- References: <bug-36043-5874@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from matz at gcc dot gnu dot org 2008-04-25 15:12 -------
That's the layout of 'c', a pointer variable. We don't see the layout
of the record_type here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36043