public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108833] New: internal compiler error: Segmentation fault (GCC 12.1.1)
@ 2023-02-17 11:01 liavonlida at gmail dot com
  2023-02-17 11:50 ` [Bug c++/108833] [12 Regression] " rguenth at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: liavonlida at gmail dot com @ 2023-02-17 11:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108833
           Summary: internal compiler error: Segmentation fault (GCC
                    12.1.1)
           Product: gcc
           Version: 12.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: liavonlida at gmail dot com
  Target Milestone: ---

Created attachment 54480
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54480&action=edit
I tried to make the sample minimal.

Compilation fails with Segmentation fault.


<source>:250:8: internal compiler error: Segmentation fault
  250 |   s >> range;
      |        ^~~~~
0x1bb069e internal_error(char const*, ...)
        ???:0
0x87ce73 instantiate_decl(tree_node*, bool, bool)
        ???:0
0x898f3b instantiate_pending_templates(int)
        ???:0
0x7a4928 c_parse_final_cleanups()
        ???:0


I checked other versions at godbolt.org:

gcc 12.1.0          -> ok
gcc 12.1.1          -> fail      <<- my case with gcc-toolset-12 on Rocky Linux
8.7
gcc 12.2.0          -> fail
gcc trunk(13.0.1)   -> ok

Minimal code is attached

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

end of thread, other threads:[~2023-05-29 10:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-17 11:01 [Bug c++/108833] New: internal compiler error: Segmentation fault (GCC 12.1.1) liavonlida at gmail dot com
2023-02-17 11:50 ` [Bug c++/108833] [12 Regression] " rguenth at gcc dot gnu.org
2023-02-17 17:28 ` mpolacek at gcc dot gnu.org
2023-02-17 17:32 ` jakub at gcc dot gnu.org
2023-02-17 17:36 ` jakub at gcc dot gnu.org
2023-02-17 17:44 ` jakub at gcc dot gnu.org
2023-02-17 18:11 ` jakub at gcc dot gnu.org
2023-02-17 18:42 ` [Bug c++/108833] [11/12 " jakub at gcc dot gnu.org
2023-02-17 18:43 ` jakub at gcc dot gnu.org
2023-02-17 18:57 ` jakub at gcc dot gnu.org
2023-04-27 12:07 ` rguenth at gcc dot gnu.org
2023-05-29 10:08 ` jakub 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).