Re: [RFA/testsuite] Test printing complex numbers in C

Fernando Nasser
2002-12-03T16:24:12Z

Sorry Daniel, due to a problem with my mail it got lost again.

I am OK with the new tests (thanks!), but I would like to
"setup_xfail_format" them for gcc stabs. It is a compiler problem, not
GDB's, so we should not add the FAILs to our output.

Can you do that?

Regards,
Fernando

P.S.: You must call "get_debug_format" somewhere before using
"setup_xfail_format" if I remember correctly.

Daniel Jacobowitz wrote:
> Fernando,
>
> I think this test submission got lost, so here it is again. It's a test for
> the printing of complex numbers in C, for those compilers which support it.
> The test is GCC specific right now.
>
> [By the way, it fails on GCC 3.0/stabs because of a (probably) GCC bug in
> debug information. Still not fixed in 3.2. It also fails in GCC
> 2.95/DWARF-2 because of a bug with __attribute__((packed)). We can sort out
> XFAILs later, I have some ideas on that front.]
>

--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com