This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37378] [4.4 Regression] Divide_X
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2008 13:51:12 -0000
- Subject: [Bug middle-end/37378] [4.4 Regression] Divide_X
- References: <bug-37378-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from hjl dot tools at gmail dot com 2008-09-05 13:51 -------
(In reply to comment #6)
> Subject: Re: [4.4 Regression] Divide_X
>
> > All failures have
> >
> > -2147483648
> > -2147483648
> > 0
> > 0
> > 0
> > java.lang.ArithmeticException: / by zero
> > java.lang.ArithmeticException: / by zero
>
> I've caused bug in expand_divmod that temporarily prevented divmod from
> expanding into unwound sequence. I fixed it day before yesterday and it
> should not cause wrong code problems, just code quality issues.
> And it matters only for constant divisors.
>
Has the fix been checked into trunk? There are still failures as of
revision 140025
http://gcc.gnu.org/ml/gcc-testresults/2008-09/msg00393.html
FAIL: Divide_1 execution - source compiled test
FAIL: Divide_1 -findirect-dispatch execution - source compiled test
FAIL: Divide_1 -O3 execution - source compiled test
FAIL: Divide_1 -O3 -findirect-dispatch execution - source compiled test
FAIL: Divide_2 execution - source compiled test
FAIL: Divide_2 -findirect-dispatch execution - source compiled test
FAIL: Divide_2 -O3 execution - source compiled test
FAIL: Divide_2 -O3 -findirect-dispatch execution - source compiled test
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37378