[flang-commits] [flang] [Flang] Allow Intrinsic simpification with min/maxloc dim and scalar result (PR #81619)
Pete Steinfeld via flang-commits
flang-commits at lists.llvm.org
Thu Feb 15 10:18:41 PST 2024
psteinfeld wrote:
> For the other issue - I can imagine that a previous runtime error now becomes a compile time warning. I don't see the same warning, but it seems to go from a runtime error to just working (there is only really one valid value for dim as far as I understand) and it appears gfortran does the same. I can maybe make it only work for constant dim values, if that would be better than not producing a runtime error message?
To be clear, the warning is coming from lowering. We don't want users to get any warnings from lowering. Here's what I get:
```
warning: loc("/local/home/psteinfeld/main/david/install/bug.f90":5:3): Unhandled parameter attribute 'fir.bindc_name'
warning: loc("/local/home/psteinfeld/main/david/install/bug.f90":5:3): Unhandled parameter attribute 'fir.bindc_name'
```
https://github.com/llvm/llvm-project/pull/81619
More information about the flang-commits
mailing list