Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flang arg_parser fails to accept input on stdin #46

Open
kiranchandramohan opened this issue Oct 23, 2018 · 0 comments
Open

Flang arg_parser fails to accept input on stdin #46

kiranchandramohan opened this issue Oct 23, 2018 · 0 comments
Assignees

Comments

@kiranchandramohan
Copy link
Collaborator

Flang does not accept input on stdin. It generates an error.
For e.g : flang -o - -S -x f95 - < ex.f90
F90-F-0000-Internal compiler error. Unknown command line argument: 0

function f(a)
  real a
  f = a*a
  return
end

While the eqiuvalent clang command works fine and generates assembly.
For e.g : clang -o - -S -x c - < ex.c

float f(float a)
{
  return a*a;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants