public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/8534: [3.3 regression] When compiling qt contradicting aliasing class created for bitfield constructor
@ 2002-12-05 7:19 ehrhardt
0 siblings, 0 replies; only message in thread
From: ehrhardt @ 2002-12-05 7:19 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jh, kenner, nobody
Synopsis: [3.3 regression] When compiling qt contradicting aliasing class created for bitfield constructor
State-Changed-From-To: open->analyzed
State-Changed-By: cae
State-Changed-When: Thu Dec 5 07:19:03 2002
State-Changed-Why:
I can confirm this with recent 3.3 on sparc (!), 3.2 works just fine.
The problem can be reduced to the following code snippet:
------------------- snip ---------------------------------
class QWidget
{
public: void repaint( bool erase = 1 );
};
void f (void)
{
typedef void (QWidget::*A)(bool);
A b = &QWidget::repaint;
}
------------------- snip ---------------------------------
The initializer for repaint is mandatory.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8534
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-05 15:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05 7:19 c++/8534: [3.3 regression] When compiling qt contradicting aliasing class created for bitfield constructor ehrhardt
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).