public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/108711] [13 Regression] ICE in get_equiv, at lra-constraints.cc:534
Date: Wed, 08 Feb 2023 08:37:30 +0000	[thread overview]
Message-ID: <bug-108711-4-DrRa3eG6U7@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-108711-4@http.gcc.gnu.org/bugzilla/>

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-02-08
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Reduced test-case:

$ cat goexpr.ii

struct Expression_list {
  Expression_list *copy();
} vals_;
struct Parser_expression {
  Parser_expression();
};
struct Composite_literal_expression : Parser_expression {
  Composite_literal_expression(bool has_keys, Expression_list *,
                               bool all_are_names)
      : has_keys_(has_keys), all_are_names_(all_are_names) {}
  void do_copy();
  bool has_keys_;
  bool all_are_names_;
};
void Composite_literal_expression::do_copy() {
  new Composite_literal_expression(has_keys_, vals_.copy(), all_are_names_);
}

$
/home/abuild/rpmbuild/BUILD/gcc-13.0.1+git5733/obj-i586-suse-linux/./prev-gcc/xg++
-B/home/abuild/rpmbuild/BUILD/gcc-13.0.1+git5733/obj-i586-suse-linux/./prev-gcc/
-fno-exceptions   -O2 goexpr.ii -c
during RTL pass: reload
goexpr.ii: In member function 'void Composite_literal_expression::do_copy()':
goexpr.ii:17:1: internal compiler error: in get_equiv, at
lra-constraints.cc:534
   17 | }
      | ^
0x84f9177 _start
        ../sysdeps/i386/start.S:111
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.opensuse.org/> for instructions.

  parent reply	other threads:[~2023-02-08  8:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-08  8:24 [Bug bootstrap/108711] New: " marxin at gcc dot gnu.org
2023-02-08  8:26 ` [Bug rtl-optimization/108711] " pinskia at gcc dot gnu.org
2023-02-08  8:31 ` jakub at gcc dot gnu.org
2023-02-08  8:37 ` marxin at gcc dot gnu.org [this message]
2023-02-08 18:09 ` pinskia at gcc dot gnu.org
2023-02-09 21:48 ` cvs-commit 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-108711-4-DrRa3eG6U7@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).