This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2239
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/2239
- From: rodrigc at gcc dot gnu dot org
- Date: 13 Mar 2001 03:46:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: rodrigc at gcc dot gnu dot org
The following reply was made to PR c++/2239; it has been noted by GNATS.
From: rodrigc@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, mat.hounsell@excite.com, nobody@gcc.gnu.org
Cc:
Subject: Re: c++/2239
Date: 13 Mar 2001 03:44:31 -0000
Synopsis: Use of an undeclared variable is handled but causes an Internal compiler error in weird places.
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Mon Mar 12 19:44:31 2001
State-Changed-Why:
Your test case is not legal C++ and doesn't even compile:
a.cc:3: uninitialized const `arr'
a.cc: In function `void f()':
a.cc:8: cannot convert `const int*' to `void*' for argument `1' to `void*
memset(void*, int, unsigned int)'
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2239&database=gcc