This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: A bug in the current released GCC 4.0.0



On Apr 23, 2005, at 6:35 AM, ~{Dt>Clb~} wrote:


Hello,

I casually found a bug in the current released GCC 4.0.0. However, I
have located the wrong code, and it's very easy to be fixed, so it's not
necessary to still submit a bug report. See the following artificial
C++ code:


	int *x;
	void f()
	{
		do
		{
			const int *&rx = (const int*&)(x);
			rx = 0;
		}while( *x );
	}

This PR 21167 and 21173.


-- Pinski


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