This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch not applied (was: PATCH to generate error for address of cast)
- From: Matt Austern <austern at apple dot com>
- To: Matthias Klose <doko at cs dot tu-berlin dot de>
- Cc: Jason Merrill <jason at redhat dot com>, Nathan Sidwell <nathan at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 3 Jan 2003 12:05:34 -0800
- Subject: Re: Patch not applied (was: PATCH to generate error for address of cast)
On Sunday, December 29, 2002, at 07:15 AM, Matthias Klose wrote:
The patch mentioned in
http://gcc.gnu.org/ml/gcc-patches/2002-08/msg01270.html
wasn't applied, although it seemed to be accepted?
Thanks to Martin v. Loewis for pointing this out.
http://bugs.debian.org/79225 is a related issue.
Eh? Looks to me like it's applied. Doing a simple
test with mainline:
bash-2.05$ cat foo.cc
void foo()
{
int x;
long* p = &((long) x);
}
bash-2.05$ ~/root/bin/g++ -c foo.cc
foo.cc: In function `void foo()':
foo.cc:4: error: non-lvalue in unary `&'
bash-2.05$
--Matt