This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79232] New: error: invalid rhs for gimple memory store
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jan 2017 16:59:51 +0000
- Subject: [Bug c++/79232] New: error: invalid rhs for gimple memory store
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79232
Bug ID: 79232
Summary: error: invalid rhs for gimple memory store
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 40581
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40581&action=edit
gzipped C++ source code
The attached C++ source code does this:
plyvel/_plyvel.cpp: In function ‘int __Pyx_SetItemInt_ByteArray_Fast(PyObject*,
Py_ssize_t, unsigned char, int, int)’:
plyvel/_plyvel.cpp:19998:29: error: invalid rhs for gimple memory store
D.53930
*iftmp.579;
D.53930 = *iftmp.579;
plyvel/_plyvel.cpp:19998:29: error: invalid rhs for gimple memory store
D.53936
*iftmp.586;
D.53936 = *iftmp.586;
plyvel/_plyvel.cpp:19998:29: internal compiler error: verify_gimple failed
0xee7e7d verify_gimple_in_seq(gimple*)
../../trunk/gcc/tree-cfg.c:4934
0xbe5ea4 gimplify_body(tree_node*, bool)
../../trunk/gcc/gimplify.c:12464
0xbe625c gimplify_function_tree(tree_node*)
../../trunk/gcc/gimplify.c:12554
I can see that this bug has been around since at least revision 242353,
dated 20161113.
I'll have a go at reducing the code.