pt.c (convert_nontype_argument): Issue an error when presented with an integer (real...
authorMark Mitchell <mark@markmitchell.com>
Wed, 17 Jun 1998 21:52:30 +0000 (21:52 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 17 Jun 1998 21:52:30 +0000 (21:52 +0000)
commitdb02b6b9b03846caee837a44941a38149a2e12d2
tree20fbd7173e8a047ea6ba6cfa19b237f5340e0dbb
parent8fa8d8c5c7ce5d6c95bafee8314319a94775904f
pt.c (convert_nontype_argument): Issue an error when presented with an integer (real) constant that cannot be...

* pt.c (convert_nontype_argument): Issue an error when presented
with an integer (real) constant that cannot be simplified to an
INT_CST (REAL_CST).

From-SVN: r20550
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.pt/crash10.C [new file with mode: 0644]