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


Andrew MacLeod wrote:
As mentioned in the body of the PR, there are really two problems. At issue is a constant function when -fexceptions is enabled.

1 - SCCVN and PRE do not agree on whether you can regenerate an expression which may throw.
2 - tree_could_throw_p() currently returns TRUE for CONST and PURE functions.


In any case, both patches have been tested individually as well as together. Bootstraps on x86_64-linux-gnu and causes no new regressions in the testsuite.


The testcase and patch #1 have been checked in as revision 131610.


Andrew


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