[Bug c++/42336] [4.5 Regression] ICE with pointer-to-member-function argument in template function
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 7 21:18:00 GMT 2010
------- Comment #12 from jason at gcc dot gnu dot org 2010-01-07 21:18 -------
It basically seems to me that the modifications made by
ipa_modify_formal_parameters are incompatible with proper debugging
information; the method is still a method as far as the language is concerned
even if the actual code generated optimizes away the this pointer.
I think it would be better to represent those sorts of modifications via
cloning rather than by modifying the primary decls.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42336
More information about the Gcc-bugs
mailing list