https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87145
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Ah, the regression started with the same revision as the ICE, r241425 (applying the fix from r257311 to that revision fixes the ICE but gives the "taking the address of temporary" error).