This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] libstdc++/12854
On Mon, 2004-05-17 at 09:52, Benjamin Kosnik wrote:
> I was under the impression that tree-ssa would scalarize even C++
> objects with 2-8 members. I've asked rth for clarification, but maybe
> jason would know this too.
>
Currently we only scalarize up to MAX_FIELDS_FOR_SRA fields (5, it
should be a --param). The criteria used to decide whether or not to
scalarize is in tree-sra.c:can_be_scalarized_p. Essentially, we will
not scalarize: variables that must live in memory, volatiles, structures
that have other non-aggregates or complex types (to be fixed),
structures with bitfields (to be fixed).
Diego.