https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115033
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 58489 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58489&action=edit First step at reducing Keeps map_to_vector the same, changes the lamdba just to set resultIsStatic to false and removes the rest of the function. (also removes some unused code too). Changes the to use __built_trap after the function call to make it easier to test it. The bug is still hit.