re PR middle-end/26092 (ICE on const function pointer assigned to a builtin function)
authorJakub Jelinek <jakub@redhat.com>
Mon, 13 Feb 2006 21:28:03 +0000 (22:28 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 13 Feb 2006 21:28:03 +0000 (22:28 +0100)
commit6f538523d1e363cb51f08b52e31062304352e543
tree1f4da557cb99e9845fb71b7c810d10b3f6f929cc
parent2ed8d2241e1e3ba077fc6dc3813f202f45414fbe
re PR middle-end/26092 (ICE on const function pointer assigned to a builtin function)

PR middle-end/26092
* gimplify.c (gimplify_call_expr): Don't call get_callee_fndecl
twice if decl is a builtin.  When trying again, call get_callee_fndecl
first to verify it is still a builtin.

* gcc.c-torture/compile/20060208-1.c: New test.

From-SVN: r110927
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20060208-1.c [new file with mode: 0644]