This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34825] [4.2 regression] ICE with -funsafe-math-optimizations
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2008 12:32:38 -0000
- Subject: [Bug tree-optimization/34825] [4.2 regression] ICE with -funsafe-math-optimizations
- References: <bug-34825-15643@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from rguenth at gcc dot gnu dot org 2008-02-05 12:32 -------
Subject: Bug 34825
Author: rguenth
Date: Tue Feb 5 12:31:50 2008
New Revision: 132119
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132119
Log:
2008-05-02 Richard Guenther <rguenther@suse.de>
Backport from mainline:
2008-01-17 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34825
* tree-ssa-math-opts.c (is_division_by): Do not recognize
x / x as division to handle.
* gcc.dg/pr34825.c: New testcase.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr34825.c
- copied unchanged from r131595, trunk/gcc/testsuite/gcc.dg/pr34825.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/tree-ssa-math-opts.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34825