This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42719] "-fcompare-debug failure" with "-O2 -ftracer"
- From: "matz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2010 16:17:49 -0000
- Subject: [Bug tree-optimization/42719] "-fcompare-debug failure" with "-O2 -ftracer"
- References: <bug-42719-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from matz at gcc dot gnu dot org 2010-01-14 16:17 -------
I don't think the big hammer is necessary. trivially_conflicts_p only is a
heuristic predicate influencing how other code is emitted. That other code
needs to handle them already, otherwise more transformations would be broken.
The worst that can happen by ignoring debug stmts in the predicate is that
the transformation done later leads to changes or invalidation of those debug
statements. I think that's exactly what we want.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42719