| Issue |
160890
|
| Summary |
[flang][debug] The kind information for the type is ignored.
|
| Labels |
flang
|
| Assignees |
abidh
|
| Reporter |
abidh
|
Consider the following program.
```
PROGRAM test
real(kind =4) :: a
real(kind =8) :: b
a = 1
b = 2
print *, a
print *, b
END PROGRAM test
```
When compiled with `flang` and debugged in the `GDB`, the type of both `a` and `b` are same.
```
(gdb) ptype a
type = real
(gdb) ptype b
type = real
```
When similar code is compiled with `gfortran`, it shows the following in the `GDB`.
```
(gdb) ptype a
type = real(kind=4)
(gdb) ptype b
type = real(kind=8)
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs