From e4d1c5c43887c9485dd42c9a82b9340c12e19a57 Mon Sep 17 00:00:00 2001 From: Renlin Li Date: Mon, 5 Jun 2017 10:40:37 +0000 Subject: [PATCH] [testsuite] Add large_long_double target selector to related tests in Wfloat-conversion.c testsuite/ 2017-06-05 Renlin Li * c-c++-common/Wfloat-conversion.c: Add large_long_double target selector to related line. From-SVN: r248876 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/c-c++-common/Wfloat-conversion.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b69c78aaa3f..34bbae7a135 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-06-05 Renlin Li + + * c-c++-common/Wfloat-conversion.c: Add large_long_double target + selector to related line. + 2017-06-05 Jan Hubicka * gcc.dg/tree-prof/cold_partition_label.c: Update template. diff --git a/gcc/testsuite/c-c++-common/Wfloat-conversion.c b/gcc/testsuite/c-c++-common/Wfloat-conversion.c index e9899bce12b..c33a2a60c98 100644 --- a/gcc/testsuite/c-c++-common/Wfloat-conversion.c +++ b/gcc/testsuite/c-c++-common/Wfloat-conversion.c @@ -39,8 +39,8 @@ void h (void) vfloat = vdouble; /* { dg-warning "conversion from .double. to .float. may change value" } */ ffloat (vlongdouble); /* { dg-warning "conversion from .long double. to .float. may change value" } */ vfloat = vlongdouble; /* { dg-warning "conversion from .long double. to .float. may change value" } */ - fdouble (vlongdouble); /* { dg-warning "conversion from .long double. to .double. may change value" } */ - vdouble = vlongdouble; /* { dg-warning "conversion from .long double. to .double. may change value" } */ + fdouble (vlongdouble); /* { dg-warning "conversion from .long double. to .double. may change value" "" { target large_long_double } } */ + vdouble = vlongdouble; /* { dg-warning "conversion from .long double. to .double. may change value" "" { target large_long_double } } */ fsi (3.1f); /* { dg-warning "conversion from .float. to .int. changes value" } */ si = 3.1f; /* { dg-warning "conversion from .float. to .int. changes value" } */ -- 2.30.2