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++/47705] [4.5/4.6 Regression] internal compiler error: in convert_nontype_argument, at cp/pt.c:5006


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-08 17:30:43 UTC ---
Author: jason
Date: Tue Mar  8 17:30:36 2011
New Revision: 170782

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170782
Log:
    PR c++/47705
    * pt.c (convert_nontype_argument): Don't crash on non-pointer
    argument to pointer parameter.

Added:
    trunk/gcc/testsuite/g++.dg/template/nontype21.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


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