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: "jh at suse dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Sep 2008 12:39:18 -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 #6 from jh at suse dot cz 2008-09-05 12:39 -------
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.
Honza
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37378