Commit Message

We were asserting that any argument to a non-type template parameter of
pointer type must be an address. Which is true of valid code (apart
from null pointer values), but not necessarily of invalid code, where we
should complain rather than crash.
Tested x86_64-pc-linux-gnu, applied to trunk.
commit 0aa8b389e5b3d863edd4e9969cadf2af5f2c1907
Author: Jason Merrill <jason@redhat.com>
Date: Tue Mar 8 11:02:49 2011 -0500
PR c++/47705
* pt.c (convert_nontype_argument): Don't crash on non-pointer
argument to pointer parameter.