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).