This is the mail archive of the
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:
/* 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 c_common_get_alias_set (t);