This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 7/9] ira-color


On 04/01/2017 11:21 AM, Gerald Pfeifer wrote:
On Sat, 1 Apr 2017, Andrew Jenner wrote:
In the course of working with ia16, I found a case where the
sorted_allocnos
array in ira-color.c requires more than ira_allocnos_num entries. The
following patch allows this array to expand when this happens.

2017-04-01  Andrew Jenner  <andrew@codesourcery.com>

    * ira-color.c (n_sorted_allocnos): New variable.
    (improve_allocation): Use it.
    (ira_initiate_assign): Initialize it.
    (fast_allocation): Likewise.

General improvements/fixes like this you may want to submit independently
of your port and copy the respective maintainers (such as Vladimir for
register allocation who I'm adding now).
Right. ANd it would be helpful to have more information on how this happened. Otherwise Vlad and the rest of the team have to guess what might have happened -- we might guess wrong leading to an incorrect conclusion about the correctness of the patch.

Testcases help considerably as well.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]