Ping: [PATCH] wwwdocs: Add D front-end section for GCC 10 changes

Iain Buclaw ibuclaw@gdcproject.org
Thu May 7 14:04:22 GMT 2020


Hi,

Updated the patch to include missed changes, and slighted reworded some entries
to make them clearer/read easier.

OK to commit?

Iain.

---
 htdocs/gcc-10/changes.html | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
index 41c2dc0d..f10cfd56 100644
--- a/htdocs/gcc-10/changes.html
+++ b/htdocs/gcc-10/changes.html
@@ -432,6 +432,41 @@ a work-in-progress.</p>
   </li>
 </ul>
 
+<h3 id="d">D</h3>
+<ul>
+  <li>Support for <code>static foreach</code> has been implemented.</li>
+  <li>Aliases can now be created directly from any <code>__trait</code> that
+      return symbols or tuples.  Previously, an <code>AliasSeq</code> was
+      necessary in order to alias their return.
+  </li>
+  <li>It is now possible to detect the language ABI specified for a struct,
+      class, or interface using <code>__traits(getLinkage, ...)</code>
+  <li>Support for <code>core.math.toPrec</code> intrinsics have been added.
+      These intrinsics guarantee the rounding to specific floating-point
+      precisions at required points in the code.
+  </li>
+  <li>Support for <code>pragma(inline)</code> has been implemented.  Previously
+      the pragma was recognized, but had no effect on the compilation.
+  </li>
+  <li>Optional parentheses in <code>asm</code> operands are now deprecated and
+      will be removed in a future release.
+  </li>
+  <li>All content imported files are now included in the make dependency list
+      when compiling with <code>-M</code>.
+  </li>
+  <li>Compiler recognized attributes provided by the <code>gcc.attribute</code>
+      module will now take effect when applied to function prototypes as well
+      as when applied to full function declarations.
+  </li>
+  <li>Added <code>--enable-libphobos-checking</code> configure option to
+      control whether run-time checks are compiled into the D runtime library.
+  </li>
+  <li>Added <code>--with-libphobos-druntime-only</code> configure option to
+      allow specifying whether to build only the core D runtime library, or
+      both the core and standard libraries into libphobos.
+  </li>
+</ul>
+
 <h3 id="fortran">Fortran</h3>
 <ul>
   <li><code>use_device_addr</code> of version 5.0 of the


More information about the Gcc-patches mailing list