Re: [wwwdocs] Move gcc/README.Portability to wwwdocs codingconventions.html

2015-06-05 Thread Mikhail Maltsev
05.06.2015 23:45, Ciro Santilli writes: [snip] > +high, consider using __builtin_expect, e.g., like this: > + > + > +if (__builtin_expect (ptr != NULL, 0)) > + free (ptr); > + It's strange, that we don't have macros for this, e.g.: #define likely(x) __builtin_expect(!!(x), 1) #define unlike

Re: [wwwdocs] Move gcc/README.Portability to wwwdocs codingconventions.html

2015-06-05 Thread Joseph Myers
On Fri, 5 Jun 2015, Ciro Santilli wrote: > Mentioned as a FIXME under gcc/doc/sourcebuild.texi > > This converts half of README.Portability to wwwdocs. Since GCC is now in C++, what's compatible with C90 (or with any particular C compiler) is no longer relevant. So the question is what's comp

[wwwdocs] Move gcc/README.Portability to wwwdocs codingconventions.html

2015-06-05 Thread Ciro Santilli
Mentioned as a FIXME under gcc/doc/sourcebuild.texi This converts half of README.Portability to wwwdocs. If you think this is fine, before merging I can convert the rest, and also include the patch to GCC that removes README.Portability and the FIXME. --- htdocs/codingconventions.html2014-07