This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30656] ICE with -ftrapv
- 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: 31 Jan 2007 23:02:30 -0000
- Subject: [Bug fortran/30656] ICE with -ftrapv
- References: <bug-30656-7427@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from rguenth at gcc dot gnu dot org 2007-01-31 23:02 -------
Breakpoint 3, fold_binary (code=MINUS_EXPR, type=0xb7c0a2d8, op0=0xb7c72f30,
op1=0xb7c717b0) at /home/richard/src/trunk/gcc/fold-const.c:8783
8783 enum tree_code_class kind = TREE_CODE_CLASS (code);
(gdb) call debug_generic_expr (op0)
D.1106 - (int4) n
(gdb) call debug_generic_expr (op1)
-4
9393 return fold_build2 (PLUS_EXPR, type,
fold_build2_stat (code=PLUS_EXPR, type=0xb7c0a2d8, op0=0xb7c72f30,
op1=0xb7c776c0) at /home/richard/src/trunk/gcc/fold-const.c:12421
12421 tem = fold_binary (code, type, op0, op1);
(gdb) call debug_generic_expr (op0)
D.1106 - (int4) n
(gdb) call debug_generic_expr (op1)
--4
ouch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30656