This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13663] [3.3/3.4/3.5 regression] gcc segfaults on/accepts invalid use of member
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2004 14:25:55 -0000
- Subject: [Bug c++/13663] [3.3/3.4/3.5 regression] gcc segfaults on/accepts invalid use of member
- References: <20040112235903.13663.richard@garandnet.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-01-26 14:25 -------
Just saying "b.foo" is taking the address of a bound member function
IIRC (one of the many gcc extensions). We then don't do anything with
this; that's a valid thing to do in the third clause of the for(;;)
statement.
It's nonsensical anyway.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13663