http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54876
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-09 15:29:12 UTC --- Err, static tree prune_expression_for_jf_1 (tree *tp, int *walk_subtrees, void *) { if (EXPR_P (*tp)) SET_EXPR_LOCATION (*tp, UNKNOWN_LOCATION); else *walk_subtrees = 0; return NULL_TREE; } of course.