This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71537] GCC rejects consetxpr boolean conversions and comparisons on the result of pointer arithmetic.
- From: "eric at efcs dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Jun 2016 00:05:31 +0000
- Subject: [Bug c++/71537] GCC rejects consetxpr boolean conversions and comparisons on the result of pointer arithmetic.
- Auto-submitted: auto-generated
- References: <bug-71537-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71537
--- Comment #2 from Eric Fiselier <eric at efcs dot ca> ---
Hi Martin,
The 'xx' case is only accepted if it occurs at a global scope. If it appears
in a function body it is still rejected.