public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/9579: [MingW] Unable to compile DLL using mingw32-g++ 3.2.1 on Windows 2000
@ 2003-02-06 15:59 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-02-06 15:59 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, george.wu, nobody
Synopsis: [MingW] Unable to compile DLL using mingw32-g++ 3.2.1 on Windows 2000
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Thu Feb 6 15:59:46 2003
State-Changed-Why:
Duplicate of 7103, according to Giovanni.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9579
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/9579: [MingW] Unable to compile DLL using mingw32-g++ 3.2.1 on Windows 2000
@ 2003-02-06 15:46 Giovanni Bajo
0 siblings, 0 replies; 3+ messages in thread
From: Giovanni Bajo @ 2003-02-06 15:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/9579; it has been noted by GNATS.
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
<gcc-bugs@gcc.gnu.org>,
<nobody@gcc.gnu.org>,
<gcc-prs@gcc.gnu.org>,
<george.wu@necsam.com>
Cc:
Subject: Re: c++/9579: [MingW] Unable to compile DLL using mingw32-g++ 3.2.1 on Windows 2000
Date: Thu, 6 Feb 2003 16:41:26 +0100
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=9579
Duplicate of c++/7103.
Giovanni Bajo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/9579: [MingW] Unable to compile DLL using mingw32-g++ 3.2.1 on Windows 2000
@ 2003-02-06 4:06 Danny Smith
0 siblings, 0 replies; 3+ messages in thread
From: Danny Smith @ 2003-02-06 4:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/9579; it has been noted by GNATS.
From: Danny Smith <dannysmith@clear.net.nz>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
gcc-prs@gcc.gnu.org, george.wu@necsam.com
Cc:
Subject: Re: c++/9579: [MingW] Unable to compile DLL using mingw32-g++ 3.2.1 on
Windows 2000
Date: Thu, 06 Feb 2003 03:55:01 +0000
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=g
cc&pr=9579
This is still a bug on trunk.
Here is minimal testcase showing bug:
I believe there are several other PR's closely related if not identical
to this.
Note: The ICE is seen only with C++, However, although it compiles as
C, the output
is incorrect, in that the dllimport attribute is not overrriden.
/* dllimport.C */
/* Declare as dllimport */
__attribute__((dllimport)) void foo(void);
/* if the definition comes before use, everything is fine */
#ifdef DEFINEFIRST
/* Define it: This should override the dllimport attribute */
void foo(void) {}
#endif
void bar(void)
{
foo(); /* Use it: This will call _imp__foo, not foo, unless dllimport
is overriden */
}
#ifndef DEFINEFIRST
/* Define it: This should override the dllimport attribute */
void foo(void) {}
#endif
gcc -S dllimport.C
dllimport.C: In function `void foo()':
dllimport.C:19: internal compiler error: in rest_of_compilation, at
toplev.c:
3601
gcc -S -DDEFINEFIRST dllimport.C compiles fine.
Danny
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-06 15:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-06 15:59 c++/9579: [MingW] Unable to compile DLL using mingw32-g++ 3.2.1 on Windows 2000 bangerth
-- strict thread matches above, loose matches on Subject: below --
2003-02-06 15:46 Giovanni Bajo
2003-02-06 4:06 Danny Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).