This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/26092] [4.0/4.1/4.2 Regression] ICE on const function pointer assigned to a builtin function



------- Comment #6 from jakub at gcc dot gnu dot org  2006-02-13 21:29 -------
Subject: Bug 26092

Author: jakub
Date: Mon Feb 13 21:29:13 2006
New Revision: 110928

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110928
Log:
        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.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.c-torture/compile/20060208-1.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/gimplify.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26092


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]