public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/105409] ICE in simplify_subreg, at simplify-rtx.cc:7351
Date: Thu, 05 May 2022 08:24:31 +0000	[thread overview]
Message-ID: <bug-105409-4-mH9UGOSkii@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-105409-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> $ cc1plus -m32 -quiet m.x0-m_m2.cpp
> m.x0-m_m2.cpp:111:1: internal compiler error: in simplify_subreg, at
> simplify-rtx.cc:7351
>   111 | }
>       | ^

If one compiles the testcase with a sparcv9-sun-solaris2.11 g++, it
works just fine.  However, the cc1plus invocation is different:

cc1plus -mptr32 -mno-stack-bias -quiet -m32 -mcpu=v9 m.x0-m_m2.cpp

Omitting the -mptr32 lets the ICE resurface.

It seems gm2 omits CC1_SPEC from the cc1/cc1plus invocation in
gcc/m2/m2-link-support.h.

  parent reply	other threads:[~2022-05-05  8:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27 14:39 [Bug middle-end/105409] New: " ro at gcc dot gnu.org
2022-04-27 14:40 ` [Bug middle-end/105409] " ro at gcc dot gnu.org
2022-05-05  8:24 ` ro at CeBiTec dot Uni-Bielefeld.DE [this message]
2022-05-05 13:59 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-05-05 16:27 ` gaius 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-105409-4-mH9UGOSkii@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).