Patchwork [wwwdocs] gcc-4.7/porting_to.html

login
register
mail settings
Submitter Benjamin Kosnik
Date Jan. 12, 2012, 7:51 p.m.
Message ID <20120112115129.4de026a5@shotwell>
Download mbox | patch
Permalink /patch/135687/
State New
Headers show

Comments

Benjamin Kosnik - Jan. 12, 2012, 7:51 p.m.
Here's the page with links, more validation fixes, and removal of the C
item. 

best,
Benjamin

Patch

2012-01-12  Benjamin Kosnik  <bkoz@redhat.com>

        * htdocs/gcc-4.7/porting_to.html: Fixup for validation.
        * htdocs/gcc-4.7/changes.html: Add link to porting_to.html.
        * htdocs/gcc-4.6/changes.html: Add link to porting_to.html.



Index: htdocs/gcc-4.6/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v
retrieving revision 1.136
diff -c -p -r1.136 changes.html
*** htdocs/gcc-4.6/changes.html	30 Oct 2011 12:55:43 -0000	1.136
--- htdocs/gcc-4.6/changes.html	12 Jan 2012 19:33:38 -0000
***************
*** 125,130 ****
--- 125,134 ----
      <a href="../gcc-4.5/changes.html#obsoleted">configurations obsoleted
      in GCC 4.5</a>.</li>
  
+     <li>More information on porting to GCC 4.6 from previous versions
+     of GCC can be found in
+     the <a href="http://gcc.gnu.org/gcc-4.6/porting_to.html">porting
+     guide</a> for this release.</li>
  </ul>
  
  <h2>General Optimizer Improvements</h2>
Index: htdocs/gcc-4.7/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v
retrieving revision 1.72
diff -c -p -r1.72 changes.html
*** htdocs/gcc-4.7/changes.html	30 Dec 2011 23:56:48 -0000	1.72
--- htdocs/gcc-4.7/changes.html	12 Jan 2012 19:33:38 -0000
***************
*** 50,55 ****
--- 50,60 ----
  
      <li>Support has been removed for the NetWare x86 configuration
      obsoleted in GCC 4.6.</li>
+ 
+     <li>More information on porting to GCC 4.7 from previous versions
+     of GCC can be found in
+     the <a href="http://gcc.gnu.org/gcc-4.7/porting_to.html">porting
+     guide</a> for this release.</li>
    </ul>
  
  
Index: htdocs/gcc-4.7/porting_to.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/porting_to.html,v
retrieving revision 1.4
diff -c -p -r1.4 porting_to.html
*** htdocs/gcc-4.7/porting_to.html	12 Jan 2012 19:30:54 -0000	1.4
--- htdocs/gcc-4.7/porting_to.html	12 Jan 2012 19:33:38 -0000
*************** Invalid options need to be removed from 
*** 54,76 ****
  by something that is valid.
  </p>
  
- <h2>C language issues</h2>
- 
- <h3>Boolean type promotion changes</h3>
- 
- <p>
- The C compiler no longer promotes boolean values in arithmetic
- statements to integer values. Configure-related code that checks for
- C99's &lt;stdbool.h&gt; may be impacted. If the following line is
- newly present in configure logs, then &lt;stdbool.h&gt; support is
- incorrectly configured.
- </p>
- 
- <pre>
- checking for stdbool.h that conforms to C99... no
- </pre>
- 
- 
  <h2>C++ language issues</h2>
  
  <h3>Header dependency changes</h3>
--- 54,59 ----
*************** const char *p = &ldquo;foobar&rdquo;__TI
*** 237,248 ****
  <p>In C++03, the <code>__TIME__</code> macro expands to some string
  literal and is concatenated with the other one.  In
  C++11 <code>__TIME__</code> isn't expanded, instead operator
! "" <code>__TIME__</code> is being looked up, resulting in the
  following diagnostic:
  </p>
  
  <pre>
!  error: unable to find string literal operator &lsquo;operator&ldquo;&rdquo; __TIME__&rsquo;
  </pre>
  
  <p>
--- 220,232 ----
  <p>In C++03, the <code>__TIME__</code> macro expands to some string
  literal and is concatenated with the other one.  In
  C++11 <code>__TIME__</code> isn't expanded, instead operator
! &ldquo;&rdquo; <code>__TIME__</code> is being looked up, resulting in the
  following diagnostic:
  </p>
  
  <pre>
!  error: unable to find string literal operator
!  &lsquo;operator&ldquo;&rdquo; __TIME__&rsquo;
  </pre>
  
  <p>