https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58315
--- Comment #36 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Created attachment 36472 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36472&action=edit backported patch for the 4.9 branch Chris, retbnd is of no concern, nothing equivalent existed back then. call_stmt was called gimple_call. Here's a backported patch, barely tested. Please let me know how it goes for you.