This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
dg-add-options ieee ?
- From: Paul Koning <paulkoning at comcast dot net>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Date: Wed, 31 Oct 2018 14:20:38 -0400
- Subject: dg-add-options ieee ?
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