re PR rtl-optimization/49303 (ICE: vinsn_detach, at sel-sched-ir.c:1277 w/ -O3 on...
authorAlexander Monakov <amonakov@ispras.ru>
Wed, 8 Jun 2011 09:59:23 +0000 (13:59 +0400)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Wed, 8 Jun 2011 09:59:23 +0000 (13:59 +0400)
commit6c8e9fc9e83e3a5d28705bc5460917f62a3f5a28
treeca536f735bdbfe3960e007f1ab9a9c984da784a1
parent0bad0e237a165500108ae56d06a1f1ae91bae5fd
re PR rtl-optimization/49303 (ICE: vinsn_detach, at sel-sched-ir.c:1277 w/ -O3 on ia64 in r174558)

PR rtl-optimization/49303
* sel-sched.c (move_op): Use correct type for 'res'.  Verify that
code_motion_path_driver returned 0 or 1.
(sel_region_finish): Clear h_d_i_d.

testsuite:
* gcc.target/ia64/pr49303.c: New test.

From-SVN: r174801
gcc/ChangeLog
gcc/sel-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/ia64/pr49303.c [new file with mode: 0644]