https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66076
--- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- Author: rsandifo Date: Mon May 11 09:35:53 2015 New Revision: 222999 URL: https://gcc.gnu.org/viewcvs?rev=222999&root=gcc&view=rev Log: gcc/ PR rtl-optimization/66076 * rtlanal.c (generic_subrtx_iterator <T>::add_single_to_queue): Don't grow the heap array if it is already big enough from a previous iteration. gcc/testsuite/ PR rtl-optimization/66076 * gcc.dg/torture/pr66076.c: New test. Added: trunk/gcc/testsuite/gcc.dg/torture/pr66076.c Modified: trunk/gcc/ChangeLog trunk/gcc/rtlanal.c trunk/gcc/testsuite/ChangeLog