http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56312
--- Comment #3 from Martin Liška <marxin.liska at gmail dot com> 2013-03-02 17:37:31 UTC --- I just run it in debugger giving me exactly the same stack trace, so can_refer_decl_in_current_unit_p is the place. Martin