diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-01 15:23:18 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-01 15:23:18 +0000 |
commit | b9e1d640913ee05bd402b5f146e58a4a2463069f (patch) | |
tree | e603e4f4a1aea0ced7a9e7d8de8a08f79dce9733 /gcc/testsuite/gcc.dg | |
parent | c2c7abfc2202fbbbbf75b1cf33ac4a0b5d6d5e13 (diff) | |
download | gcc-b9e1d640913ee05bd402b5f146e58a4a2463069f.tar.gz |
2008-10-01 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r140812
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@140815 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr37663.c | 15 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/pr36891.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/utf-cvt.c | 4 |
3 files changed, 18 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/pr37663.c b/gcc/testsuite/gcc.dg/pr37663.c new file mode 100644 index 00000000000..05488ebb708 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr37663.c @@ -0,0 +1,15 @@ +/* PR tree-optimization/37663 */ +/* { dg-do compile } */ +/* { dg-options "-O2 -fwrapv" } */ + +extern void bar (void); + +void +foo (int x) +{ + x = 1 >= x; + int y = -1885403717; + x = x + (x != y * y); + if (x) + bar (); +} diff --git a/gcc/testsuite/gcc.dg/torture/pr36891.c b/gcc/testsuite/gcc.dg/torture/pr36891.c index 0d5bc98d44b..4efdfc3e1d5 100644 --- a/gcc/testsuite/gcc.dg/torture/pr36891.c +++ b/gcc/testsuite/gcc.dg/torture/pr36891.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-ffast-math" } */ +/* { dg-options "-ffast-math -msse" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ #define __vector __attribute__((vector_size(16) )) __vector float f(void); diff --git a/gcc/testsuite/gcc.dg/utf-cvt.c b/gcc/testsuite/gcc.dg/utf-cvt.c index 5c39644f917..6a69310ceeb 100644 --- a/gcc/testsuite/gcc.dg/utf-cvt.c +++ b/gcc/testsuite/gcc.dg/utf-cvt.c @@ -50,8 +50,8 @@ void m (char16_t c0, char32_t c1) f_i (c1); /* { dg-warning "change the sign" } */ fsi (c1); /* { dg-warning "change the sign" } */ fui (c1); - f_l (c1); /* { dg-warning "change the sign" "" { target { ilp32 } } } */ - fsl (c1); /* { dg-warning "change the sign" "" { target { ilp32 } } } */ + f_l (c1); /* { dg-warning "change the sign" "" { target { llp64 || ilp32 } } } */ + fsl (c1); /* { dg-warning "change the sign" "" { target { llp64 || ilp32 } } } */ ful (c1); f_ll (c1); fsll (c1); |