Backport r250336
2017-09-15 Martin Liska <mliska@suse.cz> Backport from mainline 2017-07-19 Martin Liska <mliska@suse.cz> PR sanitizer/63361 * c-c++-common/ubsan/float-cast-overflow-1.c: Add either -ffloat-store or -mieee for targets that need it. From-SVN: r252783
This commit is contained in:
parent
1afc6fafb2
commit
627aed2616
|
@ -1,3 +1,12 @@
|
|||
2017-09-15 Martin Liska <mliska@suse.cz>
|
||||
|
||||
Backport from mainline
|
||||
2017-07-19 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR sanitizer/63361
|
||||
* c-c++-common/ubsan/float-cast-overflow-1.c: Add either
|
||||
-ffloat-store or -mieee for targets that need it.
|
||||
|
||||
2017-09-15 Martin Liska <mliska@suse.cz>
|
||||
|
||||
Backport from mainline
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
/* { dg-do run { target { lp64 || ilp32 } } } */
|
||||
/* { dg-options "-fsanitize=float-cast-overflow" } */
|
||||
/* { dg-additional-options "-msse2 -mfpmath=sse" { target { sse2_runtime && ia32 } } } */
|
||||
/* { dg-additional-options "-ffloat-store" { target { ia32 } } } */
|
||||
/* { dg-additional-options "-mieee" { target { { alpha*-*-* } || { sh*-*-* } } } } */
|
||||
|
||||
#include <limits.h>
|
||||
#include "float-cast.h"
|
||||
|
|
Loading…
Reference in New Issue