This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]