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]

[libstdc++][testsuite] Fix dg-options/dg-add-options order


Hi,

While checking dg directives order, I've noticed a few libstdc++ tests
where the current order is:
// { dg-add-options ieee }
// { dg-options "-D__STDCPP_WANT_MATH_SPEC_FUNCS__" }
while dg-add-options should be after dg-options.

The attached patch fixes that, is that OK for stage4?

I've tested on arm/aarch64, where it makes no difference. My reading
of proc add_options_for_ieee
in gcc/testsuite/lib/target-supports.exp tells me that it would only
have an impact on alpha, sh and rx targets.

Christophe

Attachment: libstdc++-dg-order.chlog.txt
Description: Text document

Attachment: libstdc++-dg-order.patch.txt
Description: Text document


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