On 03/31/2011 09:01 AM, Bernd Schmidt wrote: > I have a dim memory of the problem being that something didn't check the > predicate. Sure enough, with the patch below applied to a 4.3 tree, I get > > /local/src/egcs/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/execute/20020226-1.c:43: > internal compiler error: in gen_rotrsi3, at config/bfin/bfin.md:1632 > Please submit a full bug report, > with preprocessed source if appropriate. > See <http://gcc.gnu.org/bugs.html> for instructions. > compiler exited with status 1 > output is: > (reg:SI 193) > > Stuart, try to identify whether it still happens. If so, a better fix > would be to change the expanders to honour the predicate. >
That's true; before Richard Sandiford's recent reorg, we would assume that any value that didn't match could be pulled into a register and we wouldn't re-verify. But that should be fixed now. r~