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++/6262] [3.4 regression] ICE when applying sizeof() to non-static class member


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth@dealii.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From bangerth@dealii.org  2003-06-16 19:12 -------
Seems fixed now, i.e. the ICE is gone now. The different error message is
ok, I guess, since gcc tries another thing in the member function, namely
whether this might be a member variable that is implicitly accessible through
the this pointer, but then realizes that it indeed is a member variable
but not in a class accessible through this->. This second possibility doesn't
exist in a global function, thus the different error message.

W.


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