public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5624: Strange bug with preprocessed file containing structs
@ 2002-02-10 18:16 rth
0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2002-02-10 18:16 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, reichelt, rth
Synopsis: Strange bug with preprocessed file containing structs
Responsible-Changed-From-To: unassigned->rth
Responsible-Changed-By: rth
Responsible-Changed-When: Sun Feb 10 18:16:29 2002
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Sun Feb 10 18:16:29 2002
State-Changed-Why:
http://gcc.gnu.org/ml/gcc-patches/2002-02/msg00690.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5624
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/5624: Strange bug with preprocessed file containing structs
@ 2002-02-07 10:46 reichelt
0 siblings, 0 replies; 2+ messages in thread
From: reichelt @ 2002-02-07 10:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 5624
>Category: c++
>Synopsis: Strange bug with preprocessed file containing structs
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Feb 07 10:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: reichelt@igpm.rwth-aachen.de
>Release: gcc version 3.1 20020204 (experimental)
>Organization:
>Environment:
mips-sgi-irix6.5, i686-pc-linux-gnu
>Description:
Create a file named "funny.ii" with the following contents:
------------------snip here ----------
# 1 "funny.cpp"
struct A
{
struct B { B(); };
};
static A::B b;
------------------snip here ----------
Make sure that there is no file named "funny.cpp"
and start the compiler with "g++ -c funny.ii".
Then you'll get the following ICE:
funny.cpp:6: Internal compiler error in append_random_chars, at tree.c:4484
Please submit a full bug report, [etc.]
If there exists a file "funny.cpp" (even if it's empty)
the file compiles fine.
Remark:
This bug was distilled from the file repmap.ii in PR 4286.
In repmap.ii we have A == ios_base and B == Init.
Because of this bug the original testcase in PR4286
(repmap.ii) still produces an ICE (using g++ -c repmap.ii),
although one bug (the one in the reduced test case) was
fixed and the PR was closed.
>How-To-Repeat:
g++ -c funny.ii
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-11 2:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-10 18:16 c++/5624: Strange bug with preprocessed file containing structs rth
-- strict thread matches above, loose matches on Subject: below --
2002-02-07 10:46 reichelt
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).