http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55617



--- Comment #32 from Jack Howarth <howarth at nitro dot med.uc.edu> 2013-02-01 
21:22:06 UTC ---

Created attachment 29332

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29332

first attempt at va_gc implementation



The attached patch is a first attempt at replacing the dynamic array with a

va_gc vector. Unfortunately, this code only bootstraps fine as long the line...



ctors->qsort (sort_by_ctor_priority);



is commented out. With the qsort enabled, the bootstrap fails with...



configure: error: cannot compute suffix of object files: cannot compile



in the stage1-bubble. Reversing the comparison in sort_by_ctor_priority has no

effect. The previous array based patch successfully used a call to...



qsort(ctors, ctor_index+1, sizeof(ctor_record), compare_ctor_priority);



Is the same qsort used in the vec implementation? Is there any examples for

calling qsort for vectors with all four parameters?

Reply via email to