https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116490
Nina Ranns <dinka.ranns at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dinka.ranns at gmail dot com --- Comment #2 from Nina Ranns <dinka.ranns at gmail dot com> --- The test case is valid - The explicit instantiation should have the same contracts even if they are not present on the explicit instantiation. The crash happens because we do not expect comdat group to be set when we build the pre and post check functions. However, in the case of explicit instantiation we do have it set before we generate the check functions. Picking this up.