diff options
author | Marek Polacek <polacek@redhat.com> | 2019-01-16 15:58:34 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-01-16 15:58:34 +0000 |
commit | 2ea2a74dceda4b4ddf7433f2c1d9ab72aa2bd0b0 (patch) | |
tree | eb3f5539cfe6d102414e395de229deae883a1283 /libbacktrace/dwarf.c | |
parent | 647c5e3ea774f96c7f84b3ebacf1cb180aa2fbc5 (diff) | |
download | gcc-2ea2a74dceda4b4ddf7433f2c1d9ab72aa2bd0b0.zip gcc-2ea2a74dceda4b4ddf7433f2c1d9ab72aa2bd0b0.tar.gz gcc-2ea2a74dceda4b4ddf7433f2c1d9ab72aa2bd0b0.tar.bz2 |
PR c++/78244 - narrowing conversion in template not detected.
* call.c (perform_implicit_conversion_flags): Set
IMPLICIT_CONV_EXPR_BRACED_INIT.
* cp-tree.h (IMPLICIT_CONV_EXPR_BRACED_INIT): New.
* pt.c (tsubst_copy_and_build): Use it.
* g++.dg/cpp0x/Wnarrowing13.C: New test.
* g++.dg/cpp0x/Wnarrowing14.C: New test.
From-SVN: r267976
Diffstat (limited to 'libbacktrace/dwarf.c')
0 files changed, 0 insertions, 0 deletions