diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-08 10:22:08 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-08 10:22:08 +0000 |
commit | 0f241d3febb1990e55daad2841f65020424d70d2 (patch) | |
tree | 0d1b08d95e3e4458bfdcc780995e149747769e39 /gcc/tree-scalar-evolution.c | |
parent | 9039f11314f957414e788f0488a67c4fae12fa44 (diff) | |
download | gcc-0f241d3febb1990e55daad2841f65020424d70d2.tar.gz |
PR c/24581
* c-typeck.c (build_binary_op): Handle arithmetic between one real
and one complex operand specially.
* tree-complex.c (some_nonzerop): Do not identify a real value as
zero if flag_signed_zeros.
testsuite:
* gcc.dg/torture/complex-sign.h: New header.
* gcc.dg/torture/complex-sign-add.c,
gcc.dg/torture/complex-sign-mixed-add.c,
gcc.dg/torture/complex-sign-mixed-div.c,
gcc.dg/torture/complex-sign-mixed-mul.c,
gcc.dg/torture/complex-sign-mixed-sub.c,
gcc.dg/torture/complex-sign-mul.c,
gcc.dg/torture/complex-sign-sub.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147281 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-scalar-evolution.c')
0 files changed, 0 insertions, 0 deletions