Summary: | ptrmem5.C:7:26: internal compiler error: in gimplify_expr, at gimplify.c:8629 | ||
---|---|---|---|
Product: | gcc | Reporter: | Rainer Emrich <rainer> |
Component: | target | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | NEW --- | ||
Severity: | normal | CC: | ktietz, vladimir.kokovic |
Priority: | P3 | ||
Version: | 5.0 | ||
Target Milestone: | --- | ||
Host: | x86_64-w64-mingw32 | Target: | x86_64-w64-mingw32 |
Build: | x86_64-w64-mingw32 | Known to work: | |
Known to fail: | Last reconfirmed: | 2015-03-26 00:00:00 | |
Bug Depends on: | |||
Bug Blocks: | 83756, 69832 |
Description
Rainer Emrich
2015-03-25 21:37:29 UTC
Can you run manually and provide a backtrace? Confirmed. Backtrace is: #0 internal_error ( gmsgid=gmsgid@entry=0x1763f5e <lang_independent_params+3774> "in %s, at %s:% d") at ../../gcc/gcc/diagnostic.c:1217 #1 0x0125459f in fancy_abort ( file=file@entry=0x14c6840 <tls_model_names+40> "../../gcc/gcc/gimplify.c", l ine=line@entry=8629, function=function@entry=0x14c8288 <gimplify_expr(tree_node**, gimple_stateme nt_base**, gimple_statement_base**, bool (*)(tree_node*), int)::__FUNCTION__> "g implify_expr") at ../../gcc/gcc/diagnostic.c:1291 #2 0x009fedcc in gimplify_expr (expr_p=expr_p@entry=0xffc90e68, pre_p=pre_p@entry=0xd60a7e8, post_p=0xd60a6d0, post_p@entry=0x0, gimple_test_f=gimple_test_f@entry=0x9f0be0 <is_gimple_stmt(tree)>, fallback=fallback@entry=0) at ../../gcc/gcc/gimplify.c:8629 #3 0x00a0149a in gimplify_stmt (stmt_p=0xffc90e68, seq_p=seq_p@entry=0xd60a7e8) at ../../gcc/gcc/gimplify.c:5514 #4 0x009fc559 in gimplify_cleanup_point_expr (pre_p=0xd60a89c, expr_p=0xffe75cf0) at ../../gcc/gcc/gimplify.c:5290 #5 gimplify_expr (expr_p=expr_p@entry=0xffe75cf0, pre_p=pre_p@entry=0xd60a89c, post_p=0xd60a7c0, post_p@entry=0x0, gimple_test_f=gimple_test_f@entry=0x9f0be0 <is_gimple_stmt(tree)>, fallback=fallback@entry=0) at ../../gcc/gcc/gimplify.c:8260 #6 0x00a0149a in gimplify_stmt (stmt_p=stmt_p@entry=0xffe75cf0, seq_p=seq_p@entry=0xd60a89c) at ../../gcc/gcc/gimplify.c:5514 #7 0x00a030af in gimplify_body (fndecl=fndecl@entry=0xffe75c80, This is once again an issue related to -fms-extensions switch. By turning this option off, ICE disappears. So suggested patch for the testcase (as again we are assuming here -fno-ms-extensions): Index: ptrmem5.C =================================================================== --- ptrmem5.C (Revision 221690) +++ ptrmem5.C (Arbeitskopie) @@ -1,4 +1,5 @@ // PR c++/15696 +// { dg-additional-options "-fno-ms-extensions" { target *-*-mingw* } } |