re PR c++/83713 (ICE in do_narrow at gcc/convert.c:474)
authorRichard Biener <rguenther@suse.de>
Mon, 8 Jan 2018 13:24:38 +0000 (13:24 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 8 Jan 2018 13:24:38 +0000 (13:24 +0000)
commit87c4dace919a404c10521061af2bad6e4752810e
tree9f644b50c5c3d94c6015b5c4b2e9240ecda601b9
parent960c02b84e5b03f774d3f07dcceb85c24416ac8f
re PR c++/83713 (ICE in do_narrow at gcc/convert.c:474)

2018-01-08  Richard Biener  <rguenther@suse.de>

PR middle-end/83713
* convert.c (do_narrow): Properly guard TYPE_OVERFLOW_WRAPS checks.

* g++.dg/torture/pr83713.C: New testcase.

From-SVN: r256341
gcc/ChangeLog
gcc/convert.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr83713.C [new file with mode: 0644]