This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41440] SEG FAULT in CSE.C caused by bad RTL expansion
- 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: 27 Sep 2009 21:19:20 -0000
- Subject: [Bug c/41440] SEG FAULT in CSE.C caused by bad RTL expansion
- References: <bug-41440-16013@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from matz at gcc dot gnu dot org 2009-09-27 21:19 -------
As per private communication, you can't do it this way. You'd loose the
effect of the inserted insn, as the jump jumps over it. You need to search
backward from the jump to the cc0 setter and insert it in front of that one.
Look at insert_insn_end_bb_new for an example.
--
matz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41440