OSDN Git Service

PR c/49644
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jul 2011 19:14:38 +0000 (19:14 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Jul 2011 19:14:38 +0000 (19:14 +0000)
commitcedc2717e061c5b08f1e727f712015713954a483
tree4136d941ab215a4f5444db4e600238f5943f54e5
parent0da144b7e768b18d378b1af44d25f6b0ef0a4a30
PR c/49644
* c-typeck.c (build_binary_op): For MULT_EXPR and TRUNC_DIV_EXPR with
one non-complex and one complex argument, call c_save_expr on both
operands.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@176005 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr49644.c [new file with mode: 0644]