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 compiler if statement crashes with 8-byte integers #860

Open
nikhil-mk opened this issue Jan 23, 2020 · 0 comments
Open

flang compiler if statement crashes with 8-byte integers #860

nikhil-mk opened this issue Jan 23, 2020 · 0 comments

Comments

@nikhil-mk
Copy link

nikhil-mk commented Jan 23, 2020

The following test fails in flang :

subroutine test()
       integer n2
       n2=10
       if (n2) 10,20,20
10 write(6,)'10'
       return
20 write(6,
)'20'
       end

error:
F90-F-0000-Internal compiler error. addili: illegal IL_TYPE(opc) 0 (test.f: 4)

Pull request #859 fixes this
@gklimowicz @sscalpone

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

1 participant