This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fobey-inline (was Re: gcc and inlining)
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: echristo at redhat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 13 Mar 03 21:18:45 EST
- Subject: Re: -fobey-inline (was Re: gcc and inlining)
How about C aliasing issues? Those are carefully outlined in the
standard, and yet we've had perhaps thousands of emails on that
subject.
There we're making an explicit tradeoff: using aliasing information allows
much better code generation but indeed will break certain types of
badly-written code. But we warn the user of this possibility and support
a -fno-strict-aliasing if this is a concern of the user. But the point is
that the breakage is not gratuitous: there's a good reason for it.