This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: type based aliasing again
- To: Joe Buck <jbuck at synopsys dot com>
- Subject: Re: type based aliasing again
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 12 Sep 1999 18:25:26 -0600
- cc: mark at codesourcery dot com, gcc at gcc dot gnu dot org, rms at gnu dot org
- Reply-To: law at cygnus dot com
In message <199909091748.KAA14096@atrus.synopsys.com>you write:
> I think we're going to need to try out some patches so that we can
> do some experimentation. How many false triggers would we get if
> we followed my original naive approach (perhaps using Mark's
> alterative B modification: issue the warning but proceed using
> the ANSI rules)?
Yes. And I think it's important that to get good results for us to use the
code which ties alias analysis into the gcse pass. Otherwise we won't be
exercising the most likely cause of getting the false positives.
> I don't think it's appropriate for us to throw up our hands and say
> the problem is too hard. There's a lot of code out there that breaks
> the rules, and users will need at least some help finding it.
> Otherwise people will just start putting -fno-strict-aliasing
> in all their Makefiles, and Mark's work will not benefit users.
I'm not suggesting we give up, only that the problem is not as simple as
some people seem to think.
jeff