]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/34825 (ICE with -funsafe-math-optimizations)
authorRichard Guenther <rguenther@suse.de>
Thu, 17 Jan 2008 12:17:24 +0000 (12:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 17 Jan 2008 12:17:24 +0000 (12:17 +0000)
commit8a5b57cdfd40c2996c755d4cc2707c5ea3c2ca67
tree89ce4f78749dc7f9bd9689f363fa59e973cae20f
parentf779b9aec9e34471fa2933ee21eb368e08e68a85
re PR tree-optimization/34825 (ICE with -funsafe-math-optimizations)

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.

From-SVN: r131595
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr34825.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c