1# Flang 15.0.0 Release Notes 2 3## Introduction 4 5This document contains the release notes for the Flang Fortran frontend, 6part of the LLVM Compiler Infrastructure, release 15.0.0. Here we 7describe the status of Flang in some detail, including major 8improvements from the previous release and new feature work. For the 9general LLVM release notes, see [the LLVM 10documentation](https://llvm.org/docs/ReleaseNotes.html). All LLVM 11releases may be downloaded from the [LLVM releases web 12site](https://llvm.org/releases/). 13 14Note that if you are reading this file from a Git checkout, this 15document applies to the *next* release, not the current one. To see the 16release notes for a specific release, please see the [releases 17page](https://llvm.org/releases/). 18 19## Major New Features 20 21## Bug Fixes 22 23## Non-comprehensive list of changes in this release 24* The bash wrapper script, `flang`, is renamed as `flang-to-external-fc`. 25* In contrast to Clang, Flang will not default to using `-fpie` when linking 26 executables. This is only a temporary solution and the goal is to align with 27 Clang in the near future. First, however, the frontend driver needs to be 28 extended so that it can generate position independent code (that requires 29 adding support for e.g. `-fpic` and `-mrelocation-model` in `flang-new 30 -fc1`). Once that is available, support for the `-fpie` can officially be 31 added and the default behaviour updated. 32 33## New Compiler Flags 34* Refined how `-f{no-}color-diagnostics` is treated to better align with Clang. 35 In particular, both `-fcolor-diagnostics` and `-fno-color-diagnostics` are 36 now available in `flang-new` (the diagnostics are formatted by default). In 37 the frontend driver, `flang-new -fc1`, only `-fcolor-diagnostics` is 38 available (by default, the diagnostics are not formatted). Note that this 39 will only affect the diagnostics printed by driver (scanning, parsing and 40 semantic diagnostics are not affected). 41 42## Windows Support 43 44## Fortran Language Changes in Flang 45 46## Build System Changes 47 48## New Issues Found 49 50 51## Additional Information 52 53Flang's documentation is located in the `flang/docs/` directory in the 54LLVM monorepo. 55 56If you have any questions or comments about Flang, please feel free to 57contact us via the [mailing 58list](https://lists.llvm.org/mailman/listinfo/flang-dev). 59