This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34233] ICE: get_callee_fndecl, at tree.c:6592
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2007 10:33:36 -0000
- Subject: [Bug middle-end/34233] ICE: get_callee_fndecl, at tree.c:6592
- References: <bug-34233-3137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-26 10:33 -------
Confirmed.
#1 0x0000000000d3925d in get_callee_fndecl (call=0x2b29eaf32240)
at /space/rguenther/src/svn/trunk/gcc/tree.c:6592
6592 gcc_assert (TREE_CODE (call) == CALL_EXPR);
(gdb) call debug_generic_expr (call)
0.0
#3 0x0000000000724430 in expand_builtin_pow (exp=0x2b29eb100120,
target=0x2b29eb1052c0, subtarget=0x0)
at /space/rguenther/src/svn/trunk/gcc/builtins.c:2941
2941 op = expand_builtin (call_expr, NULL_RTX, subtarget, mode,
0);
(gdb) call debug_generic_expr (exp)
__builtin_pow (0.0, -1.5e+0)
tree call_expr = build_call_expr (fn, 1, narg0);
op = expand_builtin (call_expr, NULL_RTX, subtarget, mode, 0);
so yet-another-case where we fold the builtin (call_expr) to a constant.
I have a patch.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-11-26 10:33:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34233