https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119526
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #2 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118883
Bug ID: 118883
Summary: [C++17] Incorrectly requires initializer for static
constexpr class-member
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: nor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111351
--- Comment #7 from James Y Knight ---
On the libc++ side, a suggestion was given that instead of making this an
_error_, we could instead emit a warning if "a constexpr or constinit object is
a basic_string or contains a basic_string subobject,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111351
--- Comment #5 from James Y Knight ---
> Does using __builtin_is_constant_p on the union member not work?
I've created a proof-of-concept patch for libc++ to support SSO strings during
constant evaluation. It works.
If everyone disagrees with
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111351
--- Comment #4 from James Y Knight ---
vector and string are different in one key way: a zero-sized vector has no
accessible storage, while a zero-sized string has 1 byte of readable storage --
the NUL terminator. Because of that, I don't think
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111351
Bug ID: 111351
Summary: constexpr std::string objects permitted to escape
constant evaluation when SSO
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #8 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #12 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836
--- Comment #37 from James Y Knight ---
(In reply to qinzhao from comment #35)
> I think that -Wstrict-flex-arrays will need to be cooperated with
> -fstrict-flex-arrays=N, i.e, only when -fstrict-flex-arrays=N is presenting,
> -Wstrict-flex-arr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836
--- Comment #36 from James Y Knight ---
(In reply to Kees Cook from comment #34)
> > Great. Adding that flag, and eliminating the -fstrict-flex-arrays=3 option
> > from this proposal would be good.
>
> Hmm? No, -fstrict-flex-arrays=3 is still n
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836
--- Comment #33 from James Y Knight ---
(In reply to qinzhao from comment #32)
> there is a Bugzilla that has been filed for GCC to request the same warning
> for GCC:
> https://gcc.gnu.org/bugzilla//show_bug.cgi?id=94428
>
> -Wzero-length-arra
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #31 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99858
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #3 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36685
--- Comment #5 from James Y Knight ---
(oops submitted commit by mistake, continuing...)
Strangely, it appears that Clang and GCC both have odd behaviors currently, but
somewhat opposites:
- GCC appears to evaluate weak constants _only_ in fron
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36685
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #4 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104602
--- Comment #4 from James Y Knight ---
Yea that should work. Or even just `auto`.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104602
Bug ID: 104602
Summary: std::source_location::current uses cast from void*
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100038
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #8 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56958
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #6 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98096
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #7 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55918
--- Comment #6 from James Y Knight ---
I realize that my suggestion above could only solve _most_ of the problem --
e.g. the original example, where the noexcept function doesn't have a try/catch
in it.
In that original example, there's no entry
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55918
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #5 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100953
James Y Knight changed:
What|Removed |Added
CC||foom at fuhm dot net
--- Comment #3 fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88115
--- Comment #10 from James Y Knight ---
Seeing as GCC is now in Stage 4 before the next release, I'd like to ping this
bug.
Should the priority be upgraded? I think fixing this so that GCC doesn't use
'v111__alignof__' should be considered a rel
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98804
Bug ID: 98804
Summary: GCC misparses template in pack expansion as comparison
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compon
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88115
--- Comment #9 from James Y Knight ---
Proposed patch posted for the itanium-cxx-abi:
https://github.com/itanium-cxx-abi/cxx-abi/pull/115/files
using the syntax:
u * E
And to Clang, to use that syntax:
https://reviews.llvm.org/D93922
I hope
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98522
Bug ID: 98522
Summary: _mm_cvttps_pi32 and _mm_cvtps_pi32 raise spurious FP
exceptions
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98495
Bug ID: 98495
Summary: X86 _mm_extract_pi16 incorrectly sign extends result
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Componen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88115
--- Comment #7 from James Y Knight ---
I've created an ABI proposal against itanium abi, here:
https://github.com/itanium-cxx-abi/cxx-abi/issues/112
I realized since writing my last comment here that
::= u [] # vendor extended type
has been
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88115
--- Comment #6 from James Y Knight ---
> c++: Change the mangling of __alignof__ [PR88115]
The new mangling chosen for __alignof__(type) seems problematic, and I think
this commit ought to be reverted until a new mangling scheme has been cho
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97449
Bug ID: 97449
Summary: libstdc++ cannot be compiled with clang
after 3427e31331677ca826c5588c87924214f7e5c54b
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Se
31 matches
Mail list logo