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



Reply via email to