http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49644

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-07 
19:43:03 UTC ---
Author: jakub
Date: Thu Jul  7 19:42:58 2011
New Revision: 176007

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176007
Log:
    PR c/49644
    * typeck.c (cp_build_binary_op): For MULT_EXPR and TRUNC_DIV_EXPR with
    one non-complex and one complex argument, call save_expr on both
    operands.

    * g++.dg/torture/pr49644.C: New test.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/torture/pr49644.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/typeck.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog

Reply via email to