This is the mail archive of the gcc-prs@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]

Re: c++/2239


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


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