[Bug c++/58616] [meta-bug] nsdmi

2021-11-30 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 66839, which changed state. Bug 66839 Summary: g++ accepts NSDMI with -std=c++98 when the intializer is a macro defined in a standard header https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66839 What|Removed

[Bug c++/101449] [modules] internal compiler error: in cxx_eval_call_expression

2021-09-06 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101449 --- Comment #1 from ensadc at mailnesia dot com --- https://godbolt.org/z/fMr9acG15

[Bug c++/101140] [modules] no matching function for call to ‘operator new(sizetype, void*)’

2021-09-06 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101140 --- Comment #1 from ensadc at mailnesia dot com --- https://godbolt.org/z/EaPf3anxx

[Bug libstdc++/105505] New: P1951R1 (Default Arguments for pair's Forwarding Constructor) is unimplemented

2022-05-06 Thread ensadc at mailnesia dot com via Gcc-bugs
erity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: redi at gcc dot gnu.org Target Milestone: --- https://en.cppreference.com/w/cpp/compiler_support claims that P1

[Bug c++/101449] New: [modules] internal compiler error: in cxx_eval_call_expression

2021-07-14 Thread ensadc at mailnesia dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- $ cat str.cpp export module str; export struct str { constexpr str() { ptr = new char[42]; } constexpr ~str

[Bug c++/101589] New: Incorrect implementation of LWG 3533 for elements_view

2021-07-22 Thread ensadc at mailnesia dot com via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: ppalka at gcc dot gnu.org Target Milestone: --- LWG 3533 changed the const& overload of `elements_view::iterator::base` to return a const reference, but it seems

[Bug libstdc++/110990] New: `format_to_n` returns wrong value

2023-08-11 Thread ensadc at mailnesia dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://godbolt.org/z/4fv71hhGe #include #include int main() { char buf[10] = "@"; auto result = std::format_to_n(buf, std::size(buf), &quo

[Bug c++/109756] New: "internal compiler error: tree check" when using the [[assume]] attribute with pack expansion

2023-05-06 Thread ensadc at mailnesia dot com via Gcc-bugs
NCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- https://godbolt.org/z/WPn9aq8sr bool f(auto... args) { [[assume(args > 0)...]

[Bug c++/120017] New: Nested diagnostics could be slightly improved for concepts-related diagnostics

2025-04-29 Thread ensadc at mailnesia dot com via Gcc-bugs
Keywords: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com CC: dmalcolm at gcc dot gnu.org Target Milestone: --- This issue is specific to the new

[Bug other/120063] New: SARIF output: fatal errors should have their "level" set to "error"

2025-05-02 Thread ensadc at mailnesia dot com via Gcc-bugs
Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: ensadc at mailnesia dot com Target Milestone: --- This is really a bug report against the `-fdiagnostics-format=sarif-stderr` option, though the example is

[Bug other/120063] SARIF output: fatal errors should have their "level" set to "error"

2025-05-02 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120063 --- Comment #1 from ensadc at mailnesia dot com --- AFAIK this can be fixed by adding `case DK_FATAL` to `maybe_get_sarif_level` in `diagnostic-format-sarif.cc`. diff --git a/gcc/diagnostic-format-sarif.cc b/gcc/diagnostic-format-sarif.cc index

<    1   2