diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-07-07 21:11:27 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-07-07 21:11:27 +0200 |
commit | c4603e7ce0b0e007db25abc234a85d1562a9c988 (patch) | |
tree | 0b97ba80ee1dfb0fc4d489e1971200c80e0c2519 /gcc/fortran/resolve.c | |
parent | 489319d5aa1448a8d9ce9062247c6c48f9cd745f (diff) | |
download | gcc-c4603e7ce0b0e007db25abc234a85d1562a9c988.zip gcc-c4603e7ce0b0e007db25abc234a85d1562a9c988.tar.gz gcc-c4603e7ce0b0e007db25abc234a85d1562a9c988.tar.bz2 |
re PR c/49644 (post-increment of promoted operand is incorrect.)
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.
From-SVN: r176004
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions