This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/50396] SSE division by zero generates incorrect code with optimizations enabled
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Oct 2011 09:13:21 +0000
- Subject: [Bug rtl-optimization/50396] SSE division by zero generates incorrect code with optimizations enabled
- Auto-submitted: auto-generated
- References: <bug-50396-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50396
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-20 09:13:21 UTC ---
case DIV:
/* Handle floating point and integers separately. */
if (SCALAR_FLOAT_MODE_P (mode))
{
should probably be FLOAT_MODE_P (mode).