[flang] Update the release notes
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Thu, 23 Jun 2022 09:29:12 +0000 (09:29 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Mon, 27 Jun 2022 09:19:37 +0000 (09:19 +0000)
Document changes introduced in https://reviews.llvm.org/D126164.

Differential Revision: https://reviews.llvm.org/D128413

flang/docs/ReleaseNotes.md

index 7696f42..b41a2aa 100644 (file)
@@ -30,6 +30,13 @@ page](https://llvm.org/releases/).
 * The bash wrapper script, `flang`, is renamed as `flang-to-external-fc`.
 
 ## New Compiler Flags
+* Refined how `-f{no-}color-diagnostics` is treated to better align with Clang.
+  In particular, both `-fcolor-diagnostics` and `-fno-color-diagnostics` are
+  now available in `flang-new` (the diagnostics are formatted by default). In
+  the frontend driver, `flang-new -fc1`, only `-fcolor-diagnostics` is
+  available (by default, the diagnostics are not formatted). Note that this
+  will only affect the diagnostics printed by driver (scanning, parsing and
+  semantic diagnostics are not affected).
 
 ## Windows Support