[Bug c++/43024] [4.4 Regression] ICE on template code with -O2 or -O3, regression from 4.4.2

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Feb 12 22:19:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list