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

2009-10-27 Thread boz_gnu at boz dot org dot uk
--- 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

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

2009-10-26 Thread boz_gnu at boz dot org dot uk
--- Comment #4 from boz_gnu at boz dot org dot uk 2009-10-26 17:39 --- (In reply to comment #3) > Reduced testcase, not a regression. Here's a further reduction which still reproduces the crash: namespace std __attribute__ ((__visibility__ ("default"))) {