OSDN Git Service

gcc/
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Apr 2010 18:53:47 +0000 (18:53 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:35:29 +0000 (14:35 +0900)
PR tree-optimization/41442
* fold-const.c (merge_truthop_with_opposite_arm): New function.
(fold_binary_loc): Call it.

gcc/testsuite/
PR tree-optimization/41442
* gcc.target/i386/pr41442.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158689 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/testsuite/ChangeLog

index 760f150..1b4ba68 100644 (file)
@@ -1,3 +1,9 @@
+2010-04-24  Bernd Schmidt  <bernds@codesourcery.com>
+
+       PR tree-optimization/41442
+       * fold-const.c (merge_truthop_with_opposite_arm): New function.
+       (fold_binary_loc): Call it.
+
 2010-04-23  Manuel López-Ibáñez  <manu@gcc.gnu.org>
 
        * toplev.c (general_init): Set default for
index 919a18c..d79decf 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-24  Bernd Schmidt  <bernds@codesourcery.com>
+
+       PR tree-optimization/41442
+       * gcc.target/i386/pr41442.c: New test.
+
 2010-04-24  Hans-Peter Nilsson  <hp@axis.com>
 
        PR fortran/43832