public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99915] New: [modules] ICE in write_location
@ 2021-04-05 11:10 alexander.lelyakin at googlemail dot com
  2021-04-09 16:31 ` [Bug c++/99915] " alexander.lelyakin at googlemail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-04-05 11:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99915

            Bug ID: 99915
           Summary: [modules] ICE in write_location
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alexander.lelyakin at googlemail dot com
  Target Milestone: ---

This ICE is very similar to 99246, but it is closed as fixed.
So I assume that it is a new bug with similar symptoms.

/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header bit
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header istream
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cmath
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header locale
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header bitset
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header shared_mutex
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header new
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header ciso646
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header memory
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header fstream
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header thread
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header regex
----
In module imported at /usr/local/include/c++/11.0.1/sstream:38:1,
        included from /usr/local/include/c++/11.0.1/regex:46:
/usr/local/include/c++/11.0.1/istream: note: unable to represent further
imported source locations
/usr/local/include/c++/11.0.1/regex: internal compiler error: in
write_location, at cp/module.cc:15607
0x6de279 module_state::write_location(bytes_out&, unsigned int)
        ../../gcc/gcc/cp/module.cc:15607
0xa67153 trees_out::core_vals(tree_node*)
        ../../gcc/gcc/cp/module.cc:5904
0xa6a5c4 trees_out::tree_node_vals(tree_node*)
        ../../gcc/gcc/cp/module.cc:7054
0xa6a5c4 trees_out::tree_value(tree_node*)
        ../../gcc/gcc/cp/module.cc:8890
0xa66654 trees_out::tree_node(tree_node*)
        ../../gcc/gcc/cp/module.cc:9088
0xa6a9aa trees_out::write_var_def(tree_node*)
        ../../gcc/gcc/cp/module.cc:11475
0xa6bc45 module_state::write_cluster(elf_out*, depset**, unsigned int,
depset::hash&, unsigned int*, unsigned int*)
        ../../gcc/gcc/cp/module.cc:14662
0xa6d5ce module_state::write(elf_out*, cpp_reader*)
        ../../gcc/gcc/cp/module.cc:17734
0xa6e338 finish_module_processing(cpp_reader*)
        ../../gcc/gcc/cp/module.cc:19845
0xa014cb c_parse_final_cleanups()
        ../../gcc/gcc/cp/decl2.c:5175
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
----
g++ (GCC) 11.0.1 20210405 (experimental)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/99915] [modules] ICE in write_location
  2021-04-05 11:10 [Bug c++/99915] New: [modules] ICE in write_location alexander.lelyakin at googlemail dot com
@ 2021-04-09 16:31 ` alexander.lelyakin at googlemail dot com
  2022-01-01  4:11 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-04-09 16:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99915

--- Comment #1 from Alexander Lelyakin <alexander.lelyakin at googlemail dot com> ---
Another sequence, same length:

/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header filesystem
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header coroutine
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cerrno
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cstdlib
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header csetjmp
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header bitset
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header memory_resource
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header locale
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header memory
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header ios
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cstdbool
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header regex
----
In module imported at /usr/local/include/c++/11.0.1/istream:38:1,
        included from /usr/local/include/c++/11.0.1/sstream:38,
                 from /usr/local/include/c++/11.0.1/regex:46:
/usr/local/include/c++/11.0.1/ios: note: unable to represent further imported
source locations
/usr/local/include/c++/11.0.1/regex: internal compiler error: in
write_location, at cp/module.cc:15607
0x6df3ed module_state::write_location(bytes_out&, unsigned int)
        ../../gcc/gcc/cp/module.cc:15607
0xa68c23 trees_out::core_vals(tree_node*)
        ../../gcc/gcc/cp/module.cc:5904
0xa6c094 trees_out::tree_node_vals(tree_node*)
        ../../gcc/gcc/cp/module.cc:7054
0xa6c094 trees_out::tree_value(tree_node*)
        ../../gcc/gcc/cp/module.cc:8890
0xa68124 trees_out::tree_node(tree_node*)
        ../../gcc/gcc/cp/module.cc:9088
0xa6c47a trees_out::write_var_def(tree_node*)
        ../../gcc/gcc/cp/module.cc:11475
0xa6d715 module_state::write_cluster(elf_out*, depset**, unsigned int,
depset::hash&, unsigned int*, unsigned int*)
        ../../gcc/gcc/cp/module.cc:14662
0xa6f09e module_state::write(elf_out*, cpp_reader*)
        ../../gcc/gcc/cp/module.cc:17734
0xa6fe08 finish_module_processing(cpp_reader*)
        ../../gcc/gcc/cp/module.cc:19857
0xa02fab c_parse_final_cleanups()
        ../../gcc/gcc/cp/decl2.c:5175
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
----
g++ (GCC) 11.0.1 20210409 (experimental)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/99915] [modules] ICE in write_location
  2021-04-05 11:10 [Bug c++/99915] New: [modules] ICE in write_location alexander.lelyakin at googlemail dot com
  2021-04-09 16:31 ` [Bug c++/99915] " alexander.lelyakin at googlemail dot com
@ 2022-01-01  4:11 ` pinskia at gcc dot gnu.org
  2022-01-01  4:23 ` pinskia at gcc dot gnu.org
  2022-01-01  4:24 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-01  4:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99915

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-01-01

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, I have seen this while reducing PR 99479

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/99915] [modules] ICE in write_location
  2021-04-05 11:10 [Bug c++/99915] New: [modules] ICE in write_location alexander.lelyakin at googlemail dot com
  2021-04-09 16:31 ` [Bug c++/99915] " alexander.lelyakin at googlemail dot com
  2022-01-01  4:11 ` pinskia at gcc dot gnu.org
@ 2022-01-01  4:23 ` pinskia at gcc dot gnu.org
  2022-01-01  4:24 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-01  4:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99915

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |1lumin at protonmail dot com

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 101184 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/99915] [modules] ICE in write_location
  2021-04-05 11:10 [Bug c++/99915] New: [modules] ICE in write_location alexander.lelyakin at googlemail dot com
                   ` (2 preceding siblings ...)
  2022-01-01  4:23 ` pinskia at gcc dot gnu.org
@ 2022-01-01  4:24 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-01  4:24 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99915

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boris at kolpackov dot net

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 99051 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-01  4:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 11:10 [Bug c++/99915] New: [modules] ICE in write_location alexander.lelyakin at googlemail dot com
2021-04-09 16:31 ` [Bug c++/99915] " alexander.lelyakin at googlemail dot com
2022-01-01  4:11 ` pinskia at gcc dot gnu.org
2022-01-01  4:23 ` pinskia at gcc dot gnu.org
2022-01-01  4:24 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).