This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/26740] [4.2 regression] ICE taking the address of a bound member function



------- Comment #3 from reichelt at gcc dot gnu dot org  2006-03-24 17:08 -------
The following code should compile with -fpermissive or -fms-extensions.
So changing to ice-on-valid-code.

======================================
struct A
{
    void foo();
};

void bar()
{
    &A().foo;
}
======================================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|error-recovery, ice-on-     |ice-on-valid-code, monitored
                   |invalid-code                |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]