public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: jcgregorio@computer.org To: gcc-gnats@gcc.gnu.org Subject: c++/4202: position of __declspec(dllexport) can cause ICE Date: Sat, 01 Sep 2001 19:06:00 -0000 [thread overview] Message-ID: <20010902015806.8240.qmail@sourceware.cygnus.com> (raw) >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==
next reply other threads:[~2001-09-01 19:06 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-09-01 19:06 jcgregorio [this message] 2001-11-08 2:06 lerdsuwa 2001-11-08 6:16 lerdsuwa
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010902015806.8240.qmail@sourceware.cygnus.com \ --to=jcgregorio@computer.org \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).