--- Comment #7 from schwab at gcc dot gnu dot org 2008-07-30 18:24 ---
Subject: Bug 36929
Author: schwab
Date: Wed Jul 30 18:23:14 2008
New Revision: 138334
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138334
Log:
PR rtl-optimization/36929
* dse.c (replace_inc_dec): Use emit_i
--- Comment #6 from schwab at suse dot de 2008-07-30 18:24 ---
Fixed in 4.3 branch and trunk.
--
schwab at suse dot de changed:
What|Removed |Added
Status|NEW
--- Comment #5 from schwab at gcc dot gnu dot org 2008-07-30 18:24 ---
Subject: Bug 36929
Author: schwab
Date: Wed Jul 30 18:22:50 2008
New Revision: 138333
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138333
Log:
PR rtl-optimization/36929
* dse.c (replace_inc_dec): Use emit_i
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-07-26 01:05 ---
emit_insn_before might work too, I don't know if the location marker here is
important or not ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36929
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-07-26 01:03 ---
I think s/add_insn_before/emit_insn_before_noloc will work.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
-
--- 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);