This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20408] Unnecessary code generated for empty structs
- From: "chris at bubblescope dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2005 16:05:43 -0000
- Subject: [Bug c++/20408] Unnecessary code generated for empty structs
- References: <20050310154814.20408.chris@bubblescope.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From chris at bubblescope dot net 2005-03-10 16:05 -------
When you say "has no effect in final code", are you talking about the problem
you noticed, or the problem as a whole?
I find for each extra X I add to the type of foo I get a line much like:
movb %al, 28(%esp)
appearing in the assembler output, which I assume isn't necessary..
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20408