[testsuite] Add large_long_double target selector to related tests in Wfloat-conversion.c

testsuite/
2017-06-05 Renlin Li <renlin.li@arm.com>

	* c-c++-common/Wfloat-conversion.c: Add large_long_double target
	selector to related line.

From-SVN: r248876
This commit is contained in:
Renlin Li 2017-06-05 10:40:37 +00:00 committed by Renlin Li
parent 6c24177862
commit e4d1c5c438
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2017-06-05 Renlin Li <renlin.li@arm.com>
* c-c++-common/Wfloat-conversion.c: Add large_long_double target
selector to related line.
2017-06-05 Jan Hubicka <hubicka@ucw.cz>
* gcc.dg/tree-prof/cold_partition_label.c: Update template.

View File

@ -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" } */