forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2008-02-02 Thomas Koenig <[email protected]>
PR libfortran/35001 * m4/shape.m4: Return 0 for extents <= 0. * generated/shape_i4.c: Regenerated. * generated/shape_i8.c: Regenerated. * generated/shape_i16.c: Regenerated. 2008-02-02 Thomas Koenig <[email protected]> PR libfortran/35001 * gfortran.dg/shape_4.f90: New test. Fixed in regression-only mode by special dispense (see the PR). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132070 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
tkoenig
committed
Feb 2, 2008
1 parent
957fb08
commit 056eb8d
Showing
7 changed files
with
37 additions
and
8 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,3 +1,8 @@ | ||
2008-02-02 Thomas Koenig <[email protected]> | ||
|
||
PR libfortran/35001 | ||
* gfortran.dg/shape_4.f90: New test. | ||
|
||
2008-02-02 Hans-Peter Nilsson <[email protected]> | ||
|
||
* gcc.target/cris/torture/pr34773.c: Use __asm__, not asm. | ||
|
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,12 @@ | ||
! PR 35001 - we need to return 0 for the shapes of | ||
! negative extents. Test case adapted from Tobias Burnus. | ||
program main | ||
implicit none | ||
integer :: i,j, a(10,10),res(2) | ||
j = 1 | ||
i = 10 | ||
res = shape(a(1:1,i:j:1)) | ||
if (res(1) /=1 .or. res(2) /= 0) call abort | ||
res = shape(a(1:1,j:i:-1)) | ||
if (res(1) /=1 .or. res(2) /= 0) call abort | ||
end program main |
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,3 +1,11 @@ | ||
2008-02-02 Thomas Koenig <[email protected]> | ||
|
||
PR libfortran/35001 | ||
* m4/shape.m4: Return 0 for extents <= 0. | ||
* generated/shape_i4.c: Regenerated. | ||
* generated/shape_i8.c: Regenerated. | ||
* generated/shape_i16.c: Regenerated. | ||
|
||
2008-01-27 Thomas Koenig <[email protected]> | ||
|
||
PR libfortran/34980 | ||
|
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
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
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
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