This is the mail archive of the gcc-prs@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]

Re: c/10148: [MingW/CygWin] Compiler dumps core


The following reply was made to PR c/10148; it has been noted by GNATS.

From: "Giovanni Bajo" <giovannibajo at libero dot it>
To: <gcc-gnats at gcc dot gnu dot org>,
	<gcc-bugs at gcc dot gnu dot org>,
	<nobody at gcc dot gnu dot org>,
	<gcc-prs at gcc dot gnu dot org>,
	<gh at ghaering dot de>
Cc: "Wolfgang Bangerth" <bangerth at ices dot utexas dot edu>
Subject: Re: c/10148: [MingW/CygWin] Compiler dumps core
Date: Sun, 6 Apr 2003 23:53:08 +0200

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
 r=10148
 
 Reduced snippet:
 --------------------------------------------
 struct Foo
 {
     int a;
 };
 
 __attribute__((dllimport)) struct Foo f;
 
 void Bar(void)
 {
     void* dummy = &f;
 }
 
 struct Foo f;
 
 void* dummy = &f;
 --------------------------------------------
 pr10148.c:16: internal compiler error: Segmentation fault
 
 Confirmed under cygwin with 3.2 and 3.3 20030401.
 2.95 can compile the above correctly so it's (at least) a 3.2/3.3
 regression.
 I can't test with 3.4 (mainline broken for cygwin)
 
 Giovanni
 


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