| Issue |
173528
|
| Summary |
[flang][Driver] The driver emits an abstruse message when assembly code is passed to it
|
| Labels |
flang:driver
|
| Assignees |
|
| Reporter |
yus3710-fj
|
When assembly code is passed to the Flang driver, it emits the following message:
```console
$ flang test.s
error: unknown integrated tool '-cc1as'. Valid tools include '-fc1'.
```
The driver currently does not accept assembly code. Clang should be invoked instead, but this is not indicated. Therefore, the message should be improved as follows:
```console
$ flang test.s
error: Currently, the driver does not accept assembly code. Use clang instead. Note that '-lflang_rt.runtime -lm' is required for linking.
```
Moreover, it would be better for the driver to accept assembly code, as other Fortran compilers do.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs