------- Comment #4 from jason at gcc dot gnu dot org 2010-02-12 22:19 ------- This is basically the same bug as PR 41183.
We crash when trying to do name lookup during template substitution during mangling during compilation of a clone. Cloning doesn't copy cfun->language, so current_binding_level tries to look inside it and SEGVs. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43024