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++/37093] [4.2/4.3/4.4 Regression] ICE with pointer to member template parameters



------- Comment #13 from pinskia at gcc dot gnu dot org  2008-12-30 05:35 -------
That patch removed lots of code that is nessarry for this check, I have to add
back
+        /* The call to perform_qualification_conversions will
+          insert a NOP_EXPR over EXPR to do express conversion,
+          if necessary.  But, that will confuse us if we use
+          this (converted) template parameter to instantiate
+          another template; then the thing will not look like a
+          valid template argument.  So, just make a new
+          constant, of the appropriate type.  */

Anyways now I have a real patch which brings us back to what was done before
and gives us the correct error.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37093


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