[PATCH, testsuite]: Use dg-add-options ieee in gfortran.dg/typebound_operator_8.f03
Uros Bizjak
ubizjak@gmail.com
Tue Jan 3 18:36:00 GMT 2012
Hello!
-mieee is needed for this runtime test to avoid
FAIL: gfortran.dg/typebound_operator_8.f03 -O0 execution test
FAIL: gfortran.dg/typebound_operator_8.f03 -Os execution test
on alpha-linux-gnu.
Probably underflow, or something exceptional, gdb is not a friend with
fortran code on this target:
Program received signal SIGFPE, Arithmetic exception.
0x0000000120004190 in cartesian_2d_objects::process_cart2d_p (obj=...)
at /home/uros/gcc-svn/trunk/gcc/testsuite/gfortran.dg/typebound_operator_8.f03:172
172 process_cart2d_p%c = -sign (obj%c, 1.0)*obj%c** 4
(gdb)
2012-01-03 Uros Bizjak <ubizjak@gmail.com>
* gfortran.dg/typebound_operator_8.f03: Use dg-add-options ieee.
Tested on alphaev68-unknown-linux-gnu, committed to mainline SVN.
Uros.
Index: gfortran.dg/typebound_operator_8.f03
===================================================================
--- gfortran.dg/typebound_operator_8.f03 (revision 182853)
+++ gfortran.dg/typebound_operator_8.f03 (working copy)
@@ -1,4 +1,5 @@
! { dg-do run }
+! { dg-add-options ieee }
!
! Solve a diffusion problem using an object-oriented approach
!
More information about the Gcc-patches
mailing list