c++/8534: [3.3 regression] When compiling qt contradicting aliasing class created for bitfield constructor
ehrhardt@mathematik.uni-ulm.de
ehrhardt@mathematik.uni-ulm.de
Thu Dec 5 07:19:00 GMT 2002
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
More information about the Gcc-prs
mailing list