------- Comment #2 from schwab at suse dot de  2008-07-25 21:33 -------
The bug is in dse.c:replace_inc_dec:

        add_insn_before (data->insn, 
                         gen_rtx_SET (Pmode, r1, 
                                      gen_rtx_PLUS (Pmode, r1, c)),
                         NULL);

This does not make any sense: the rtx to be added must satisfy INSN_P, LABEL_P,
BARRIER_P or NOTE_P, and the first two arguments are swapped.


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zadeck at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
          Component|target                      |rtl-optimization
     Ever Confirmed|0                           |1
 GCC target triplet|m68k-unknown-linux-gnu      |m68k-*-*
   Last reconfirmed|0000-00-00 00:00:00         |2008-07-25 21:33:41
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36929

Reply via email to