On 10/25/16 12:50 PM, Peter Bergner wrote:
> On 10/25/16 12:17 PM, Gerald Pfeifer wrote:
>> Perhaps add a disclaimer at the top of changes.html that this
>> is still work in progress as part of that commit?
> 
> Do you mean like the following?  If so, we'd have to remember to remove
> the last hunk when GCC 7 is released.

...unless we want to add a little PHP (would need to rename changes.html
to changes.php) to test for a file that is created upon release.  Thoughts?

Peter


Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/changes.html,v
retrieving revision 1.20
diff -u -r1.20 changes.html
--- changes.html        25 Oct 2016 02:04:00 -0000      1.20
+++ changes.html        26 Oct 2016 16:22:51 -0000
@@ -19,6 +19,14 @@
 </p>
 
 <!-- .................................................................. -->
+<?php
+if (!is_file("buildstat.html")) {
+  echo "<h2>Disclaimer: GCC 7 has not been released yet, so this document is
+a work-in-progress.</h2>";
+}
+?> 
+
+<!-- .................................................................. -->
 <h2>Caveats</h2>
 <ul>
   <li>GCC now uses <a href="https://gcc.gnu.org/wiki/LRAIsDefault";>LRA by

Reply via email to