emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check if check_mode is...
authorJakub Jelinek <jakub@redhat.com>
Wed, 25 Apr 2001 09:57:00 +0000 (11:57 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 25 Apr 2001 09:57:00 +0000 (11:57 +0200)
commit0607953c7d37d3bacac58b2db4c25da953d1c4ce
treed07b0d807167c070d72f65d9c9b0db8a7d623142
parente99af66bbabbba3df63836c708db5124e48a7af2
emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check if check_mode is non-zero.

* emit-rtl.c (subreg_hard_regno): Only do HARD_REGNO_MODE_OK check
if check_mode is non-zero.

* gcc.dg/20010423-1.c: New test.

From-SVN: r41537
gcc/ChangeLog
gcc/emit-rtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20010423-1.c [new file with mode: 0644]