bug 2645 and restrict

Mark Mitchell mark@codesourcery.com
Thu Apr 26 10:14:00 GMT 2001


>>>>> "Nathan" == Nathan Sidwell <nathan@codesourcery.com> writes:

    Nathan> The standard says typedef int &ref_t; ref_t const thing =
    Nathan> i; is legal, and thing has type `int &'. so, should
    Nathan> typedef int i_t; i_t __restrict__ thing; be legal with
    Nathan> thing having type `int'?

Boy, I have no idea.  But I guess accepting it for consistency makes
sense to me.

Thanks,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc mailing list