diff options
author | Jason Merrill <jason@redhat.com> | 2019-11-10 15:30:03 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-11-10 15:30:03 -0500 |
commit | 2806ecbdc8054ef9f3968577806b007baefad4e6 (patch) | |
tree | 144d7a35712fc76f3d1deecbc1d6c139f4bf098d /gcc/gimplify.c | |
parent | 0313a84a2faa8f685eb489fa787f1ea969f68560 (diff) | |
download | gcc-2806ecbdc8054ef9f3968577806b007baefad4e6.zip gcc-2806ecbdc8054ef9f3968577806b007baefad4e6.tar.gz gcc-2806ecbdc8054ef9f3968577806b007baefad4e6.tar.bz2 |
Implement D1957R0, T* to bool should be considered narrowing.
This paper was delayed until the February meeting in Prague so that we could
get a better idea of what the impact on existing code would actually be. To
that end, I'm implementing it now.
* typeck2.c (check_narrowing): Treat pointer->bool as a narrowing
conversion with -std=c++2a.
From-SVN: r278026
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions