[Bug c++/20408] Unnecessary code generated for empty structs

chris at bubblescope dot net gcc-bugzilla@gcc.gnu.org
Thu Mar 10 16:06:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list