ira.c: Fix ICE in ira-color [PR97092]
authorAndrea Corallo <andrea.corallo@arm.com>
Wed, 9 Dec 2020 16:59:12 +0000 (17:59 +0100)
committerAndrea Corallo <andrea.corallo@arm.com>
Fri, 11 Dec 2020 09:36:43 +0000 (10:36 +0100)
commit499651e43854ea65303eb55324263c25256c9735
tree050bf9435bbea5b4c35d15262ccc11c56a23f87d
parentfa4a8b6463e0dbc2a072fca835d28ae7a57849d5
ira.c: Fix ICE in ira-color [PR97092]

gcc/ChangeLog

2020-12-10  Andrea Corallo  <andrea.corallo@arm.com>

PR rtl-optimization/97092
* ira-color.c (update_costs_from_allocno): Do not carry over mode
between subsequent iterations.

gcc/testsuite/ChangeLog

2020-12-10  Andrea Corallo  <andrea.corallo@arm.com>

* gcc.target/aarch64/sve/pr97092.c: New test.
gcc/ira-color.c
gcc/testsuite/gcc.target/aarch64/sve/pr97092.c [new file with mode: 0644]