aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/misc.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-06-19 16:29:49 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-06-19 16:29:49 +0100
commit74fda2dc9f6198c23da01303a51d06ff69008e31 (patch)
treecf7d2bc519aa3ce55889d822757c0085f6b61f57 /gcc/fortran/misc.c
parent4349775a30600906f5811ba7c743a5c22bdb3d7d (diff)
downloadgcc-74fda2dc9f6198c23da01303a51d06ff69008e31.zip
gcc-74fda2dc9f6198c23da01303a51d06ff69008e31.tar.gz
gcc-74fda2dc9f6198c23da01303a51d06ff69008e31.tar.bz2
Fix value category bugs in std::reduce
* include/std/numeric (reduce(Iter, Iter, T, BinOp)): Fix value category used in invocable check. (reduce(Iter, Iter, T)): Pass initial value as rvalue. * testsuite/26_numerics/reduce/2.cc: New test. From-SVN: r272477
Diffstat (limited to 'gcc/fortran/misc.c')
0 files changed, 0 insertions, 0 deletions