diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2009-03-11 01:51:59 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2009-03-11 01:51:59 +0000 |
commit | 23cdf8e8f6f1195788e81995bc9cf5997b5ce1fc (patch) | |
tree | 4c922c198e69b52071e20c908358a0f09da2b218 /gcc/fold-const.c | |
parent | b1ab21e7f5ef455590b2be094997f976883c1e6e (diff) | |
download | gcc-23cdf8e8f6f1195788e81995bc9cf5997b5ce1fc.zip gcc-23cdf8e8f6f1195788e81995bc9cf5997b5ce1fc.tar.gz gcc-23cdf8e8f6f1195788e81995bc9cf5997b5ce1fc.tar.bz2 |
complex (operator+(const complex<>&, const _Tp&), [...]): Do not assume real() returns a reference (against DR 387).
2009-03-10 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/complex (operator+(const complex<>&, const _Tp&),
operator+(const _Tp&, const complex<>&),
operator-(const complex<>&, const _Tp&),
operator-(const _Tp&, const complex<>&)): Do not assume real()
returns a reference (against DR 387).
* testsuite/26_numerics/complex/dr387_2.cc: New.
From-SVN: r144770
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions