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.