diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-30 19:00:12 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-30 19:00:12 +0000 |
commit | 01fea1ebabc310529db6117087939b33b848a90c (patch) | |
tree | 43e341af707a7ff467e050b4e291a0d902698955 /gcc/testsuite | |
parent | 3718c5aca1c636de564cdfa74dd78abfe74f1c0a (diff) | |
download | gcc-01fea1ebabc310529db6117087939b33b848a90c.tar.gz |
PR c/10083
* config/alpha/alpha.md (umuldi3_highpart): Change to expander;
don't zero_extend const inputs.
* gcc.c-torture/compile/20030330-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65047 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20030330-1.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030330-1.c b/gcc/testsuite/gcc.c-torture/compile/20030330-1.c new file mode 100644 index 00000000000..a5d5de23b7a --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20030330-1.c @@ -0,0 +1,7 @@ +/* PR c/10083 */ +/* This will result in a very small constant for umul_highpart, which + uncovered a bug in the Alpha machine description. */ + +unsigned long f(unsigned long x) { + return x % 0x3fffffffffffffff; +} |