public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs] 4.9/changes.html: Mention -Wopenmp-simd/-fsimd-cost-model; Fortran update
@ 2014-02-18  8:55 Tobias Burnus
  2015-04-12 21:52 ` Gerald Pfeifer
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Burnus @ 2014-02-18  8:55 UTC (permalink / raw)
  To: gcc-patches, fortran; +Cc: Jakub Jelinek, Gerald Pfeifer

Hi all,

is the wording okay - and/or do you have further suggestions?

Tobias


Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.9/changes.html,v
retrieving revision 1.55
diff -p -u -r1.55 changes.html
--- changes.html        17 Feb 2014 08:01:18 -0000      1.55
+++ changes.html        18 Feb 2014 08:53:48 -0000
@@ -94,7 +94,12 @@
     <li>Version 4.0 of the <a href="http://openmp.org/wp/openmp-specifications/"
        >OpenMP specification</a> is now supported for the C and C++ compilers.
        The new <code>-fopenmp-simd</code> option can be used to enable OpenMP's
-       SIMD directives, while ignoring other OpenMP directives.</li>
+       SIMD directives, while ignoring other OpenMP directives. The new <a
+        href="http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fsimd-cost-model-908"
+        ><code>-fsimd-cost-model</code></a> option permits to tune the
+        vectorization cost model for loops annotated with OpenMP and Cilk
+        Plus simd directives; <code>-Wopenmp-simd</code> warns when the
+        current costmodel overrides simd directive set by the user.</li>
     <li>The <code>-Wdate-time</code> option has been added for the C, C++ and
        Fortran compilers, which warns when the <code>__DATE__</code>,
        <code>__TIME__</code> or <code>__TIMESTAMP__</code> macros are used.
@@ -217,7 +222,7 @@ void f(int n) {
 <blockquote><pre>
 class A;
 int bar(int n);
-#if __cplusplus > 201103
+#if __cplusplus &gt; 201103
 class [[deprecated("A is deprecated in C++14; Use B instead")]] A;
 [[deprecated("bar is unsafe; use foo() instead")]]
 int bar(int n);
@@ -333,6 +338,12 @@ auto incr = [](auto x) { return x++; };
         Fortran 2008, the standard explicitly states that variables declared
         in the Fortran main program automatically have the <code>SAVE</code>
         attribute.</li>
+      <li>When opening files, the close-on-exec flag is set if the system
+        supports such a feature. This is generally considered good practice
+        these days, but if there is a need to pass file descriptors to child
+        processes the parent process must now remember to clear the
+        close-on-exec flag by calling <code>fcntl()</code>, e.g. via
+        <code>ISO_C_BINDING</code>, before executing the child process.</li>
     </ul></li>
     <li>The deprecated command-line option <code>-fno-whole-file</code>
       has been removed. (<code>-fwhole-file</code> is the default since
@@ -376,6 +387,13 @@ auto incr = [](auto x) { return x++; };
         href="http://gcc.gnu.org/onlinedocs/gfortran/Debugging-Options.html"
         >-ffpe-summary=</a></code> command-line option can be used to fine-tune
         for which exception the warning should be shown.</li>
+      <li>Rounding on input (<code>READ</code>) is now handled on systems where
+        <code>strtod</code> honours the rounding mode. (For output, rounding is
+        supported since GCC 4.5.) Note that for input, the
+        <code>compatible</code> rounding mode is handled as <code>nearest</code>
+        (i.e., for a tie, rounding to an even last significant
+        [cf. IEC 60559:1989] &ndash; while <code>compatible</code> rounds away
+        from zero for a tie).
     </ul></li>
   </ul>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [wwwdocs] 4.9/changes.html: Mention -Wopenmp-simd/-fsimd-cost-model; Fortran update
  2014-02-18  8:55 [wwwdocs] 4.9/changes.html: Mention -Wopenmp-simd/-fsimd-cost-model; Fortran update Tobias Burnus
@ 2015-04-12 21:52 ` Gerald Pfeifer
  2015-06-28 15:21   ` Gerald Pfeifer
  0 siblings, 1 reply; 3+ messages in thread
From: Gerald Pfeifer @ 2015-04-12 21:52 UTC (permalink / raw)
  To: Tobias Burnus, Tobias Burnus; +Cc: gcc-patches, fortran, Jakub Jelinek

[ Tobias, your burnus@net-b.de account just bounced with "mailbox full"! ]

On Tue, 18 Feb 2014, Tobias Burnus wrote:
> is the wording okay - and/or do you have further suggestions?

Here are some suggestions on top of the existing text.

Remove a comma and break a long sentence in the SIMD section.
Use "least significant" instead of "last significant" when
refering to rounding and simplify a sentence in the Fortran
section.

I have not committed this yet since the sentence on rounding
really feels rather weird.  Should there be something like
"whereas compatible would round..." (as opposed to "rounds")?

Gerald

Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.9/changes.html,v
retrieving revision 1.85
diff -u -r1.85 changes.html
--- changes.html	8 Apr 2015 10:33:06 -0000	1.85
+++ changes.html	12 Apr 2015 21:47:26 -0000
@@ -127,11 +127,11 @@
 	>OpenMP specification</a> is now supported in the C and C++ compilers
 	and starting with the 4.9.1 release also in the Fortran compiler.
 	The new <code>-fopenmp-simd</code> option can be used to enable OpenMP's
-	SIMD directives, while ignoring other OpenMP directives. The new <a
+	SIMD directives while ignoring other OpenMP directives. The new <a
 	href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Optimize-Options.html#index-fsimd-cost-model-908"
 	><code>-fsimd-cost-model=</code></a> option permits to tune the
 	vectorization cost model for loops annotated with OpenMP and Cilk
-	Plus <code>simd</code> directives; <code>-Wopenmp-simd</code> warns when
+	Plus <code>simd</code> directives. <code>-Wopenmp-simd</code> warns when
 	the current cost model overrides simd directives set by the user.</li>
     <li>The <code>-Wdate-time</code> option has been added for the C, C++ and
 	Fortran compilers, which warns when the <code>__DATE__</code>,
@@ -459,9 +459,9 @@
         <code>strtod</code> honours the rounding mode. (For output, rounding is
         supported since GCC 4.5.) Note that for input, the
         <code>compatible</code> rounding mode is handled as <code>nearest</code>
-        (i.e., for a tie, rounding to an even last significant
-        [cf. IEC 60559:1989] &ndash; while <code>compatible</code> rounds away
-        from zero for a tie).</li>
+        (i.e., rounding to an even least significant [cf. IEC 60559:1989]
+        for a tie, while <code>compatible</code> rounds away from zero in
+        that case).</li>
     </ul></li>
   </ul>
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [wwwdocs] 4.9/changes.html: Mention -Wopenmp-simd/-fsimd-cost-model; Fortran update
  2015-04-12 21:52 ` Gerald Pfeifer
