dg-add-options ieee ?

Paul Koning paulkoning@comcast.net
Wed Oct 31 18:20:00 GMT 2018


I see some test cases that say dg-add-options ieee.  That apparently means: pretend we have IEEE float even when the target does not.

What is the point of doing that?  On non-IEEE targets such test cases fail -- at least they do on pdp11.  Instead I'd expect a check that skips these tests if not IEEE.  There is a subdirectory for IEEE tests under gcc.c-torture, though not under gcc.dg.

I can just put a target specific dg-skip-if in these files, but I'm curious why dg-add-options was used.

	paul



More information about the Gcc mailing list