This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Nov 2007 15:05:15 -0000
- Subject: [Bug tree-optimization/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite
- References: <bug-32575-14787@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from rguenth at gcc dot gnu dot org 2007-11-01 15:05 -------
Indeed it does. But while this is a workaround that works, the problem is in
excessive phi translation which we could stop here (untested! just a wild
guess!):
static bool
compute_partial_antic_aux (basic_block block,
bool block_has_abnormal_pred_edge)
{
...
if (phi_nodes (bprime))
{
and limit the # of PHI args seen here instead?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32575