This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Why is testsuite/27_io/fpos/14320-1.cc XFAILed everywhere?
- From: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- To: pcarlini at suse dot de
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 13 Feb 2008 01:47:14 -0500 (EST)
- Subject: Why is testsuite/27_io/fpos/14320-1.cc XFAILed everywhere?
Hi Paolo,
The testcase 27_io/fpos/14320-1.cc has:
// { dg-do run { xfail *-*-* } }
but I'm seeing XPASS on LP64 targets. It looks like it's trying to match
typeids for a type that is 64 bits. It checks vs long and smaller types
and so lp64 works, but ilp32 doesn't.
I think I can fix this by either changing the xfail to "! lp64" or adding
a "long long" clause to the typeid checks so that ilp32 targets work too.
Which approach is more correct? Let me know and I'll post a patch.
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu