On Tue, Oct 30, 2012 at 04:15:38PM +0100, Richard Biener wrote: > So maybe TER (well, those looking up the stmt) should pick the location > from the TERed statement properly then?
Perhaps, but Micha's patch doesn't do that. But in that case IMHO it still would help to set all expr locations to UNKNOWN_LOCATION during gimple lowering, to make it clear we ignore the locations. Jakub