[Bug c++/91877] [10 Regression] ICE in convert_like_real, at cp/call.c:7385 since r276058
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 25 13:53:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91877
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Wed Sep 25 13:53:04 2019
New Revision: 276127
URL: https://gcc.gnu.org/viewcvs?rev=276127&root=gcc&view=rev
Log:
PR c++/91877 - ICE with converting member of packed struct.
* call.c (convert_like_real): Use similar_type_p in an assert.
* g++.dg/conversion/packed1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/conversion/packed1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list