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] semantic error for valid volatile uses #60274

Closed
k-arrows opened this issue Jan 24, 2023 · 2 comments
Closed

[flang] semantic error for valid volatile uses #60274

k-arrows opened this issue Jan 24, 2023 · 2 comments
Assignees

Comments

@k-arrows
Copy link

Test code:
https://github.com/gcc-mirror/gcc/blob/master/gcc/testsuite/gfortran.dg/volatile9.f90

Result (gfortran vs flang-new)

$ gfortran -c volatile9.f90
$

$ flang-new -c volatile9.f90
error: Semantic errors in volatile9.f90
./volatile9.f90:26:18: error: VOLATILE attribute was already specified on 'v13'
       volatile :: v13
                   ^^^
@llvmbot
Copy link
Collaborator

llvmbot commented Jan 24, 2023

@llvm/issue-subscribers-flang-frontend

@klausler klausler self-assigned this May 17, 2023
@klausler
Copy link
Contributor

https://reviews.llvm.org/D150819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants