http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53751
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-22 12:13:40 UTC --- There is a dup for this somewhere. Only happens if you do not specify a linker output file (and thus a.out is used).