This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47986] gcc.c-torture/execute/20040709-1.c fails with non-delegitimized UNSPEC
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 4 Mar 2011 11:54:51 +0000
- Subject: [Bug target/47986] gcc.c-torture/execute/20040709-1.c fails with non-delegitimized UNSPEC
- Auto-submitted: auto-generated
- References: <bug-47986-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47986
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-04 11:54:46 UTC ---
Duplicate debug insns aren't a problem, and in fact delete_trivially_dead_insns
removes the trivially dead ones. Because the register becomes dead but its
value can be still expressed by the value that was assigned to it, a debug
temporary is added holding that value.
So, if rs6000_delegitimize_address can handle this kind of expression, it
definitely should do it. The non-delegitimized UNSPEC checking note is there
exactly to catch cases that delegitimization ideally should fix (or to catch
bugs).