public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11021] [3.3/3.4 regression] [cygwin/mingw]: Inheriting a virtual method from a dllimport'd base class->segfault
[not found] <20030529014036.11021.dannysmith@clear.net.nz>
@ 2003-06-11 22:35 ` pinskia@physics.uc.edu
2003-07-04 7:42 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-11 22:35 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11021
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |3.3.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/11021] [3.3/3.4 regression] [cygwin/mingw]: Inheriting a virtual method from a dllimport'd base class->segfault
[not found] <20030529014036.11021.dannysmith@clear.net.nz>
2003-06-11 22:35 ` [Bug c++/11021] [3.3/3.4 regression] [cygwin/mingw]: Inheriting a virtual method from a dllimport'd base class->segfault pinskia@physics.uc.edu
@ 2003-07-04 7:42 ` cvs-commit at gcc dot gnu dot org
2003-07-04 7:52 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-04 7:42 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11021
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-04 07:42 -------
Subject: Bug 11021
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dannysmith@gcc.gnu.org 2003-07-04 07:42:11
Modified files:
gcc : ChangeLog
gcc/doc : extend.texi
gcc/config/i386: winnt.c
Log message:
PR c++/5287, PR c++/7910, PR c++/11021
* config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
dllimport attribute if function is defined at declaration, but
report error instead. Likewise for dllimport'd variable
definitions. Set implicit TREE_PUBLIC for dllimport'd variables
declared within functions, Report error if dllimport or dllexport
symbol is not global.
(i386_pe_dllimport_p): Ignore dllimport attribute of functions
if defined after declaration or if inlined. Don't allow definition
of static data members of C++ classes. Don't dllimport virtual
methods.
(i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
(i386_pe_mark_dllimport): Remove unnecessary checks.
(i386_pe_encode_section_info): Warn if the dllimport attribute
and symbol prefix have been instantiated and then overridden.
* doc/extend.texi: Document dllimport and dllexport attributes.
* config/i386/winnt.c (i386_pe_output_labelref): Fix indents.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.325&r2=2.326
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/extend.texi.diff?cvsroot=gcc&r1=1.146&r2=1.147
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/winnt.c.diff?cvsroot=gcc&r1=1.48&r2=1.49
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/11021] [3.3/3.4 regression] [cygwin/mingw]: Inheriting a virtual method from a dllimport'd base class->segfault
[not found] <20030529014036.11021.dannysmith@clear.net.nz>
2003-06-11 22:35 ` [Bug c++/11021] [3.3/3.4 regression] [cygwin/mingw]: Inheriting a virtual method from a dllimport'd base class->segfault pinskia@physics.uc.edu
2003-07-04 7:42 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-04 7:52 ` cvs-commit at gcc dot gnu dot org
2003-07-11 11:54 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-04 7:52 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11021
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-04 07:52 -------
Subject: Bug 11021
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: dannysmith@gcc.gnu.org 2003-07-04 07:52:38
Modified files:
gcc/testsuite : ChangeLog
gcc/testsuite/g++.dg/ext: dllimport1.C dllimport2.C dllimport3.C
Added files:
gcc/testsuite/g++.dg/ext: dllexport1.C dllimport10.C
dllimport4.C dllimport5.C dllimport6.C
dllimport7.C dllimport8.C dllimport9.C
Log message:
PR c++/5287, PR c++/7910, PR c++/11021
* testsuite/g++.dg/ext/dllimport1.C: Add mingw32 as target. Add
tests for warnings.
* testsuite/g++.dg/ext/dllimport2.C: Add tests for warnings.
* testsuite/g++.dg/ext/dllimport3.C: Likewise.
* testsuite/g++.dg/ext/dllimport4.C: New file.
* testsuite/g++.dg/ext/dllimport5.C: New file.
* testsuite/g++.dg/ext/dllimport6.C: New file.
* testsuite/g++.dg/ext/dllimport7.C: New file.
* testsuite/g++.dg/ext/dllimport8.C: New file.
* testsuite/g++.dg/ext/dllimport9.C: New file.
* testsuite/g++.dg/ext/dllimport10.C: New file.
* testsuite/g++.dg/ext/dllexport1.C: New file.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2839&r2=1.2840
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllexport1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport10.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport4.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport5.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport6.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport7.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport8.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport9.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport1.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport2.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport3.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/11021] [3.3/3.4 regression] [cygwin/mingw]: Inheriting a virtual method from a dllimport'd base class->segfault
[not found] <20030529014036.11021.dannysmith@clear.net.nz>
` (2 preceding siblings ...)
2003-07-04 7:52 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-11 11:54 ` cvs-commit at gcc dot gnu dot org
2003-07-11 12:14 ` cvs-commit at gcc dot gnu dot org
2003-07-11 12:33 ` dannysmith at clear dot net dot nz
5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-11 11:54 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11021
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-11 11:54 -------
Subject: Bug 11021
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: dannysmith@gcc.gnu.org 2003-07-11 11:54:29
Modified files:
gcc : ChangeLog c-decl.c
gcc/doc : extend.texi
gcc/config/i386: winnt.c
Log message:
Backport from mainline.
2003-05-13 Richard Henderson <rth@redhat.com>
* c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if
the old decl had instantiated DECL_RTL.
2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
PR c++/9738
* config/i386/winnt.c (i386_pe_encode_section_info): Enable
even if not first.
2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
PR c++/5287, PR c++/7910, PR c++/11021
* config/i386/winnt.c (ix86_handle_dll_attribute): Don't add
dllimport attribute if function is defined at declaration, but
report error instead. Likewise for dllimport'd variable
definitions. Set implicit TREE_PUBLIC for dllimport'd variables
declared within functions, Report error if dllimport or dllexport
symbol is not global.
(i386_pe_dllimport_p): Ignore dllimport attribute of functions
if defined after declaration or if inlined. Don't allow definition
of static data members of C++ classes. Don't dllimport virtual
methods.
(i386_pe_mark_dllexport): Warn about inconsistent dll attributes.
(i386_pe_mark_dllimport): Remove unnecessary checks.
(i386_pe_encode_section_info): Warn if the dllimport attribute
and symbol prefix have been instantiated and then overridden.
* doc/extend.texi: Document dllimport and dllexport attributes.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.649&r2=1.16114.2.650
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.356.2.10&r2=1.356.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/extend.texi.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.109.2.18&r2=1.109.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/winnt.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.37.2.3&r2=1.37.2.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/11021] [3.3/3.4 regression] [cygwin/mingw]: Inheriting a virtual method from a dllimport'd base class->segfault
[not found] <20030529014036.11021.dannysmith@clear.net.nz>
` (3 preceding siblings ...)
2003-07-11 11:54 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-11 12:14 ` cvs-commit at gcc dot gnu dot org
2003-07-11 12:33 ` dannysmith at clear dot net dot nz
5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-07-11 12:14 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11021
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-11 12:14 -------
Subject: Bug 11021
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: dannysmith@gcc.gnu.org 2003-07-11 12:14:43
Modified files:
gcc/testsuite : ChangeLog
gcc/testsuite/g++.dg/ext: dllimport1.C
Added files:
gcc/testsuite/g++.dg/ext: dllexport1.C dllimport10.C
dllimport2.C dllimport3.C dllimport4.C
dllimport5.C dllimport6.C dllimport7.C
dllimport8.C dllimport9.C
Log message:
Backport from mainline.
2003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
PR c++/9738
* g++.dg/ext/dllimport2.C: New file.
* g++.dg/ext/dllimport3.C: New file.
2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
PR c++/5287, PR c++/7910, PR c++/11021
* testsuite/g++.dg/ext/dllimport1.C: Add mingw32 as target. Add
tests for warnings.
* g++.dg/ext/dllimport2.C: Add tests for warnings.
* g++.dg/ext/dllimport3.C: Likewise.
* g++.dg/ext/dllimport4.C: New file.
* g++.dg/ext/dllimport5.C: New file.
* g++.dg/ext/dllimport6.C: New file.
* g++.dg/ext/dllimport7.C: New file.
* g++.dg/ext/dllimport8.C: New file.
* g++.dg/ext/dllimport9.C: New file.
* g++.dg/ext/dllimport10.C: New file.
* g++.dg/ext/dllexport1.C: New file.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.227&r2=1.2261.2.228
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllexport1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport10.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.2.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport3.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.2.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport4.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport5.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport6.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport7.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport8.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport9.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/dllimport1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1.2.1&r2=1.1.2.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/11021] [3.3/3.4 regression] [cygwin/mingw]: Inheriting a virtual method from a dllimport'd base class->segfault
[not found] <20030529014036.11021.dannysmith@clear.net.nz>
` (4 preceding siblings ...)
2003-07-11 12:14 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-11 12:33 ` dannysmith at clear dot net dot nz
5 siblings, 0 replies; 6+ messages in thread
From: dannysmith at clear dot net dot nz @ 2003-07-11 12:33 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11021
dannysmith at clear dot net dot nz changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From dannysmith at clear dot net dot nz 2003-07-11 12:33 -------
Fixed on mainline and 3_3 branch
http://gcc.gnu.org/ml/gcc-cvs/2003-07/msg00476.html
http://gcc.gnu.org/ml/gcc-cvs/2003-07/msg00477.html
http://gcc.gnu.org/ml/gcc-cvs/2003-07/msg00478.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-07-11 12:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20030529014036.11021.dannysmith@clear.net.nz>
2003-06-11 22:35 ` [Bug c++/11021] [3.3/3.4 regression] [cygwin/mingw]: Inheriting a virtual method from a dllimport'd base class->segfault pinskia@physics.uc.edu
2003-07-04 7:42 ` cvs-commit at gcc dot gnu dot org
2003-07-04 7:52 ` cvs-commit at gcc dot gnu dot org
2003-07-11 11:54 ` cvs-commit at gcc dot gnu dot org
2003-07-11 12:14 ` cvs-commit at gcc dot gnu dot org
2003-07-11 12:33 ` dannysmith at clear dot net dot nz
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).