This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38929] Optimisation with inline function causes invalid behaviour
- From: "gcc at twistedsquare dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2009 17:13:27 -0000
- Subject: [Bug c/38929] Optimisation with inline function causes invalid behaviour
- References: <bug-38929-17214@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from gcc at twistedsquare dot com 2009-01-21 17:13 -------
The -fno-tree-vrp flag does stop the problem on the testcase I submitted.
However, on the full program I drew the testcase from, it only modifies the
behaviour to a different invalid problem, so it is perhaps an interaction of
optimisations.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38929