diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-01-11 21:10:36 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-01-11 21:10:36 +0100 |
commit | eae63d784c503ad7954ac8ae28232aec635ac7fc (patch) | |
tree | 445f6cd62d154885a446d235163b694f1b08a014 /gcc/config.gcc | |
parent | 88df7964b5aa1b8cc2226177da25785c58b7c7e2 (diff) | |
download | gcc-eae63d784c503ad7954ac8ae28232aec635ac7fc.zip gcc-eae63d784c503ad7954ac8ae28232aec635ac7fc.tar.gz gcc-eae63d784c503ad7954ac8ae28232aec635ac7fc.tar.bz2 |
re PR c++/71537 (GCC rejects consetxpr boolean conversions and comparisons on the result of pointer arithmetic.)
PR c++/71537
* fold-const.c (maybe_nonzero_address): Return 1 for function
local objects.
(tree_single_nonzero_warnv_p): Don't handle function local objects
here.
* g++.dg/cpp1y/constexpr-71537.C: New test.
From-SVN: r244333
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions