This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/68739] FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Feb 2017 21:07:06 +0000
- Subject: [Bug libstdc++/68739] FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)
- Auto-submitted: auto-generated
- References: <bug-68739-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68739
--- Comment #9 from dave.anglin at bell dot net ---
On 2017-02-19, at 4:47 PM, dave.anglin at bell dot net wrote:
>> Oh, (void*)1 works, it's only rejected with the LL suffix. That's not
>> conforming either (and Clang rejects it).
>
> I'll see if I can fix this with an include hack.
I missed that there was already a hack to change 1LL to 1L in the __LP64__
case.
Anyway, I can't remove the void * cast without changing the __MPOINTER defines
to use long.
--
John David Anglin dave.anglin@bell.net