This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Reference-to-pointer argument bug?
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: jsalz-gcc at mail dot jsalz dot net
- Cc: gcc at gcc dot gnu dot org
- Date: 16 Sep 2003 20:45:46 +0200
- Subject: Re: Reference-to-pointer argument bug?
- Organization: Integrable Solutions
- References: <Pine.LNX.4.44.0309161430140.5031-100000@anomaly.jsalz.net>
jsalz-gcc@mail.jsalz.net writes:
| Thought I'd see if I'm thinking straight before I file a bug report...
|
| Shouldn't the following be illegal? (It compiles fine under g++ 3.3.1.)
yes. In principle, it is fixed in the upcoming GCC-3.4.
(as a by-product of cast-as-lvalue extension removal).
-- Gaby