http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56094
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> 2013-01-24 12:17:14 UTC --- Statements with no location inherit that of the surrounding statements. The issue is that the rewritten statements usually do not exist in literal form in the original program. The final assignment of the result of course should retain use->stmts location. Now what can happen is that the stmts without location are scheduled into the prologue ... not sure how / if we want to avoid this. Jakub? Note I didn't look at the testcase at all.