[Bug c++/64106] New: [5 Regression][C++14] internal compiler error: in cxx_eval_store_expression
ai.azuma at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Nov 28 15:00:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64106
Bug ID: 64106
Summary: [5 Regression][C++14] internal compiler error: in
cxx_eval_store_expression
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ai.azuma at gmail dot com
Created attachment 34133
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34133&action=edit
Output of -v option and preprocessed file
The following code causes an ICE on 5.0.0 20141123 with -std=c++1y.
//==========================================
void f(long &c, int &lc, char *&out)
{
while (lc >= 8) *out++ = (c >> (lc -= 8));
}
//==========================================
The ICE message is "internal compiler error: in cxx_eval_store_expression",
which is the same as one reported in PR64080, so I suspect that this bug report
could be a dup. However, the above reproducer looks very different than one in
PR64080, so I think this is worth being reported independently.
The above code successfully compiles on GCC 4.9.3 20141119 with -std=c++1y, so
it seems a regression. The reproducer originally comes from an OpenCV 2.4.10
source code.
More information about the Gcc-bugs
mailing list