public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8173: ICE in g++ on compiling Qt-retated code (PerlQt module)
@ 2002-12-02 17:35 reichelt
0 siblings, 0 replies; 3+ messages in thread
From: reichelt @ 2002-12-02 17:35 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, marek.rouchal, nobody
Old Synopsis: Internal error in g++ on compiling Qt-retated code (PerlQt module)
New Synopsis: ICE in g++ on compiling Qt-retated code (PerlQt module)
State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Mon Dec 2 17:35:05 2002
State-Changed-Why:
Confirmed.
The code is in fact illegal, since in x_QTSManip::x_0 we have the expression
(QTSMFI)x[1].s_int
with x[1].s_int being an int and QTSMFI being defined as
typedef int (QTextStream::*QTSMFI)(int);
Mainline correctly reports
x_QTSManip.cpp: In static member function `static void
x_QTSManip::x_0(Smoke::StackItem*)':
x_QTSManip.cpp:10: error: invalid conversion from 'int' to 'int
(QTextStream::*)(int)'
However, gcc 2.95.x - 3.2.1 fail with an ICE.
A reduced testcase is the following:
-----------------------snip here--------------------------
struct A
{
typedef int (A::* P)(int);
A(P);
};
A a((A::P)1);
-----------------------snip here--------------------------
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8173
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/8173: ICE in g++ on compiling Qt-retated code (PerlQt module)
@ 2003-04-02 15:16 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-04-02 15:16 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, marek.rouchal, nobody
Synopsis: ICE in g++ on compiling Qt-retated code (PerlQt module)
State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Wed Apr 2 15:16:35 2003
State-Changed-Why:
Fixed in 3.3 and mainline. Not a regression, so I close it.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8173
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/8173: ICE in g++ on compiling Qt-retated code (PerlQt module)
@ 2003-04-02 2:36 Giovanni Bajo
0 siblings, 0 replies; 3+ messages in thread
From: Giovanni Bajo @ 2003-04-02 2:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/8173; it has been noted by GNATS.
From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
<marek.rouchal@infineon.com>,
<gcc-bugs@gcc.gnu.org>,
<nobody@gcc.gnu.org>,
<gcc-prs@gcc.gnu.org>
Cc: "Wolfgang Bangerth" <bangerth@ices.utexas.edu>
Subject: Re: c++/8173: ICE in g++ on compiling Qt-retated code (PerlQt module)
Date: Wed, 2 Apr 2003 04:29:24 +0200
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=8173
Since this is fixed in the mainline and it's not a regression, I assume it
should be closed.
Giovanni Bajo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-02 15:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-02 17:35 c++/8173: ICE in g++ on compiling Qt-retated code (PerlQt module) reichelt
2003-04-02 2:36 Giovanni Bajo
2003-04-02 15:16 bangerth
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).