aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-01-25 15:01:05 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2017-01-25 15:01:05 +0000
commit536c221d20d42459739e34e3a5aba8268cf48a6f (patch)
tree493bd6545f0a7185424b11d26531ab57a6d3096f /gcc/gimplify.c
parenta5d6927fef24c2cae73e473f8c997631eeb63152 (diff)
downloadgcc-536c221d20d42459739e34e3a5aba8268cf48a6f.zip
gcc-536c221d20d42459739e34e3a5aba8268cf48a6f.tar.gz
gcc-536c221d20d42459739e34e3a5aba8268cf48a6f.tar.bz2
PR libstdc++/70607 make proj(T) and conj(T) return complex<T>
PR libstdc++/61791 PR libstdc++/70607 * include/std/complex (real(T), imag(T)): Add _GLIBCXX_CONSTEXPR. (proj(T), conj(T)): Change return types per DR 1522. * include/tr1/complex (conj): Remove overloads and use std::conj. * testsuite/26_numerics/complex/dr781_dr1137.cc: Rename to... * testsuite/26_numerics/complex/dr781.cc: ... this, and update. * testsuite/26_numerics/complex/value_operations/constexpr2.cc: Test real(T) and imag(T). Allow testing for C++11 too. From-SVN: r244900
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions