diff options
author | Adam Nemet <anemet@caviumnetworks.com> | 2006-01-29 03:10:18 +0000 |
---|---|---|
committer | Adam Nemet <nemet@gcc.gnu.org> | 2006-01-29 03:10:18 +0000 |
commit | 0f7868fed2674fab28566ce47b388c5a48a9c8aa (patch) | |
tree | 5edf9059c3109640ebc3b4aebe9dd701b5dfc7e3 /gcc | |
parent | 1e84b34e7473adaa56186f8dad3d9db31ffd75b5 (diff) | |
download | gcc-0f7868fed2674fab28566ce47b388c5a48a9c8aa.zip gcc-0f7868fed2674fab28566ce47b388c5a48a9c8aa.tar.gz gcc-0f7868fed2674fab28566ce47b388c5a48a9c8aa.tar.bz2 |
* gcc.c-torture/execute/20060127-1.c: New test.
From-SVN: r110359
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/20060127-1.c | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5b40db8..2be6012 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2006-01-28 Adam Nemet <anemet@caviumnetworks.com> + + * gcc.c-torture/execute/20060127-1.c: New test. + 2006-01-28 Mark Mitchell <mark@codesourcery.com> PR c++/25999 diff --git a/gcc/testsuite/gcc.c-torture/execute/20060127-1.c b/gcc/testsuite/gcc.c-torture/execute/20060127-1.c new file mode 100644 index 0000000..fe73253 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/20060127-1.c @@ -0,0 +1,17 @@ +void abort (); + +void +f (long long a) +{ + if ((a & 0xffffffffLL) != 0) + abort (); +} + +long long a = 0x1234567800000000LL; + +int +main () +{ + f (a); + return 0; +} |