Re: [PATCH] sel-sched: forbid differing modes in substitution (PR 50205)

2011-10-14 Thread Vladimir Makarov
On 09/07/2011 05:38 AM, Alexander Monakov wrote: Hello, The patch repairs a problem when we attempt to substitute an insn like (... (cmp (mem (reg:DI ax)) (reg:SI ax))) (note different modes) through (set (reg:DI ax) (reg:DI dx)), which leaves the (reg:SI ax) part of the comparison intact, causi

Re: [PATCH] sel-sched: forbid differing modes in substitution (PR 50205)

2011-10-10 Thread Alexander Monakov
Ping? On Wed, 7 Sep 2011, Alexander Monakov wrote: > Hello, > > The patch repairs a problem when we attempt to substitute an insn like > (... (cmp (mem (reg:DI ax)) (reg:SI ax))) (note different modes) through > (set (reg:DI ax) (reg:DI dx)), which leaves the (reg:SI ax) part of the > comparison

[PATCH] sel-sched: forbid differing modes in substitution (PR 50205)

2011-09-07 Thread Alexander Monakov
Hello, The patch repairs a problem when we attempt to substitute an insn like (... (cmp (mem (reg:DI ax)) (reg:SI ax))) (note different modes) through (set (reg:DI ax) (reg:DI dx)), which leaves the (reg:SI ax) part of the comparison intact, causing an ICE later on when we notice that the dependen