diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-16 07:17:49 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-16 07:17:49 +0000 |
commit | ae6224b2c7dd0827d5ca4bc0187cfa0a24786848 (patch) | |
tree | 2bc817aa4dee9404e63836a06cf434aa76e7abc2 /gcc | |
parent | 2703237302e5dc38739c1024e99624a4221eec75 (diff) | |
download | gcc-ae6224b2c7dd0827d5ca4bc0187cfa0a24786848.tar.gz |
2012-07-16 Andrew Pinski <apinski@cavium.com>
* gcc.dg/torture/builtins-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189510 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/builtins-1.c | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1d00a6269c2..21a10499b0c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2012-07-16 Andrew Pinski <apinski@cavium.com> + + * gcc.dg/torture/builtins-1.c: New testcase. + 2012-07-16 Hans-Peter Nilsson <hp@axis.com> * gcc.target/cris/sync-2i.c, gcc.target/cris/sync-2s.c, diff --git a/gcc/testsuite/gcc.dg/torture/builtins-1.c b/gcc/testsuite/gcc.dg/torture/builtins-1.c new file mode 100644 index 00000000000..c0e8210a105 --- /dev/null +++ b/gcc/testsuite/gcc.dg/torture/builtins-1.c @@ -0,0 +1,9 @@ +/* { dg-do compile } */ +/* { dg-options "-fdump-rtl-expand-all" */ +/* { dg-final { cleanup-rtl-dump "expand" } } */ +int isdigit(int c) +{ + return c >= 0; +} + + |