[Bug c++/95468] New: ICE in expression sfinae

2020-06-01 Thread kab at acm dot org
++ Assignee: unassigned at gcc dot gnu.org Reporter: kab at acm dot org Target Milestone: --- The code below gets ICE with gcc9.2 and gcc7.5 (the versions I have immediately available to test with). The error message is: internal compiler error: unexpected expression '(bool)(true)

[Bug c++/95468] ICE in expression sfinae

2020-06-02 Thread kab at acm dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95468 --- Comment #1 from kab at acm dot org --- This was labeled as "ice-on-invalid-code". Am I missing something? I don't see anything invalid here.

[Bug tree-optimization/96951] strncpy truncation warning does not recognize truncation check

2020-09-08 Thread kab at acm dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96951 --- Comment #5 from kab at acm dot org --- (In reply to Martin Sebor from comment #3) > If in the code the test case was derived from the string > member is not necessarily meant to be a string then declaring it with > attribute nonstri

[Bug c++/113760] gcc rejects valid empty-declaration in pedantic mode

2024-02-05 Thread kab at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760 kab at acm dot org changed: What|Removed |Added CC||kab at acm dot org --- Comment #5