This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/42336] [4.5 Regression] ICE with pointer-to-member-function argument in template function



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]