[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-31 Thread omerfaruko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 --- Comment #14 from Omer Ozarslan --- Amazing, thank you Nathaniel!

[Bug c++/121238] `-fmodules` causes invalid runtime exceptions with `std::format`

2025-07-28 Thread omerfaruko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121238 --- Comment #7 from Omer Ozarslan --- Hi. I could isolate this to around __parse_integer (__from_chars_alnum?) based on above snippets. Please also take a look at Bug 121254 Comment 4 which is likely related. Removing the template from parse_i

[Bug c++/121254] [modules] Specialization for std::formatter in a module causes std::format to throw error during parse

2025-07-27 Thread omerfaruko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121254 --- Comment #4 from Omer Ozarslan --- I debugged this a bit yesterday. __parse_integer returns nullptr for the second argument here: https://github.com/gcc-mirror/gcc/blame/62f8a246bbaa1a1f5aedba4c84f7fe4c7eca799f/libstdc%2B%2B-v3/include/std/f

[Bug c++/121254] [modules] Specialization for std::formatter in a module causes std::format to throw error during parse

2025-07-27 Thread omerfaruko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121254 --- Comment #3 from Omer Ozarslan --- Created attachment 61979 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61979&action=edit asm for good version

[Bug c++/121254] [modules] Specialization for std::formatter in a module causes std::format to throw error during parse

2025-07-27 Thread omerfaruko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121254 --- Comment #2 from Omer Ozarslan --- Created attachment 61978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61978&action=edit asm for bad version

[Bug c++/121254] New: [modules] Specialization for std::formatter in a module causes std::format to throw error during parse

2025-07-26 Thread omerfaruko at gmail dot com via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: omerfaruko at gmail dot com Target Milestone: --- This was the underlying issue I was trying to debug in Bug 121175. std::format throws during

[Bug c++/121175] New: [modules] ICE with explicit specialization of template class (internal compiler error: in tree_node, at cp/module.cc:9975)

2025-07-19 Thread omerfaruko at gmail dot com via Gcc-bugs
Version: 15.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: omerfaruko at gmail dot com Target Milestone: --- Created attachment 61916 --> https://gcc.gnu.

[Bug c++/93283] New: Partial specialization not specializing any parameters is allowed with alias templates

2020-01-15 Thread omerfaruko at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: omerfaruko at gmail dot com Target Milestone: --- Partial specializations with template aliases are allowed even if they don't specialize any template argu