re PR c++/46903 ([C++0x] ICE unexpected expression of kind template_id_expr)
authorJason Merrill <jason@redhat.com>
Fri, 14 Jan 2011 13:08:11 +0000 (08:08 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 14 Jan 2011 13:08:11 +0000 (08:08 -0500)
commit35385f991f052ff58476c64ed62b09751e55e31a
tree1c7140028698b92aff84b7eb991275a3479cb718
parent70f961a51eed84328a6c2226d4a72f90801ca3b5
re PR c++/46903 ([C++0x] ICE unexpected expression of kind template_id_expr)

PR c++/46903
* typeck2.c (check_narrowing): Only check arithmetic types.

From-SVN: r168783
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-regress1.C [new file with mode: 0644]