------- Comment #5 from jakub at gcc dot gnu dot org 2007-10-30 22:40 ------- Subject: Bug 33709
Author: jakub Date: Tue Oct 30 22:40:13 2007 New Revision: 129785 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129785 Log: PR c++/33709 * fold-const.c (fold_binary): If one argument is COMPOUND_EXPR, convert second operand of COMPOUND_EXPR to the original type of that argument. * g++.dg/opt/compound1.C: New test. Added: trunk/gcc/testsuite/g++.dg/opt/compound1.C Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33709