re PR c++/36128 (ICE with invalid argument for builtin)
authorRichard Guenther <rguenther@suse.de>
Thu, 3 Jul 2008 08:18:09 +0000 (08:18 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 3 Jul 2008 08:18:09 +0000 (08:18 +0000)
commit1466cf1a6b43180972c82a4bef227f1714a2110f
tree62fd1d29ef96b1eead4ac5167bf27841c90a3586
parent6010fae75204ec20492982771e1dd2b6beb8da97
re PR c++/36128 (ICE with invalid argument for builtin)

2008-07-02  Richard Guenther  <rguenther@suse.de>

PR c++/36128
* typeck.c (cp_build_function_call): Move code to verify
builtin function arguments ...
* call.c (build_cxx_call): ... here.

* g++.dg/other/builtin1.C: New testcase.

From-SVN: r137408
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/builtin1.C [new file with mode: 0644]