[Bug c++/119236] New: GCC incorrectly accepts alignof() operator applied to function type

2025-03-12 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119236 Bug ID: 119236 Summary: GCC incorrectly accepts alignof() operator applied to function type Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119239] New: GCC fail to reject odr-use of local constant in template lambda without capture

2025-03-12 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119239 Bug ID: 119239 Summary: GCC fail to reject odr-use of local constant in template lambda without capture Product: gcc Version: 15.0 Status: UNCONFIRMED Severity

[Bug c++/119182] New: Compiler Fails to Diagnose Redefinition of Type Alias in Lambda Scope

2025-03-09 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119182 Bug ID: 119182 Summary: Compiler Fails to Diagnose Redefinition of Type Alias in Lambda Scope Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119180] New: GCC Accepts Non-Standard Variable-Length Arrays (VLAs) in C++ Without Warnings

2025-03-09 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119180 Bug ID: 119180 Summary: GCC Accepts Non-Standard Variable-Length Arrays (VLAs) in C++ Without Warnings Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug c++/119082] New: GCC Incorrectly Accepts Explicit Destructor Call for Scalar Type in constexpr Context

2025-03-01 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119082 Bug ID: 119082 Summary: GCC Incorrectly Accepts Explicit Destructor Call for Scalar Type in constexpr Context Product: gcc Version: 13.3.0 Status: UNCONFIRMED

[Bug c++/119043] New: GCC 14.2 Fails to Parse Empty Attribute [[ ]] in Array new Expression

2025-02-27 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119043 Bug ID: 119043 Summary: GCC 14.2 Fails to Parse Empty Attribute [[ ]] in Array new Expression Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119035] New: Problem of __attribute__ and maybe gcc 14 and 15 accepts invalid

2025-02-26 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119035 Bug ID: 119035 Summary: Problem of __attribute__ and maybe gcc 14 and 15 accepts invalid Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119027] New: Problem of 'case' statement not in switch statement and maybe gcc 10 accepts invalid

2025-02-26 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119027 Bug ID: 119027 Summary: Problem of 'case' statement not in switch statement and maybe gcc 10 accepts invalid Product: gcc Version: 13.0 Status: UNCONFIRMED Sev

[Bug c++/119026] New: Problem of const constexpr and maybe gcc 10 accepts invalid

2025-02-26 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119026 Bug ID: 119026 Summary: Problem of const constexpr and maybe gcc 10 accepts invalid Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/119024] New: Problem of structured binding and maybe gcc 10 accepts invalid

2025-02-26 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119024 Bug ID: 119024 Summary: Problem of structured binding and maybe gcc 10 accepts invalid Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119023] New: Problem of try-block scope and maybe gcc before 12 accepts invalid

2025-02-26 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119023 Bug ID: 119023 Summary: Problem of try-block scope and maybe gcc before 12 accepts invalid Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/119020] New: Problem of constexpr static lambda and maybe GCC accepts invalid

2025-02-25 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119020 Bug ID: 119020 Summary: Problem of constexpr static lambda and maybe GCC accepts invalid Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/118971] New: GCC incorrectly accepts a C++ program with a malformed lambda expression in the capture list

2025-02-21 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118971 Bug ID: 118971 Summary: GCC incorrectly accepts a C++ program with a malformed lambda expression in the capture list Product: gcc Version: 14.2.0 Status: UNCONFIRMED

[Bug c++/118969] New: GCC accepts a program containing the [[likely]] attribute outside of a function context, while Clang correctly rejects it due to a syntax error.

2025-02-21 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118969 Bug ID: 118969 Summary: GCC accepts a program containing the [[likely]] attribute outside of a function context, while Clang correctly rejects it due to a syntax error. Pro

[Bug c++/118968] New: GCC compiles illegal label in constexpr

2025-02-21 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118968 Bug ID: 118968 Summary: GCC compiles illegal label in constexpr Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/117257] New: Problem of std::complex and maybe GCC accepts invalid

2024-10-22 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117257 Bug ID: 117257 Summary: Problem of std::complex and maybe GCC accepts invalid Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/117256] New: When initializing an object, padding bits are not set to zero

2024-10-22 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117256 Bug ID: 117256 Summary: When initializing an object, padding bits are not set to zero Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal

[Bug c++/117255] New: There is a core language undefined behavior in the constexpr function, but GCC did not report the error

2024-10-22 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117255 Bug ID: 117255 Summary: There is a core language undefined behavior in the constexpr function, but GCC did not report the error Product: gcc Version: unknown Status: UNC

[Bug c/110427] New: a

2023-06-27 Thread qurong at ios dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110427 Bug ID: 110427 Summary: a int main() { int a = 0; if (a < a--) { a = 1; } printf("%d\n", a); return 0; }