This is the mail archive of the gcc-patches@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: [patch] handle restrict at tree level


On Sun, 4 Jul 2004, Ayal Zaks wrote:

> swapped. Looking at Example 3 in the C99 standard (published version;
> preliminary online version has this wrong!), read-after-read aliased cases
> are permitted.

The change to the semantics of restrict (to allow one writer or many
readers, so C99 could at least be optimized as well as F77 in this regard)
was one of the few major changes in the FDIS, and an illustration of why
people should never rely on old drafts of a standard after the final
standard has been approved and published.  It's also one of the changes
the UK successfully got into C99 (public comment PC-UK0118 from Nick
Maclaren) amidst many comments that were considered to be inadequately
addressed, despite our terrible reputation in WG14 (some of which may stem
from then).

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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