| Issue |
164470
|
| Summary |
Continuation line not supported with cuf or OpenACC conditional compilation line
|
| Labels |
flang:parser,
flang:cuf
|
| Assignees |
klausler
|
| Reporter |
clementval
|
Using continuation line in a cuf or OpenACC conditional compilation line will trigger a `bad character` error.
```
!@cuf attributes(device) &
function rgbMinusRgb(rgb1, rgb2) result(res)
type(rgb), intent(in) :: rgb1, rgb2
real(4), intent(out) :: res(3)
res = rgb1%v - rgb2%v
end function rgbMinusRgb
```
```
$ bbc -fcuda example.cuf -o -
./bin/bbc: could not scan example.cuf
./example.cuf:1:26: error: bad character ('&') in Fortran token
!@cuf attributes(device) &
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs