diff options
author | Vladimir N. Makarov <vmakarov@redhat.com> | 2021-12-02 08:29:45 -0500 |
---|---|---|
committer | Vladimir N. Makarov <vmakarov@redhat.com> | 2021-12-02 08:51:53 -0500 |
commit | d47393d0b4d0d498795c4ae1353e6c156c1c4500 (patch) | |
tree | 2ed7bf96c76b5b350f3edce0296b6f3ee5f534fa /gcc/ada | |
parent | 7d6c20c06ce4e5d595245af503b045c2032c02f7 (diff) | |
download | gcc-d47393d0b4d0d498795c4ae1353e6c156c1c4500.zip gcc-d47393d0b4d0d498795c4ae1353e6c156c1c4500.tar.gz gcc-d47393d0b4d0d498795c4ae1353e6c156c1c4500.tar.bz2 |
[PR103437] Process multiplication overflow in priority calculation for allocno assignments
We process overflows in cost calculations but for huge functions
priority calculation can overflow as priority can be bigger the cost
used for it. The patch fixes the problem.
gcc/ChangeLog:
PR rtl-optimization/103437
* ira-color.c (setup_allocno_priorities): Process multiplication
overflow.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions