This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26092] [4.0 Regression] ICE on const function pointer assigned to a builtin function
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Feb 2006 19:58:38 -0000
- Subject: [Bug middle-end/26092] [4.0 Regression] ICE on const function pointer assigned to a builtin function
- References: <bug-26092-12124@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from jakub at gcc dot gnu dot org 2006-02-28 19:58 -------
Subject: Bug 26092
Author: jakub
Date: Tue Feb 28 19:58:33 2006
New Revision: 111572
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111572
Log:
PR middle-end/26092
* gimplify.c (gimplify_call_expr): When trying again, call
get_callee_fndecl first to verify it is still a builtin.
* gcc.c-torture/compile/20060208-1.c: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/gcc.c-torture/compile/20060208-1.c
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/gimplify.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26092