Re: Make regcprop check HARD_REGNO_MODE_OK

2011-07-20 Thread Jeff Law
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/20/11 07:47, Richard Sandiford wrote: > This patch makes regcprop check HARD_REGNO_MODE_OK before creating a > hard register in a different mode. It fixes a segfault in a build of > bionic on ARM. > > The missing check usually doesn't cause pro

Make regcprop check HARD_REGNO_MODE_OK

2011-07-20 Thread Richard Sandiford
This patch makes regcprop check HARD_REGNO_MODE_OK before creating a hard register in a different mode. It fixes a segfault in a build of bionic on ARM. The missing check usually doesn't cause problems. The define_insn constraints are likely to reject invalid registers for "real" insns, while de