This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] 2 patches for PR tree-optimization/34648
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 17 Jan 2008 16:42:44 -0500
- Subject: Re: [patch] 2 patches for PR tree-optimization/34648
- References: <478F6288.1010009@redhat.com>
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