[Bug middle-end/38002] gcc crash using -fvisibility-ms-compat

boz_gnu at boz dot org dot uk gcc-bugzilla@gcc.gnu.org
Tue Oct 27 16:22:00 GMT 2009



------- Comment #5 from boz_gnu at boz dot org dot uk  2009-10-27 16:22 -------
Created an attachment (id=18917)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18917&action=view)
Proposed patch

Looks like all we were missing was a check on CLASS_TYPE_P before calling
CLASSTYPE_VISIBILITY_SPECIFIED.

This seems to fix the crash, at least for me.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38002



More information about the Gcc-bugs mailing list