ira-costs.c (find_costs_and_classes): Initialize cost_classes later to make sure...
authorJakub Jelinek <jakub@redhat.com>
Tue, 20 Jun 2017 19:43:29 +0000 (21:43 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 20 Jun 2017 19:43:29 +0000 (21:43 +0200)
commit0dc7d7cc944ddf8903d14199922fe31cec9693dd
treed9d386ac3cb54b91d77d0cb3b8e7a281d3b33928
parent8a259e30b1738597b9ddd9d31974d365038fa1d1
ira-costs.c (find_costs_and_classes): Initialize cost_classes later to make sure not to dereference a NULL...

* ira-costs.c (find_costs_and_classes): Initialize cost_classes later
to make sure not to dereference a NULL cost_classes_ptr pointer.

From-SVN: r249426
gcc/ChangeLog
gcc/ira-costs.c