public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31833] New: FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above
@ 2007-05-05 1:31 danglin at gcc dot gnu dot org
2007-05-16 14:46 ` [Bug fortran/31833] " fxcoudert at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-05-05 1:31 UTC (permalink / raw)
To: gcc-bugs
Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran
-B
/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../
/test/gnu/gcc/gcc/gcc/testsui
te/gfortran.dg/integer_exponentiation_3.F90 -O0
-L/test/gnu/gcc/objdir/hppa
64-hp-hpux11.11/./libgfortran/.libs
-L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/.
/libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libiberty -lm
-o ./integer_exponentiation_3.exe (timeout = 300)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_3.F90:167.54:
r4 = nearest(1.0,-1.0); call check((r4)**(huge(0)),(nearest(1.0,-1.0))**(huge
1
Warning: Arithmetic underflow at (1)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_3.F90:169.58:
r8 = nearest(1.0_8,-1.0); call check((r8)**(huge(0_8)),(nearest(1.0_8,-1.0))*
1
Warning: Arithmetic underflow at (1)
output is:
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_3.F90:167.54:
r4 = nearest(1.0,-1.0); call check((r4)**(huge(0)),(nearest(1.0,-1.0))**(huge
1
Warning: Arithmetic underflow at (1)
/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/integer_exponentiation_3.F90:169.58:
r8 = nearest(1.0_8,-1.0); call check((r8)**(huge(0_8)),(nearest(1.0_8,-1.0))*
1
Warning: Arithmetic underflow at (1)
PASS: gfortran.dg/integer_exponentiation_3.F90 -O0 (test for warnings, line
1
67)
PASS: gfortran.dg/integer_exponentiation_3.F90 -O0 (test for warnings, line
1
69)
PASS: gfortran.dg/integer_exponentiation_3.F90 -O0 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfort
ran/.libs:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu
/gcc/objdir/gcc:.:/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/
test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs:/test/gnu/gcc/objdir
/gcc
FAIL: gfortran.dg/integer_exponentiation_3.F90 -O0 execution test
I think this test has been failing since it was introduced.
--
Summary: FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0
and above
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: danglin at gcc dot gnu dot org
GCC build triplet: hppa64-hp-hpux11.11
GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31833
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/31833] FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above
2007-05-05 1:31 [Bug fortran/31833] New: FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above danglin at gcc dot gnu dot org
@ 2007-05-16 14:46 ` fxcoudert at gcc dot gnu dot org
2007-05-17 0:30 ` dave at hiauly1 dot hia dot nrc dot ca
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-05-16 14:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-05-16 15:46 -------
All I have access to is hppa2.0w-hp-hpux11.23, do you think it would be
triggered there also?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31833
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/31833] FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above
2007-05-05 1:31 [Bug fortran/31833] New: FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above danglin at gcc dot gnu dot org
2007-05-16 14:46 ` [Bug fortran/31833] " fxcoudert at gcc dot gnu dot org
@ 2007-05-17 0:30 ` dave at hiauly1 dot hia dot nrc dot ca
2007-06-06 22:04 ` sje at cup dot hp dot com
2007-06-07 15:38 ` sje at cup dot hp dot com
3 siblings, 0 replies; 5+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2007-05-17 0:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2007-05-17 01:30 -------
Subject: Re: FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above
> All I have access to is hppa2.0w-hp-hpux11.23, do you think it would be
> triggered there also?
Probably, since HP has pretty much frozen library support on hppa.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31833
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/31833] FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above
2007-05-05 1:31 [Bug fortran/31833] New: FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above danglin at gcc dot gnu dot org
2007-05-16 14:46 ` [Bug fortran/31833] " fxcoudert at gcc dot gnu dot org
2007-05-17 0:30 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2007-06-06 22:04 ` sje at cup dot hp dot com
2007-06-07 15:38 ` sje at cup dot hp dot com
3 siblings, 0 replies; 5+ messages in thread
From: sje at cup dot hp dot com @ 2007-06-06 22:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from sje at cup dot hp dot com 2007-06-06 22:04 -------
Here is a cutdown test case, it looks like we have a roundoff difference
between the exponentiation done at compile time and the exponentiation done at
run time and thus a and b are not 'exactly the same'. Maybe we should use the
approximate check instead of the exact check in this case.
subroutine check_c4 (a, b)
complex(kind=4), intent(in) :: a, b
print *, a
print *, b
if (a /= b) call abort()
end subroutine check_c4
program test
complex(kind=4) :: c4
c4 = (1.0,0.2)
call check_c4(c4**9,(1.0,0.2)**9)
end program test
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31833
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/31833] FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above
2007-05-05 1:31 [Bug fortran/31833] New: FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-06-06 22:04 ` sje at cup dot hp dot com
@ 2007-06-07 15:38 ` sje at cup dot hp dot com
3 siblings, 0 replies; 5+ messages in thread
From: sje at cup dot hp dot com @ 2007-06-07 15:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from sje at cup dot hp dot com 2007-06-07 15:38 -------
This is fixed with a testsuite change in version 125510. I forgot to put
the PR number in the ChangeLog file. I changed the test to do an approximate
comparision instead of an exact one.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31833
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-06-07 15:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-05 1:31 [Bug fortran/31833] New: FAIL: gfortran.dg/integer_exponentiation_3.F90 at -O0 and above danglin at gcc dot gnu dot org
2007-05-16 14:46 ` [Bug fortran/31833] " fxcoudert at gcc dot gnu dot org
2007-05-17 0:30 ` dave at hiauly1 dot hia dot nrc dot ca
2007-06-06 22:04 ` sje at cup dot hp dot com
2007-06-07 15:38 ` sje at cup dot hp dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).