This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Don't create an INTEGER_CST for aggregates (empty structs)
| Since the classes in C++ always have a size greater than zero, we have
| to pass them
| instead of not passing them (well if we don't it would cause an ABI
| change).
There is no way (C++-wise and ABI-wise) you tell when a value of empty
class has been loaded in a register or not. An empty class does not
contain any data: Everything is in the type -- which is a purely
compile-time construct.
-- Gaby