Skip to content

Commit 09eb25f

Browse files
authored
[flang][docs] Replace Flang to Classic Flang in old doc (#171558)
This document was written when Flang was known as F18 and Classic Flang was known as Flang. The term "Flang" in this document refers to Classic Flang, except in the first paragraph. Also, a trivial HTML error is fixed.
1 parent 17b13e9 commit 09eb25f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

flang/docs/OptionComparison.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# Compiler options comparison
1010

11-
This document catalogs the options processed by Flang's peers/competitors. Much of the document is taken up by a set of tables that list the options categorized into different topics. Some of the table headings link to more information about the contents of the tables. For example, the table on **Standards conformance** options links to <a href=#standards">notes on Standards conformance</a>.
11+
This document catalogs the options processed by Flang's peers/competitors. Much of the document is taken up by a set of tables that list the options categorized into different topics. Some of the table headings link to more information about the contents of the tables. For example, the table on **Standards conformance** options links to <a href="#standards">notes on Standards conformance</a>.
1212

1313
**There's also important information in the ___[Appendix section](#appendix)___ near the end of the document on how this data was gathered and what ___is___ and ___is not___ included in this document.**
1414

@@ -28,7 +28,7 @@ Note that compilers may support language features without having an option for t
2828
<td><strong>IBM</strong> </td>
2929
<td><strong>Intel</strong> </td>
3030
<td><strong>PGI</strong> </td>
31-
<td><strong>Flang</strong> </td>
31+
<td><strong>Classic Flang</strong> </td>
3232
</tr>
3333
<tr>
3434
<td>Overall conformance </td>
@@ -112,7 +112,7 @@ fall-intrinsics
112112
</td>
113113
<td><strong>PGI</strong>
114114
</td>
115-
<td><strong>Flang</strong>
115+
<td><strong>Classic Flang</strong>
116116
</td>
117117
</tr>
118118
<tr>
@@ -241,7 +241,7 @@ fd-lines-as-comments
241241
</td>
242242
<td><strong>PGI</strong>
243243
</td>
244-
<td><strong>Flang</strong>
244+
<td><strong>Classic Flang</strong>
245245
</td>
246246
</tr>
247247
<tr>
@@ -410,7 +410,7 @@ fd-lines-as-comments
410410
</td>
411411
<td><strong>PGI</strong>
412412
</td>
413-
<td><strong>Flang</strong>
413+
<td><strong>Classic Flang</strong>
414414
</td>
415415
</tr>
416416
<tr>
@@ -471,7 +471,7 @@ fd-lines-as-comments
471471
</td>
472472
<td><strong>PGI</strong>
473473
</td>
474-
<td><strong>Flang</strong>
474+
<td><strong>Classic Flang</strong>
475475
</td>
476476
</tr>
477477
<tr>
@@ -604,7 +604,7 @@ Mr8intrinsics
604604
</td>
605605
<td><strong>PGI</strong>
606606
</td>
607-
<td><strong>Flang</strong>
607+
<td><strong>Classic Flang</strong>
608608
</td>
609609
</tr>
610610
<tr>
@@ -739,7 +739,7 @@ fdefault-integer-8
739739
</td>
740740
<td><strong>PGI</strong>
741741
</td>
742-
<td><strong>Flang</strong>
742+
<td><strong>Classic Flang</strong>
743743
</td>
744744
</tr>
745745
<tr>
@@ -810,7 +810,7 @@ fdefault-integer-8
810810
</td>
811811
<td><strong>PGI</strong>
812812
</td>
813-
<td><strong>Flang</strong>
813+
<td><strong>Classic Flang</strong>
814814
</td>
815815
</tr>
816816
<tr>
@@ -952,7 +952,7 @@ Msave
952952
</td>
953953
<td><strong>PGI</strong>
954954
</td>
955-
<td><strong>Flang</strong>
955+
<td><strong>Classic Flang</strong>
956956
</td>
957957
</tr>
958958
<tr>
@@ -1027,7 +1027,7 @@ Msave
10271027
</td>
10281028
<td><strong>PGI</strong>
10291029
</td>
1030-
<td><strong>Flang</strong>
1030+
<td><strong>Classic Flang</strong>
10311031
</td>
10321032
</tr>
10331033
<tr>
@@ -1098,7 +1098,7 @@ Mcuda
10981098
</td>
10991099
<td><strong>PGI</strong>
11001100
</td>
1101-
<td><strong>Flang</strong>
1101+
<td><strong>Classic Flang</strong>
11021102
</td>
11031103
</tr>
11041104
<tr>
@@ -1220,7 +1220,7 @@ IBM Fortran's options allow the source line length to be specified with the opti
12201220
* **GNU:** For both "ffixed-line-length-_n_" and "ffree-line-length-_n_" options, characters are ignored after the specified length. The default for fixed is 72. The default for free is 132. For free, you can specify 'none' as the length, which means that all characters in the line are meaningful.
12211221
* **IBM:** For **fixed**, the default is 72. For **free**, there's no default, but the maximum length for either form is 132.
12221222
* **Intel:** The default is 72 for **fixed** and 132 for **free**.
1223-
* **PGI, Flang:**
1223+
* **PGI, Classic Flang:**
12241224
* in free form, it is an error if the line is longer than 1000 characters
12251225
* in fixed form by default, characters after column 72 are ignored
12261226
* in fixed form with -Mextend, characters after column 132 are ignored
@@ -1233,7 +1233,7 @@ IBM Fortran's options allow the source line length to be specified with the opti
12331233
* **GNU:** The "-fbackslash" option the interpretation of backslashes in string literals from a single backslash character to "C-style" escape characters. The following combinations are expanded \a, \b, \f, \n, \r, \t, \v, \\, and \0 to the ASCII characters alert, backspace, form feed, newline, carriage return, horizontal tab, vertical tab, backslash, and NUL, respectively. Additionally, \xnn, \unnnn and \Unnnnnnnn (where each n is a hexadecimal digit) are translated into the Unicode characters corresponding to the specified code points. All other combinations of a character preceded by \ are unexpanded.
12341234
* **Intel:** The option "-assume bscc" tells the compiler to treat the backslash character (\) as a C-style control (escape) character syntax in character literals. "nobscc" specifies that the backslash character is treated as a normal character in character literals. This is the default.
12351235

1236-
**"$" in symbol names:** Allowing "$" in names is controlled by an option in GNU and is the default behavior in IBM and Intel. Presumably, these compilers issue warnings when standard conformance options are enabled. Dollar signs in names don't seem to be allowed in Cray, PGI, or Flang.
1236+
**"$" in symbol names:** Allowing "$" in names is controlled by an option in GNU and is the default behavior in IBM and Intel. Presumably, these compilers issue warnings when standard conformance options are enabled. Dollar signs in names don't seem to be allowed in Cray, PGI, or Classic Flang.
12371237

12381238
**<a name="do"></a>DO loop handling**
12391239

@@ -1328,7 +1328,7 @@ Here's the list of compilers surveyed, hot linked to the source of data on it.
13281328
* [NAG Fortran Release 6.2](https://www.nag.co.uk/nagware/np/r62_doc/manual/compiler_2_4.html)
13291329
* [Oracle Fortran version 819-0492-10](https://docs.oracle.com/cd/E19059-01/stud.10/819-0492/3_options.html)
13301330
* PGI -- [Compiler Reference version 19.1](https://www.pgroup.com/resources/docs/19.1/x86/pgi-ref-guide/index.htm#cmdln-options-ref), [Fortran Reference Guide version 17](https://www.pgroup.com/doc/pgi17fortref.pdf)
1331-
* [Flang](https://github.com/flang-compiler/flang/wiki/Using-Flang) -- information from GitHub
1331+
* [Classic Flang](https://github.com/flang-compiler/flang/wiki/Using-Flang) -- information from GitHub
13321332

13331333
This document has been kept relatively small by providing links to much of the information about options rather than duplicating that information. For IBM, Intel, and some PGI options, there are direct links. But direct links were not possible for Cray, GNU and some PGI options.
13341334

0 commit comments

Comments
 (0)