This is the mail archive of the gcc-patches@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]

Re: [PATCH] fix PR40957, PPC breakage in emit_store_flag


1) FAIL: gcc.dg/20020425-1.c (test for excess errors) [for both -m32 and -m64]

I'm building a debug compiler and will get a backtrace.  The backtrace gdb
gave me with this cc1 seemed corrupted.

I'm seeing this too with a cross, so it is not a cc1 miscompilation or a missed tail call.


#22 0x00000000007bc797 in gimplify_stmt (stmt_p=0x7ffff2b7a950,
seq_p=0x7fffff4065a8) at ../../gcc/gimplify.c:5142
5142 gimplify_expr (stmt_p, seq_p, NULL, is_gimple_stmt, fb_none);
(gdb)
#23 0x00000000007b1464 in gimplify_cond_expr (expr_p=0x7ffff2b7a9a0,
pre_p=0x7fffff4078a8, fallback=0) at ../../gcc/gimplify.c:3054
3054 have_else_clause_p = gimplify_stmt (&TREE_OPERAND (expr, 2), &seq);
(gdb)
#24 0x00000000007c7b81 in gimplify_expr (expr_p=0x7ffff2b7a9a0,
pre_p=0x7fffff4078a8, post_p=0x7fffff406f10,
gimple_test_f=0x792281 <is_gimple_stmt>, fallback=0)
at ../../gcc/gimplify.c:6456
6456 ret = gimplify_cond_expr (expr_p, pre_p, fallback);
(gdb)
#25 0x00000000007bc797 in gimplify_stmt (stmt_p=0x7ffff2b7a9a0,
seq_p=0x7fffff4078a8) at ../../gcc/gimplify.c:5142
5142 gimplify_expr (stmt_p, seq_p, NULL, is_gimple_stmt, fb_none);


I think we should first commit the patch. Then we can bisect it.

Paolo


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