> Here is round two, as checked-in.
... and here are the validation patches.
-benjamin
2013-03-13 Benjamin Kosnik <b...@redhat.com>
* htdocs/gcc-4.8/porting_to.html: Fix markup.
* htdocs/gcc-4.8/changes.html: Same.
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v
retrieving revision 1.107
diff -c -p -r1.107 changes.html
*** changes.html 14 Mar 2013 00:25:06 -0000 1.107
--- changes.html 14 Mar 2013 01:09:43 -0000
*************** by this change.</p>
*** 59,65 ****
of GCC can be found in
the <a href="http://gcc.gnu.org/gcc-4.8/porting_to.html">porting
guide</a> for this release.
! <p>
<h2>General Optimizer Improvements (and Changes)</h2>
--- 59,65 ----
of GCC can be found in
the <a href="http://gcc.gnu.org/gcc-4.8/porting_to.html">porting
guide</a> for this release.
! </p>
<h2>General Optimizer Improvements (and Changes)</h2>
Index: porting_to.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/porting_to.html,v
retrieving revision 1.1
diff -c -p -r1.1 porting_to.html
*** porting_to.html 14 Mar 2013 00:25:06 -0000 1.1
--- porting_to.html 14 Mar 2013 01:09:43 -0000
*************** unsigned int foo()
*** 60,66 ****
{
unsigned int data_data[128];
! for (int fd = 0; fd < 128; ++fd)
data_data[fd] = fd * (0x02000001); // error
return data_data[0];
--- 60,66 ----
{
unsigned int data_data[128];
! for (int fd = 0; fd < 128; ++fd)
data_data[fd] = fd * (0x02000001); // error
return data_data[0];
*************** struct A { };
*** 101,107 ****
int main(void)
{
A obj;
! A* p1 = &obj;
A p2[10];
memset(p1, 0, sizeof(p1)); // error
--- 101,107 ----
int main(void)
{
A obj;
! A* p1 = &obj;
A p2[10];
memset(p1, 0, sizeof(p1)); // error
*************** offending memset call.</p>
*** 129,134 ****
--- 129,135 ----
<p>As a workaround, use
<code>-Wno-sizeof-pointer-memaccess</code>.
+ </p>
<h3>Pre-processor pre-includes</h3>
*************** pre-processor may now fail, with the fol
*** 155,161 ****
<p>As a workaround, the stdc-predef.h preinclude can be disabled with
the use of <code>-ffreestanding</code>. For non C/C++ code, use the pre-processor flag <code>-P</code>.
!
<h2>C++ language issues</h2>
--- 156,162 ----
<p>As a workaround, the stdc-predef.h preinclude can be disabled with
the use of <code>-ffreestanding</code>. For non C/C++ code, use the pre-processor flag <code>-P</code>.
! </p>
<h2>C++ language issues</h2>
*************** versions of GCC.
*** 170,176 ****
<p>For example,</p>
<pre>
! template<typename _Tp>
int
foo(_Tp __a)
{
--- 171,177 ----
<p>For example,</p>
<pre>
! template<typename _Tp>
int
foo(_Tp __a)
{
*************** new errors.</p>
*** 197,202 ****
--- 198,204 ----
<p>As a workaround, use
<code>-Wno-unused-local-typedefs</code>.
+ </p>
<h3>Stray comma at the end of declaration now rejected</h3>
2013-03-13 Benjamin Kosnik <b...@redhat.com>
* htdocs/gcc-4.8/porting_to.html: Fix markup.
Index: porting_to.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/porting_to.html,v
retrieving revision 1.2
diff -c -p -r1.2 porting_to.html
*** porting_to.html 14 Mar 2013 01:13:56 -0000 1.2
--- porting_to.html 14 Mar 2013 01:17:37 -0000
*************** error: stray â,â at end of member de
*** 227,233 ****
<p>
Jakub Jelinek,
! <a href="https://lists.fedoraproject.org/pipermail/devel/2013-January/175876.html">Results of a test mass rebuild of rawhide/x86_64 with gcc-4.8.0-0.1.fc19</p>
</body>
--- 227,233 ----
<p>
Jakub Jelinek,
! <a href="https://lists.fedoraproject.org/pipermail/devel/2013-January/175876.html">Results of a test mass rebuild of rawhide/x86_64 with gcc-4.8.0-0.1.fc19</a>
</body>