diff options
author | IƱaki Amatria Barral <140811900+inaki-amatria@users.noreply.github.com> | 2025-03-12 16:45:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-12 16:45:33 +0100 |
commit | bdbe8fa1f3dcde77f7e0741ea7fa757ce092a420 (patch) | |
tree | 29d2a6638c535315896fb0b5d5e9d4ff5e5eaeca /llvm/lib/CodeGen/CommandFlags.cpp | |
parent | 1db978cd781314a15277ea23a11ebd58604685d7 (diff) | |
download | llvm-bdbe8fa1f3dcde77f7e0741ea7fa757ce092a420.zip llvm-bdbe8fa1f3dcde77f7e0741ea7fa757ce092a420.tar.gz llvm-bdbe8fa1f3dcde77f7e0741ea7fa757ce092a420.tar.bz2 |
[flang] Align `-x` language modes with `gfortran` (#130268)
This PR addresses some of the issues described in
https://github.com/llvm/llvm-project/issues/127617. Key changes:
- Stop assuming fixed-form for `-x f95` unless the input is a `.i` file.
This change ensures compatibility with `-save-temps` workflows while
preventing unintended fixed-form assumptions.
- Ensure `-x f95-cpp-input` enables `-cpp` by default, aligning Flang's
behavior with `gfortran`.
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions