public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Benjamin De Kosnik <bkoz@redhat.com>
To: gcc-patches@gcc.gnu.org
Subject: Re: [wwwdocs] gcc-4.8/porting_to.html
Date: Thu, 14 Mar 2013 01:23:00 -0000	[thread overview]
Message-ID: <20130313182300.42fcbc3e@oakwood> (raw)
In-Reply-To: <20130313172850.49f4b3d7@oakwood>

[-- Attachment #1: Type: text/plain, Size: 89 bytes --]


> Here is round two, as checked-in.

... and here are the validation patches.

-benjamin

[-- Attachment #2: 20130313-4.www.patch --]
[-- Type: text/x-patch, Size: 3084 bytes --]

2013-03-13  Benjamin Kosnik  <bkoz@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 &lt; 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 = &amp;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&lt;typename _Tp&gt;
    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>
  

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 20130313-5.www.patch --]
[-- Type: text/x-patch, Size: 938 bytes --]

2013-03-13  Benjamin Kosnik  <bkoz@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>

  reply	other threads:[~2013-03-14  1:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-13  9:29 Benjamin De Kosnik
2013-03-13 10:01 ` Tobias Burnus
2013-03-14  0:28   ` Benjamin De Kosnik
2013-03-14  1:23     ` Benjamin De Kosnik [this message]
2013-03-14 11:10     ` Alexander Monakov
2013-03-14 11:21       ` Jakub Jelinek
2013-03-13 10:27 ` Mikael Pettersson
2013-03-13 10:37   ` Alexander Monakov
2013-03-13 10:51     ` Mikael Pettersson
2013-03-14  0:26     ` Benjamin De Kosnik
2015-04-12 11:02 ` Gerald Pfeifer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130313182300.42fcbc3e@oakwood \
    --to=bkoz@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).