This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[libstdc++] fix numeric_limits on alpha
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 18 Sep 2002 11:07:19 -0700
- Subject: [libstdc++] fix numeric_limits on alpha
Now that the test includes poking about with denormals,
we have to include -mieee for proper results.
Committed as obvious.
r~
* testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
Index: testsuite/18_support/numeric_limits.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/18_support/numeric_limits.cc,v
retrieving revision 1.13
diff -c -p -d -r1.13 numeric_limits.cc
*** testsuite/18_support/numeric_limits.cc 17 Sep 2002 01:28:50 -0000 1.13
--- testsuite/18_support/numeric_limits.cc 18 Sep 2002 18:05:27 -0000
***************
*** 1,3 ****
--- 1,5 ----
+ // { dg-options "-mieee" { target alpha*-*-* } }
+
// 1999-08-23 bkoz
// Copyright (C) 1999, 2001, 2002 Free Software Foundation