fold-const.h
9.7 KB
-
Share code from fold_array_ctor_reference with fold. · 6a636014
* gimple-fold.c (fold_array_ctor_reference): Move searching code to: * fold-const.c (get_array_ctor_element_at_index): New. (fold): Remove binary-search through CONSTRUCTOR, call previous. * fold-const.h (get_array_ctor_element_at_index): New. From-SVN: r229605
Alan Lawrence committed