public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4202: position of __declspec(dllexport) can cause ICE
@ 2001-11-08  2:06 lerdsuwa
  0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2001-11-08  2:06 UTC (permalink / raw)
  To: gcc-bugs, gcc-gnats, gcc-prs, jcgregorio, nobody

Synopsis: position of __declspec(dllexport) can cause ICE

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Nov 16 23:45:47 2001
State-Changed-Why:
    Confirmed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4202&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c++/4202: position of __declspec(dllexport) can cause ICE
@ 2001-11-08  6:16 lerdsuwa
  0 siblings, 0 replies; 3+ messages in thread
From: lerdsuwa @ 2001-11-08  6:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: lerdsuwa@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  jcgregorio@computer.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/4202: position of __declspec(dllexport) can cause ICE
Date: 17 Nov 2001 07:45:47 -0000

 Synopsis: position of __declspec(dllexport) can cause ICE
 
 State-Changed-From-To: open->analyzed
 State-Changed-By: lerdsuwa
 State-Changed-When: Fri Nov 16 23:45:47 2001
 State-Changed-Why:
     Confirmed.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4202&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c++/4202: position of __declspec(dllexport) can cause ICE
@ 2001-09-01 19:06 jcgregorio
  0 siblings, 0 replies; 3+ messages in thread
From: jcgregorio @ 2001-09-01 19:06 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4202
>Category:       c++
>Synopsis:       position of __declspec(dllexport) can cause ICE
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 01 19:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     jcgregorio@computer.org
>Release:        unknown-1.0
>Organization:
>Environment:
Reading specs from /usr/lib/gcc-lib/i586-pc-cygwin/3.0.1/specs
Configured with: ../gcc-3.0.1/configure --prefix=/usr --with-enabled-gettext --enable-sjlj-exceptions --enable-languages=c,c++
Thread model: single
gcc version 3.0.1
>Description:
When compiling the attached code an internal compiler error is generated:

g++ -v --save-temps example5.cpp
Reading specs from /usr/lib/gcc-lib/i586-pc-cygwin/3.0.1/specs
Configured with: ../gcc-3.0.1/configure --prefix=/usr --with-enabled-gettext --enable-sjlj-exceptions --enable-languages=c,c++
Thread model: single
gcc version 3.0.1
 /usr/lib/gcc-lib/i586-pc-cygwin/3.0.1/cpp0.exe -lang-c++ -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=1 -D_X86_=1 -D_X86_=1 -Asystem=winnt -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i586__ -D__tune_pentium__ -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D_stdcall=__attribute__((__stdcall__)) -D_cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -D__i386__ -D__i386 -D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -isystem /usr/local/include -idirafter /usr/include -idirafter /usr/include/w32api example5.cpp example5.ii
ignoring nonexistent directory "/usr/local/include"
GNU CPP version 3.0.1 (cpplib) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 /usr/include/g++-v3
 /usr/include/g++-v3/i586-pc-cygwin
 /usr/include/g++-v3/backward
 /usr/lib/gcc-lib/i586-pc-cygwin/3.0.1/include
 /usr/include
 /usr/include/w32api
End of search list.
 /usr/lib/gcc-lib/i586-pc-cygwin/3.0.1/cc1plus.exe -fpreprocessed example5.ii -quiet -dumpbase example5.cpp -version -o example5.s
GNU CPP version 3.0.1 (cpplib) (80386, BSD syntax)
GNU C++ version 3.0.1 (i586-pc-cygwin)
	compiled by GNU C version 3.0.1.
example5.cpp:7: Internal compiler error in tree_low_cst, at tree.c:3462
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
>How-To-Repeat:

>Fix:
The crash can be avoided by moving the __declspec(dllexport)
to the beginning of each declaration.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="example5.ii"; name="example5.ii"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="example5.ii"

IyAxICJleGFtcGxlNS5jcHAiCmNsYXNzIF9fYXR0cmlidXRlX18oKGRsbGV4cG9ydCkpIEJhc2Ug
ewoKfTsKCgp0ZW1wbGF0ZSA8Y2xhc3MgVD4KY2xhc3MgX19hdHRyaWJ1dGVfXygoZGxsZXhwb3J0
KSkgQSA6IHB1YmxpYyBCYXNlIHsKCn07Cg==


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-17  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-08  2:06 c++/4202: position of __declspec(dllexport) can cause ICE lerdsuwa
  -- strict thread matches above, loose matches on Subject: below --
2001-11-08  6:16 lerdsuwa
2001-09-01 19:06 jcgregorio

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).