https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91238
--- Comment #3 from Iain Buclaw <ibuclaw at gdcproject dot org> --- (In reply to Richard Biener from comment #2) > Hm, so what exactly should ADDR_EXPR of a CALL_EXPR code-gen to? The ICE > itself happens because add_expr, when traversing a CALL_EXPR does not > unset OEP_ADDRESS_OF when processing arguments (taking the address of the > CALL_EXPR doesn't mean we are taking the address of its arguments). I was thinking of putting the CALL_EXPR into a TARGET_EXPR, and taking the address of that instead.