re PR rtl-optimization/80357 (ICE in model_update_limit_points_in_group, at haifa...
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 18 Apr 2017 18:49:19 +0000 (18:49 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 18 Apr 2017 18:49:19 +0000 (12:49 -0600)
commitf380f6082268c9e88fe635b198d9e6e735f07c5f
tree86328766c42bef50f00c651acba10464363486b4
parent7754ee35771c049bf48b1bf8d8da4c5d19209866
re PR rtl-optimization/80357 (ICE in model_update_limit_points_in_group, at haifa-sched.c:1982 on powerpc64le-linux-gnu)

gcc/
PR rtl-optimization/80357
* haifa-sched.c (tmp_bitmap): New variable.
(model_recompute): Handle duplicate use records.
(alloc_global_sched_pressure_data): Initialize tmp_bitmap.
(free_global_sched_pressure_data): Free it.

gcc/testsuite/
PR rtl-optimization/80357
* gcc.c-torture/compile/pr80357.c: New test.

From-SVN: r246980
gcc/ChangeLog
gcc/haifa-sched.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr80357.c [new file with mode: 0644]