http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58201

--- Comment #13 from Jan Hubicka <hubicka at ucw dot cz> ---
> I'm a bit worried, because normally we don't check in the testsuite that those
> messages about the instantiation point have the right line number, thus, we 
> may
> well have a pretty serious diagnostic regression, beyond the specific failure.

I put some analysis here
http://gcc.gnu.org/ml/gcc-patches/2013-09/msg00456.html
It is latent bug in C++ FE using stale source_location.  Prior my change the
error
came on different location based on optimization flags and -flto. After my
change
it is consistently wrong ;)

Sadly i am not sure how to get correct location within the mangling hook and
where it is supposed to point.

Reply via email to