Re: [PATCH, WWW-DOCS] Deprecate non-standard hexadecimal BOZ constants.

2020-01-15 Thread Tobias Burnus

Hi Mark,

it is more than just 'X' – also B/O/Z when used as postfix ('AB'Z) are 
nonstandard as in general the use outside DATA and a handful of 
intrinsic functions. For instance,  print *, Z'ABC'  is also nonstandard 
and affected by -fallow-invalid-boz. (GCC < 10 silently accepted the 
latter.)


I also come up with a gcc-10/changes.html wording; however, I am sure 
that my wording should be tweaked as well.


See https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00896.html — I 
additionally also modified the diagnostic and the documentation; 
hopefully, in a sensible way.


Thanks,

Tobias

On 1/15/20 3:50 PM, Mark Eggleston wrote:
Add a note the the Fortran changes to the effect that non-standard BOZ 
constants are deprecated.


Is the wording OK?

second attempt this time with attachment!

--
https://www.codethink.co.uk/privacy.html


deprecated.diff

diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
index 8e72bd4..3e73cea 100644
--- a/htdocs/gcc-10/changes.html
+++ b/htdocs/gcc-10/changes.html
@@ -269,6 +269,11 @@ a work-in-progress.
  can be used to disable inline argument packing.


+Deprecating non-standard hexadecimal BOZ constants. Hexadecimal BOZ using 
the
+'X' prefix or suffix e.g. X'ABC' or 'ABC'X will only be allowed with the
+-fallow-invalid-boz option.
+  
+  
  Legacy extensions:
  



[PATCH, WWW-DOCS] Deprecate non-standard hexadecimal BOZ constants.

2020-01-15 Thread Mark Eggleston
Add a note the the Fortran changes to the effect that non-standard BOZ 
constants are deprecated.


Is the wording OK?

second attempt this time with attachment!

--
https://www.codethink.co.uk/privacy.html

diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
index 8e72bd4..3e73cea 100644
--- a/htdocs/gcc-10/changes.html
+++ b/htdocs/gcc-10/changes.html
@@ -269,6 +269,11 @@ a work-in-progress.
 can be used to disable inline argument packing.
   
   
+Deprecating non-standard hexadecimal BOZ constants. Hexadecimal BOZ using the
+'X' prefix or suffix e.g. X'ABC' or 'ABC'X will only be allowed with the
+-fallow-invalid-boz option.
+   
+  
 Legacy extensions:
 
   


[PATCH, WWW-DOCS] Deprecate non-standard hexadecimal BOZ constants

2020-01-15 Thread Mark Eggleston
Add a note the the Fortran changes to the effect that non-standard BOZ 
constants are deprecated.


Is the wording OK?

--
https://www.codethink.co.uk/privacy.html