Paul Koning
2018-10-31 18:20:38 UTC
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
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