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: "nickc at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Nov 2007 14:05:39 -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 #12 from nickc at redhat dot com 2007-11-01 14:05 -------
Hi Guys,
I have uploaded a patch for a possible workaround for this problem. It adds
a new param (max-partial-antic-length) which with its default value will stop
the tree-pre optimization from eating up all the memory on the host system. It
also adds a testcase for the PR and documents the new param. Tested without
regressions on an x86_64-linux-gnu toolchain.
What do you think, should this patch be applied ?
Cheers
Nick
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32575