@ 2015-06-28 15:21   ` Gerald Pfeifer
  0 siblings, 0 replies; 3+ messages in thread
From: Gerald Pfeifer @ 2015-06-28 15:21 UTC (permalink / raw)
  To: Tobias Burnus, Tobias Burnus; +Cc: gcc-patches, fortran, Jakub Jelinek

No feedback, so I now went ahead and applied this.

Tobias, if you have any suggestions, please advise.

Gerald

On Sun, 12 Apr 2015, Gerald Pfeifer wrote:
> [ Tobias, your burnus@net-b.de account just bounced with "mailbox full"! ]
> 
> On Tue, 18 Feb 2014, Tobias Burnus wrote:
>> is the wording okay - and/or do you have further suggestions?
> 
> Here are some suggestions on top of the existing text.
> 
> Remove a comma and break a long sentence in the SIMD section.
> Use "least significant" instead of "last significant" when
> refering to rounding and simplify a sentence in the Fortran
> section.
> 
> I have not committed this yet since the sentence on rounding
> really feels rather weird.  Should there be something like
> "whereas compatible would round..." (as opposed to "rounds")?
> 
> Gerald
> 
> Index: changes.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.9/changes.html,v
> retrieving revision 1.85
> diff -u -r1.85 changes.html
> --- changes.html	8 Apr 2015 10:33:06 -0000	1.85
> +++ changes.html	12 Apr 2015 21:47:26 -0000
> @@ -127,11 +127,11 @@
>  	>OpenMP specification</a> is now supported in the C and C++ compilers
>  	and starting with the 4.9.1 release also in the Fortran compiler.
>  	The new <code>-fopenmp-simd</code> option can be used to enable OpenMP's
> -	SIMD directives, while ignoring other OpenMP directives. The new <a
> +	SIMD directives while ignoring other OpenMP directives. The new <a
>  	href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Optimize-Options.html#index-fsimd-cost-model-908"
>  	><code>-fsimd-cost-model=</code></a> option permits to tune the
>  	vectorization cost model for loops annotated with OpenMP and Cilk
> -	Plus <code>simd</code> directives; <code>-Wopenmp-simd</code> warns when
> +	Plus <code>simd</code> directives. <code>-Wopenmp-simd</code> warns when
>  	the current cost model overrides simd directives set by the user.</li>
>      <li>The <code>-Wdate-time</code> option has been added for the C, C++ and
>  	Fortran compilers, which warns when the <code>__DATE__</code>,
> @@ -459,9 +459,9 @@
>          <code>strtod</code> honours the rounding mode. (For output, rounding is
>          supported since GCC 4.5.) Note that for input, the
>          <code>compatible</code> rounding mode is handled as <code>nearest</code>
> -        (i.e., for a tie, rounding to an even last significant
> -        [cf. IEC 60559:1989] &ndash; while <code>compatible</code> rounds away
> -        from zero for a tie).</li>
> +        (i.e., rounding to an even least significant [cf. IEC 60559:1989]
> +        for a tie, while <code>compatible</code> rounds away from zero in
> +        that case).</li>
>      </ul></li>
>    </ul>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-28 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18  8:55 [wwwdocs] 4.9/changes.html: Mention -Wopenmp-simd/-fsimd-cost-model; Fortran update Tobias Burnus
2015-04-12 21:52 ` Gerald Pfeifer
2015-06-28 15:21   ` Gerald Pfeifer

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).