[Bug c++/79899] ICE in ctor_omit_inherited_parms at gcc/cp/method.c:576 on ARM target
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 10 15:33:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79899
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Mar 10 15:33:04 2017
New Revision: 246038
URL: https://gcc.gnu.org/viewcvs?rev=246038&root=gcc&view=rev
Log:
PR c++/79899
* optimize.c (maybe_thunk_body): Don't ICE if fns[0] is NULL.
Use XALLOCAVEC macro.
* g++.dg/other/friend7.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/other/friend7.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/optimize.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list