This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why alias set 0 ? (Was: Long term code compactness regression)
- To: jh at suse dot cz
- Subject: Re: Why alias set 0 ? (Was: Long term code compactness regression)
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Tue, 30 Oct 01 10:10:29 EST
- Cc: gcc at gcc dot gnu dot org
I am just looking at the attached testcase and first thing that looks
odd to me is that there are memory references of alias set zero to the
'n' field of RealMatrix structure:
2.95 version appears to have similar problem, but why?
Richard, do you have any idea?
I said why a few days ago: It's specific to C++ and is in:
static HOST_WIDE_INT
cxx_get_alias_set (t)
tree t;
{
/* It's not yet safe to use alias sets for classes in C++ because
the TYPE_FIELDs list for a class doesn't mention base classes. */
if (AGGREGATE_TYPE_P (t))
return 0;
return c_common_get_alias_set (t);
}