[Bug c++/94835] ICE in vague_linkage_p, at cp/decl2.c:2041
casner at acm dot org
gcc-bugzilla@gcc.gnu.org
Mon May 11 22:00:31 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94835
Stephen Casner <casner at acm dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Stephen Casner <casner at acm dot org> ---
This ICE occurred because my additions to config.gcc were incomplete. Those
additions did not include elfos.h for pdp11-elf32 so SUPPORTS_ONE_ONLY==0 and
TARGET_SUPPORTS_WEAK==0 which caused have_weak==false which caused
comdat_linkage() to set TREE_PUBLIC(decl)=0, resulting in the assert failure.
This was probably not a supported configuration for compiling C++ code.
More information about the Gcc-bugs
mailing list