This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]