aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/async.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2019-01-27 20:19:41 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2019-01-27 20:19:41 +0000
commitf8ec35c322fefe5609439a0dcfff0da0acbc9f72 (patch)
tree303d78bfca602c2ab5f6769b662b99ffebfb6f37 /libgfortran/io/async.c
parent73a54a61930af1aa355fdfb566c7a07af3a60cf8 (diff)
downloadgcc-f8ec35c322fefe5609439a0dcfff0da0acbc9f72.zip
gcc-f8ec35c322fefe5609439a0dcfff0da0acbc9f72.tar.gz
gcc-f8ec35c322fefe5609439a0dcfff0da0acbc9f72.tar.bz2
PR c++/88815 - narrowing conversion lost in decltype.
PR c++/78244 - narrowing conversion in template not detected. * cp-tree.h (CONSTRUCTOR_IS_DEPENDENT): New. * pt.c (instantiation_dependent_r): Consider a CONSTRUCTOR with CONSTRUCTOR_IS_DEPENDENT instantiation-dependent. * semantics.c (finish_compound_literal): When the compound literal isn't instantiation-dependent and the type isn't type-dependent, fall back to the normal processing. Set CONSTRUCTOR_IS_DEPENDENT. * g++.dg/cpp0x/Wnarrowing15.C: New test. * g++.dg/cpp0x/Wnarrowing16.C: New test. * g++.dg/cpp0x/constexpr-decltype3.C: New test. * g++.dg/cpp1y/Wnarrowing1.C: New test. From-SVN: r268321
Diffstat (limited to 'libgfortran/io/async.c')
0 files changed, 0 insertions, 0 deletions