[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

2024-12-17 Thread Slava Zakharin via cfe-commits
https://github.com/vzakhari closed https://github.com/llvm/llvm-project/pull/120320 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

2024-12-17 Thread Slava Zakharin via cfe-commits
vzakhari wrote: Okay, I do not see an easy way to allow this option for `clang` without printing it in the `--help` output, so I guess I will let it behave same way as the other Flang-only options. https://github.com/llvm/llvm-project/pull/120320 ___

[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

2024-12-17 Thread Kiran Chandramohan via cfe-commits
kiranchandramohan wrote: > > > After #120165 clang started complaining about unknown option > > > -f[no-]realloc-lhs. > > > > > > Was this on an existing test? > > I noticed it when trying to compile a Fortran/C mix test where flang/clang > were used as compilers and I passed `-fno-realloc-l

[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

2024-12-17 Thread Slava Zakharin via cfe-commits
@@ -3465,7 +3465,7 @@ defm diagnostics_show_line_numbers : BoolFOption<"diagnostics-show-line-numbers" PosFlag>; def fno_realloc_lhs : Flag<["-"], "fno-realloc-lhs">, Group, HelpText<"An allocatable left-hand side of an intrinsic assignment is assumed to be allocated and

[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

2024-12-17 Thread Slava Zakharin via cfe-commits
vzakhari wrote: > > After #120165 clang started complaining about unknown option > > -f[no-]realloc-lhs. > > Was this on an existing test? I noticed it when trying to compile a Fortran/C mix test where flang/clang were used as compilers and I passed `-fno-realloc-lhs` in flags that were used

[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

2024-12-17 Thread Kiran Chandramohan via cfe-commits
@@ -3465,7 +3465,7 @@ defm diagnostics_show_line_numbers : BoolFOption<"diagnostics-show-line-numbers" PosFlag>; def fno_realloc_lhs : Flag<["-"], "fno-realloc-lhs">, Group, HelpText<"An allocatable left-hand side of an intrinsic assignment is assumed to be allocated and

[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

2024-12-17 Thread Kiran Chandramohan via cfe-commits
https://github.com/kiranchandramohan edited https://github.com/llvm/llvm-project/pull/120320 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

2024-12-17 Thread Kiran Chandramohan via cfe-commits
https://github.com/kiranchandramohan commented: > After https://github.com/llvm/llvm-project/pull/120165 clang started > complaining about unknown option -f[no-]realloc-lhs. Was this on an existing test? https://github.com/llvm/llvm-project/pull/120320 _

[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

2024-12-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Slava Zakharin (vzakhari) Changes After #120165 clang started complaining about unknown option -f[no-]realloc-lhs. This change fixes it to ignore the option like it used to be. --- Full diff: https://github.com/llvm/llvm-project/pull/1203

[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

2024-12-17 Thread Slava Zakharin via cfe-commits
https://github.com/vzakhari created https://github.com/llvm/llvm-project/pull/120320 After #120165 clang started complaining about unknown option -f[no-]realloc-lhs. This change fixes it to ignore the option like it used to be. >From 5d8d3e08eb322b72f4058b98fc7ea0d6321eaa6c Mon Sep 17 00:00:00