[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > I think this is RAW_DATA_CST issue. Yes it looks like cp/module.cc does not support RAW_DATA_CST at all.

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 Andrew Pinski changed: What|Removed |Added CC||jakub at gcc dot gnu.org St

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #7 from Andrew Pinski --- I think this is RAW_DATA_CST issue. lohmann::json_abi_v3_11_3::detail::serializer::decode Has the array: ``` static const std::array utf8d = { { 0, 0, 0, 0, 0, 0, 0,

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #6 from Andrew Pinski --- Trying to reduce this.

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #5 from Andrew Pinski --- Created attachment 60631 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60631&action=edit test script This is the testscript which I used to reproduce the ICE

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #4 from Andrew Pinski --- here is the full backtrace: In file included from ./include/nlohmann/json.hpp:60, of module ./json.hpp, imported at main.cxx:1: ./include/nlohmann/detail/output/serializer.hpp: In instantiation of ‘static ui

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread trinxery at firemail dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #3 from trinxery at firemail dot cc --- and main.cxx is: # 0 "./main.cxx" # 0 "" # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 0 "" 2 # 1 "./main.cxx" import "././include/nlohmann/json.hpp" [[__translated]]; # 1 "/usr/include/c++/

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread trinxery at firemail dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 --- Comment #2 from trinxery at firemail dot cc --- Created attachment 60626 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60626&action=edit preprocessed json.hpp

[Bug c++/119076] ICE with Segmentation fault with modules

2025-03-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119076 Andrew Pinski changed: What|Removed |Added Component|pch |c++ Status|UNCONFIRMED