public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "liavonlida at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/108833] New: internal compiler error: Segmentation fault (GCC 12.1.1)
Date: Fri, 17 Feb 2023 11:01:29 +0000	[thread overview]
Message-ID: <bug-108833-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             reply	other threads:[~2023-02-17 11:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17 11:01 liavonlida at gmail dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-108833-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).