This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] 2 patches for PR tree-optimization/34648


> Right.  This is also what doc/extend.texi says.  It explicitly mentiones
> that such calls are subject of common subexpression elimination (which
> would also be not possible if the functions could throw).

Why?  I think it's a matter of convention.  Unless I'm mistaken, pure 
functions in Ada can throw and can be CSE'd.

> I think both patches are ok, but if anyone is concerned we can leave the
> changing of tree_could_throw_p to stage1.

Yes, I don't think now is the right time to make such a non-trivial change.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]