This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/10148: [MingW/CygWin] Compiler dumps core
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 6 Apr 2003 21:56:00 -0000
- Subject: Re: c/10148: [MingW/CygWin] Compiler dumps core
- Reply-to: "Giovanni Bajo" <giovannibajo at libero dot it>
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