mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 20:40:16 +08:00
cmplx.f90: Add test for bug in constant folding.
* gfortran.fortran-torture/execute/cmplx.f90: Add test for bug in constant folding. From-SVN: r81961
This commit is contained in:
parent
f12f786b86
commit
24f8f5ec56
@ -1,3 +1,8 @@
|
||||
2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
|
||||
|
||||
* gfortran.fortran-torture/execute/cmplx.f90: Add test for bug in
|
||||
constant folding.
|
||||
|
||||
2004-05-17 Steven Bosscher <stevenb@suse.de>
|
||||
|
||||
* gcc.dg/tree-ssa/20040517-1.c: New test.
|
||||
|
@ -42,4 +42,7 @@ program testcmplx
|
||||
if (c + d .ne. ( 6, 5)) call abort
|
||||
if (c - d .ne. (-4, 1)) call abort
|
||||
if (c * d .ne. (-1, 17)) call abort
|
||||
|
||||
! test for constant folding
|
||||
if ((35.,-10.)**0.NE.(1.,0.)) call abort
|
||||
end program
|
||||
|
Loading…
Reference in New Issue
Block a user