This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/78559] [7 Regression] wrong code due to tree if-conversion?
- From: "bernds at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jan 2017 14:40:22 +0000
- Subject: [Bug rtl-optimization/78559] [7 Regression] wrong code due to tree if-conversion?
- Auto-submitted: auto-generated
- References: <bug-78559-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78559
--- Comment #11 from Bernd Schmidt <bernds at gcc dot gnu.org> ---
Looks like other_insn is only used for cases where we rewrite cc sets in this
way, so Bin's patch does look reasonably narrow. We could maybe record the CC
reg being changed and only discard reg notes, but in my testing I've not been
able to produce code generation differences except for the testcase. Let's wait
for Segher's testing, but I think the patch is OK.