http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58805
--- Comment #16 from vries at gcc dot gnu.org --- > Btw, you'd have had the same issue with the aggregate > return of a pure/const function call, no? For this bug to trigger, we need a gimple statement: - without side-effects - with one SSA_OP_DEF result (which also needs to be an SSA_NAME) - with an SSA_OP_VDEF result The case you mention doesn't have an SSA_OP_DEF, so that one is caught by this check: ... def_p = SINGLE_SSA_DEF_OPERAND (stmt, SSA_OP_DEF); if (def_p == NULL) return false; ...