This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: CALL_EXPR should set TREE_SIDE_EFFECTS
On Tue, 2003-08-26 at 02:18, Nathan Sidwell wrote:
> Mark Mitchell wrote:
>
> >
> > I hate to ask you to go around on this yet again, but how about building
> > the node and then using "get_callee_fndecl"? (And then doing the tests
> > for const/pure?)
> >
> > I think that would get one additional case at the moment; a call through
> > a const pointer-to-function whose initializer is known. And, if
> > get_callee_fndecl gets smarter, this code would automatically do better
> > too.
> this is what I've installed - after testing
Thanks for iterating on this so many times!
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com