This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/68739] FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]