[Bug c++/26036] [4.0/4.1/4.2 Regression] Treating a class object as a function with member variables causes hang

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 2 09:55:00 GMT 2006



------- Comment #4 from reichelt at gcc dot gnu dot org  2006-02-02 09:54 -------
Here's a simpler testcase with only one error:

=======================
struct A
{
    int i;
};

A foo(int);

void bar()
{
    foo().i;
}
=======================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26036



More information about the Gcc-bugs mailing list