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 fortran/30656] ICE with -ftrapv



------- 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


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