This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/20369] noce_emit_move_insn emits invalid insns
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2007 16:50:53 -0000
- Subject: [Bug rtl-optimization/20369] noce_emit_move_insn emits invalid insns
- References: <bug-20369-5394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from amylaar at gcc dot gnu dot org 2007-05-17 17:50 -------
(In reply to comment #2)
> Do you still have the testcase?
>
Not as such. However, AFAICR it was triggered by a regression test
(i.e. building library or testcase).
But the issue should be clear enough without a testcase; it's explained in a
comment of the patch.
While the current code of noce_emit_move_insn has a check for recog_memoized,
It will still emit en invalid move if the move is invalid because the
destination is a paradoxical SUBREG with TRULY_NOOP_TRUNCATION being false,
and source is a REG.
--
amylaar at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-05-17 17:50:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20369