diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-07 19:02:54 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-07 19:02:54 +0000 |
commit | 3b777bfb43410684ccba93c320a88d01456d8db9 (patch) | |
tree | f24e332333fb703a4b36ca697ba2af135e98daca /gcc/testsuite/gcc.c-torture/compile | |
parent | d3e794252245eec7dc5b1e54844ed9109402f807 (diff) | |
download | gcc-3b777bfb43410684ccba93c320a88d01456d8db9.tar.gz |
2010-12-07 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 167556
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167562 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr46832.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr46832.c b/gcc/testsuite/gcc.c-torture/compile/pr46832.c new file mode 100644 index 00000000000..f500aa51068 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr46832.c @@ -0,0 +1,4 @@ +double pow(double x, double y); +void foo( double x ) { + int j = (int) ((pow(x, 2)) < 0.0 ? (pow(x, 2))-0.5 : (pow(x, 2))+0.5); +} |