]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: re PR rtl-optimization/44691 (ICE: RTL check: expected code 'reg', have...
authorAlexander Monakov <amonakov@ispras.ru>
Fri, 12 Nov 2010 15:47:38 +0000 (18:47 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Fri, 12 Nov 2010 15:47:38 +0000 (18:47 +0300)
commitfaff729fffb2305822ecab440ac37f4cec55f575
treea8eebad3878f5fcb1f41e05db0ef833515f437ce
parent7dfd31947982df1369c480137f14fa2335be22d2
backport: re PR rtl-optimization/44691 (ICE: RTL check: expected code 'reg', have 'plus' in rhs_regno, at rtl.h:1050)

Backport from mainline:
2010-08-19  Andrey Belevantsev  <abel@ispras.ru>

PR rtl-optimization/44691
* sel-sched.c (count_occurrences_1): Also punt when SUBREG_REG
is not a register.

* gfortran.dg/pr44691.f: New test.

From-SVN: r166653
gcc/ChangeLog
gcc/sel-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr44691.f [new file with mode: 0644]