]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/56250 (Wrong constant folding on unsigned int)
authorJakub Jelinek <jakub@redhat.com>
Fri, 8 Feb 2013 15:06:26 +0000 (16:06 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 8 Feb 2013 15:06:26 +0000 (16:06 +0100)
commit600a5961b24faccf68ef5287fb3a6ed3c6b79224
tree3bef1543331fe45a7c674d160d1cafa5e1587232
parentbe59c9322ac42053f9a752fd0748513f27cc1c96
re PR tree-optimization/56250 (Wrong constant folding on unsigned int)

PR tree-optimization/56250
* fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize
if type is unsigned and code isn't MULT_EXPR.

* gcc.c-torture/execute/pr56250.c: New test.

From-SVN: r195888
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr56250.c [new file with mode: 0644]
This page took 0.060363 seconds and 5 git commands to generate.