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
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
___
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
@@ -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
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
@@ -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
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
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
_
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
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
10 matches
Mail list logo