--- Comment #7 from rguenth at gcc dot gnu dot org 2006-05-07 13:07 ---
Subject: Bug 27136
Author: rguenth
Date: Sun May 7 13:07:22 2006
New Revision: 113601
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113601
Log:
2006-05-07 Richard Guenther [EMAIL PROTECTED]
PR
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-04-17 10:34 ---
#5 0x081a8738 in get_val_for (x=0xb7dedea0, base=0xb7d70480)
at /space/rguenther/src/svn/gcc-4_1-branch/gcc/tree-ssa-loop-niter.c:1254
1254 val = fold (TREE_OPERAND (stmt, 1));
(gdb) call
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-04-17 10:51 ---
Hmm, looks more like a tree sharing problem
Breakpoint 5, fold_ternary (code=CALL_EXPR, type=0xb7d5fa6c, op0=0xb7d55540,
op1=0xb7dd9048, op2=0x0)
at
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-04-17 11:12 ---
1329aval[j] = get_val_for (op[j], val[j]);
(gdb) call debug_generic_expr(val[0])
__builtin_pow (xD.1278_4, 2.0e+0)
(gdb) call debug_generic_expr(op[0])
xD.1278_3
Program received signal SIGSEGV,
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-04-17 11:18 ---
Now, the comment before get_val_for is confusing, as it says
* if BASE is NULL_TREE, X must be a constant and we return X.
but we do
if (!x)
return base;
now, I believe a
gcc_assert
--- Comment #6 from patchapp at dberlin dot org 2006-04-17 13:10 ---
Subject: Bug number PR 27136
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00623.html
--
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-13 01:37 ---
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added