This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Bad choices by expand_mult_highpart
- From: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- To: dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Cc: gcc-patches at gcc dot gnu dot org, ja2morri at csclub dot uwaterloo dot ca, roger at eyesopen dot com, rsandifo at redhat dot com, weigand at i1 dot informatik dot uni-erlangen dot de
- Date: Sun, 21 Mar 2004 20:36:57 +0100 (CET)
- Subject: Re: Bad choices by expand_mult_highpart
>
> The test case for this problem is:
>
> /* { dg-do run } */
> /* Divide a signed number by something that isn't a power of two */
> int main (int argc, char *argv[])
> {
> volatile int i = 1;
> return i / 10;
> }
>
> See gcc.c-torture/execute/941101-1.c. This problem affects the PA
> an it is PR 14663.
I've just committed a patch that fixes s390(x) and sparc, could you
check whether it fixes PA as well?
Bye,
Ulrich
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de