public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/65572] New: ptrmem5.C:7:26: internal compiler error: in gimplify_expr, at gimplify.c:8629
@ 2015-03-25 21:56 rainer@emrich-ebersheim.de
2015-03-26 10:59 ` [Bug target/65572] " rguenth at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: rainer@emrich-ebersheim.de @ 2015-03-25 21:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65572
Bug ID: 65572
Summary: ptrmem5.C:7:26: internal compiler error: in
gimplify_expr, at gimplify.c:8629
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: rainer@emrich-ebersheim.de
Running g++ testsuite I get the following ICE:
Executing on host:
/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/testsuite/g++1/../../xg++
-B/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/testsuite/g++1/../../
/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/expr/ptrmem5.C
-fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/x86_64-w64-mingw32/libstdc++-v3/include
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/libsupc++
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/include/backward
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/testsuite/util
-fmessage-length=0 -std=c++98 -pedantic-errors -Wno-long-long -S -o
ptrmem5.s (timeout = 300)
spawn
/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/testsuite/g++1/../../xg++
-B/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/gcc/testsuite/g++1/../../
/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/expr/ptrmem5.C
-fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/opt/devel/SCRATCH/tmp.5jnZ8G4weh/gcc-5.0.0/gcc-5.0.0/x86_64-w64-mingw32/libstdc++-v3/include
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/libsupc++
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/include/backward
-I/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/libstdc++-v3/testsuite/util
-fmessage-length=0 -std=c++98 -pedantic-errors -Wno-long-long -S -o ptrmem5.s
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/expr/ptrmem5.C:
In function 'void foo()':
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/expr/ptrmem5.C:7:26:
internal compiler error: in gimplify_expr, at gimplify.c:8629
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/expr/ptrmem5.C:
In function 'void foo()':
D:/opt/devel/gnu/src/gcc-mingw-w64/gcc-5.0.0/gcc/testsuite/g++.dg/expr/ptrmem5.C:7:26:
internal compiler error: in gimplify_expr, at gimplify.c:8629
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
FAIL: g++.dg/expr/ptrmem5.C -std=c++98 (internal compiler error)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/65572] ptrmem5.C:7:26: internal compiler error: in gimplify_expr, at gimplify.c:8629
2015-03-25 21:56 [Bug target/65572] New: ptrmem5.C:7:26: internal compiler error: in gimplify_expr, at gimplify.c:8629 rainer@emrich-ebersheim.de
@ 2015-03-26 10:59 ` rguenth at gcc dot gnu.org
2015-03-26 12:20 ` ktietz at gcc dot gnu.org
2021-07-29 19:33 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-03-26 10:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65572
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2015-03-26
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Can you run manually and provide a backtrace?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/65572] ptrmem5.C:7:26: internal compiler error: in gimplify_expr, at gimplify.c:8629
2015-03-25 21:56 [Bug target/65572] New: ptrmem5.C:7:26: internal compiler error: in gimplify_expr, at gimplify.c:8629 rainer@emrich-ebersheim.de
2015-03-26 10:59 ` [Bug target/65572] " rguenth at gcc dot gnu.org
@ 2015-03-26 12:20 ` ktietz at gcc dot gnu.org
2021-07-29 19:33 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ktietz at gcc dot gnu.org @ 2015-03-26 12:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65572
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
CC| |ktietz at gcc dot gnu.org
--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> ---
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* } }
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/65572] ptrmem5.C:7:26: internal compiler error: in gimplify_expr, at gimplify.c:8629
2015-03-25 21:56 [Bug target/65572] New: ptrmem5.C:7:26: internal compiler error: in gimplify_expr, at gimplify.c:8629 rainer@emrich-ebersheim.de
2015-03-26 10:59 ` [Bug target/65572] " rguenth at gcc dot gnu.org
2015-03-26 12:20 ` ktietz at gcc dot gnu.org
@ 2021-07-29 19:33 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-29 19:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65572
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vladimir.kokovic at gmail dot com
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 97824 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-07-29 19:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 21:56 [Bug target/65572] New: ptrmem5.C:7:26: internal compiler error: in gimplify_expr, at gimplify.c:8629 rainer@emrich-ebersheim.de
2015-03-26 10:59 ` [Bug target/65572] " rguenth at gcc dot gnu.org
2015-03-26 12:20 ` ktietz at gcc dot gnu.org
2021-07-29 19:33 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).