-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Disable non-conforming test Replace it with our own similar test. The gfortran/regression/assign_5.f90 writes to a constant value which would cause that test to fail if constants are read-only. A replacement test assign-goto.f90 is introduced to check that this an assigned goto statement compiles and runs without issue. * Update Fortran/gfortran/regression/DisabledFiles.cmake Co-authored-by: Tom Eccles <t@freedommail.info> --------- Co-authored-by: Tom Eccles <t@freedommail.info>
- Loading branch information
1 parent
9144576
commit 6a38b29
Showing
5 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# This file should only contain add_subdirectory(...) one for each test | ||
add_subdirectory(hello) | ||
add_subdirectory(assign-goto) | ||
add_subdirectory(fcvs21_f95) # NIST Fortran Compiler Validation Suite | ||
add_subdirectory(finalization) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
llvm_singlesource() | ||
|
||
file(COPY lit.local.cfg DESTINATION "${CMAKE_CURRENT_BINARY_DIR}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
subroutine s(x) | ||
integer :: x | ||
assign 222 to x | ||
goto x | ||
222 continue | ||
end subroutine s | ||
|
||
program test | ||
integer :: a | ||
call s(a) | ||
end program test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
config.traditional_output = True | ||
config.single_source = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters