A bug in the current released GCC 4.0.0

Andrew Pinski pinskia@physics.uc.edu
Sat Apr 23 16:07:00 GMT 2005


On Apr 23, 2005, at 6:35 AM, 聂久焘 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



More information about the Gcc mailing list