https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108391
Bug ID: 108391
Summary: Operator '::operator delete(void*, size_t)' was not
found when clang compiled stdlibc++
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108391
--- Comment #3 from jinci kang ---
(In reply to Jonathan Wakely from comment #2)
> Oh clang isn't using it, you're using it explicitly. So then that's a bug in
> your code. You shouldn't use it unless the macro is defined to say that it's
> usab
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108391
--- Comment #5 from jinci kang ---
(In reply to Jakub Jelinek from comment #4)
> No, but:
> #include
>
> int main() {
> void* p = ::operator new[](2);
> #if __cpp_sized_deallocation >= 201309
> ::operator delete[](p, 2);
> #else
> ::oper
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108391
--- Comment #8 from jinci kang ---
(In reply to Jakub Jelinek from comment #7)
> Grep shows that clang predefines that macro if -fsized-deallocation is used.
> But why that option doesn't default to on for C++14 is hard to understand.
Clang has
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108391
--- Comment #9 from jinci kang ---
This issue can be closed, but I don't know how to close this, can you help me
to close it.Thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108391
--- Comment #11 from jinci kang ---
OK
redi at gcc dot gnu.org 于2023年1月13日周五 21:53写道:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108391
>
> --- Comment #10 from Jonathan Wakely ---
> I've already closed it
>
> --
> You are receiving this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108391
--- Comment #13 from jinci kang ---
(In reply to Jonathan Wakely from comment #12)
> (In reply to jinci kang from comment #8)
> > Clang has a problem with ABI breaking.
> > https://reviews.llvm.org/D8467
>
> Ah yes. The most recent attempt to f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109448
Bug ID: 109448
Summary: _M_exception_object’ may be used uninitialized
[-Werror=maybe-uninitialized]
Product: gcc
Version: 12.2.1
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109448
--- Comment #1 from jinci kang ---
This problem occurs under GCC12 and when compiling optimization is turned on,
and only if the template T type is the empty type.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110162
Bug ID: 110162
Summary: redundant move in initialization
Product: gcc
Version: 13.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110162
--- Comment #1 from jinci kang ---
# OK.
$ g++ -std=c++2a -Werror -Wall main.cpp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110162
--- Comment #7 from jinci kang ---
(In reply to Jonathan Wakely from comment #5)
> (In reply to Andrew Pinski from comment #4)
> > See https://gcc.gnu.org/gcc-13/porting_to.html also.
>
> I don't think this is related to the new rules.
>
> The
12 matches
Mail list logo