This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38002] gcc crash using -fvisibility-ms-compat
- From: "boz_gnu at boz dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2009 16:22:03 -0000
- Subject: [Bug middle-end/38002] gcc crash using -fvisibility-ms-compat
- References: <bug-38002-16901@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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