Issue |
139156
|
Summary |
[flang] Intrinsic `SELECTED_CHAR_KIND` returns a different value from other compilers when there is a heading space in `NAME`
|
Labels |
flang:frontend
|
Assignees |
|
Reporter |
DanielCChen
|
Consider the following code:
```
program main
print *,selected_char_kind(" ascii") ! heading space test
end
```
All gfortran, ifort and XLF returns `-1` because of the heading space. Flang returns `1` however.
Is this different behavior intentional?
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs