public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/5287] [3.3/3.4 regression] [mingw/cygwin] ICE with dllimport (two other testcases)
[not found] <20020106022600.5287.vladakk@eunet.yu>
@ 2003-06-04 2:39 ` giovannibajo@libero.it
2003-06-08 18:45 ` pinskia@physics.uc.edu
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: giovannibajo@libero.it @ 2003-06-04 2:39 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=5287
giovannibajo@libero.it changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned@gcc.gnu.org |dannysmith@gcc.gnu.org
------- Additional Comments From giovannibajo@libero.it 2003-06-04 02:39 -------
Danny, you may want to look into this. It still ICEs as of today mainline and
3.3 branch (20030604).
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/5287] [3.3/3.4 regression] [mingw/cygwin] ICE with dllimport (two other testcases)
[not found] <20020106022600.5287.vladakk@eunet.yu>
2003-06-04 2:39 ` [Bug target/5287] [3.3/3.4 regression] [mingw/cygwin] ICE with dllimport (two other testcases) giovannibajo@libero.it
@ 2003-06-08 18:45 ` pinskia@physics.uc.edu
2003-07-04 7:42 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: pinskia@physics.uc.edu @ 2003-06-08 18:45 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=5287
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.3.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/5287] [3.3/3.4 regression] [mingw/cygwin] ICE with dllimport (two other testcases)
[not found] <20020106022600.5287.vladakk@eunet.yu>
2003-06-04 2:39 ` [Bug target/5287] [3.3/3.4 regression] [mingw/cygwin] ICE with dllimport (two other testcases) giovannibajo@libero.it
2003-06-08 18:45 ` 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)
6 siblings, 0 replies; 7+ 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=5287
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-04 07:42 -------
Subject: Bug 5287
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] 7+ messages in thread
* [Bug target/5287] [3.3/3.4 regression] [mingw/cygwin] ICE with dllimport (two other testcases)
[not found] <20020106022600.5287.vladakk@eunet.yu>
` (2 preceding siblings ...)
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)
6 siblings, 0 replies; 7+ 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=5287
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-04 07:52 -------
Subject: Bug 5287
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] 7+ messages in thread
* [Bug target/5287] [3.3/3.4 regression] [mingw/cygwin] ICE with dllimport (two other testcases)
[not found] <20020106022600.5287.vladakk@eunet.yu>
` (3 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 14:33 ` dhazeghi at yahoo dot com
6 siblings, 0 replies; 7+ 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=5287
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-11 11:54 -------
Subject: Bug 5287
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] 7+ messages in thread
* [Bug target/5287] [3.3/3.4 regression] [mingw/cygwin] ICE with dllimport (two other testcases)
[not found] <20020106022600.5287.vladakk@eunet.yu>
` (4 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 14:33 ` dhazeghi at yahoo dot com
6 siblings, 0 replies; 7+ 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=5287
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-07-11 12:14 -------
Subject: Bug 5287
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] 7+ messages in thread
* [Bug target/5287] [3.3/3.4 regression] [mingw/cygwin] ICE with dllimport (two other testcases)
[not found] <20020106022600.5287.vladakk@eunet.yu>
` (5 preceding siblings ...)
2003-07-11 12:14 ` cvs-commit at gcc dot gnu dot org
@ 2003-07-11 14:33 ` dhazeghi at yahoo dot com
6 siblings, 0 replies; 7+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-11 14: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=5287
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From dhazeghi at yahoo dot com 2003-07-11 14:33 -------
Fixed with Danny's patch (confirmed).
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-07-11 14:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20020106022600.5287.vladakk@eunet.yu>
2003-06-04 2:39 ` [Bug target/5287] [3.3/3.4 regression] [mingw/cygwin] ICE with dllimport (two other testcases) giovannibajo@libero.it
2003-06-08 18:45 ` 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 14:33 ` dhazeghi at yahoo dot com
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).