public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jbglaw@lug-owl.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/109026] New: m32c-elf: ICE while building Modula-2 components
Date: Sun, 05 Mar 2023 07:46:49 +0000	[thread overview]
Message-ID: <bug-109026-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 109026
           Summary: m32c-elf: ICE while building Modula-2 components
           Product: gcc
           Version: hsa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jbglaw@lug-owl.de
  Target Milestone: ---

This sneaked in with the Modula-2 merge:

[all 2023-03-05 01:12:42] test -d
/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/gcc/m2/gm2-libs ||
/bin/bash ../../gcc/gcc/../mkinstalldirs
/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/gcc/m2/gm2-libs
[all 2023-03-05 01:12:42] echo "GM2_FOR_TARGET
/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/./gcc/gm2
-B/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/./gcc/ "
[all 2023-03-05 01:12:42] GM2_FOR_TARGET
/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/./gcc/gm2
-B/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/./gcc/ 
[all 2023-03-05 01:12:42] echo "GCC_FOR_TARGET
/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/./gcc/xgcc
-B/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/./gcc/ "
[all 2023-03-05 01:12:42] GCC_FOR_TARGET
/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/./gcc/xgcc
-B/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/./gcc/ 
[all 2023-03-05 01:12:42] /bin/bash ../../gcc/gcc/m2/tools-src/makeSystem -fpim
\
[all 2023-03-05 01:12:42]              ../../gcc/gcc/m2/gm2-libs/SYSTEM.def \
[all 2023-03-05 01:12:42]              ../../gcc/gcc/m2/gm2-libs/SYSTEM.mod \
[all 2023-03-05 01:12:42]              -I../../gcc/gcc/m2/gm2-libs \
[all 2023-03-05 01:12:42]             
"/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/./gcc/gm2
-B/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/./gcc/ "
/var/lib/laminar/run/gcc-m32c-elf/34/toolchain-build/gcc/m2/gm2-libs/SYSTEM.def
[all 2023-03-05 01:12:43] during RTL pass: pro_and_epilogue
[all 2023-03-05 01:12:43] <built-in>: In function '_M2_SYSTEM_init':
[all 2023-03-05 01:12:43] <built-in>: internal compiler error: in
leaf_function_p, at final.cc:4054
[all 2023-03-05 01:12:43] 0x605999 leaf_function_p()
[all 2023-03-05 01:12:43]       ../../gcc/gcc/final.cc:4054
[all 2023-03-05 01:12:43] 0x109cd8c m32c_leaf_function_p
[all 2023-03-05 01:12:43]       ../../gcc/gcc/config/m32c/m32c.cc:4018
[all 2023-03-05 01:12:43] 0x109cd8c m32c_emit_prologue()
[all 2023-03-05 01:12:43]       ../../gcc/gcc/config/m32c/m32c.cc:4072
[all 2023-03-05 01:12:43] 0x14ebbfa gen_prologue()
[all 2023-03-05 01:12:43]       ../../gcc/gcc/config/m32c/prologue.md:26
[all 2023-03-05 01:12:43] 0x1099955 target_gen_prologue
[all 2023-03-05 01:12:43]       ../../gcc/gcc/config/m32c/blkmov.md:359
[all 2023-03-05 01:12:43] 0xa3c9b7 make_prologue_seq
[all 2023-03-05 01:12:43]       ../../gcc/gcc/function.cc:5841
[all 2023-03-05 01:12:43] 0xa3cb63 thread_prologue_and_epilogue_insns()
[all 2023-03-05 01:12:43]       ../../gcc/gcc/function.cc:6073
[all 2023-03-05 01:12:43] 0xa3d292 rest_of_handle_thread_prologue_and_epilogue
[all 2023-03-05 01:12:43]       ../../gcc/gcc/function.cc:6572
[all 2023-03-05 01:12:43] 0xa3d292 execute
[all 2023-03-05 01:12:43]       ../../gcc/gcc/function.cc:6655
[all 2023-03-05 01:12:43] Please submit a full bug report, with preprocessed
source (by using -freport-bug).
[all 2023-03-05 01:12:43] Please include the complete backtrace with any bug
report.
[all 2023-03-05 01:12:43] See <https://gcc.gnu.org/bugs/> for instructions.

Should be reproducible with:
.../gcc/configure --enable-werror-always --enable-languages=all --disable-gcov
--disable-shared --disable-threads --target=m32c-elf --without-headers
make V=1 all-gcc

My most recent build log is at
http://toolchain.lug-owl.de/laminar/jobs/gcc-m32c-elf, the above is taken from
http://toolchain.lug-owl.de/laminar/jobs/gcc-m32c-elf/34 (which is based on
g:6010189923908501ca5b02bd1f4aee05d2283118).

             reply	other threads:[~2023-03-05  7:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-05  7:46 jbglaw@lug-owl.de [this message]
2023-03-05  7:49 ` [Bug target/109026] " jbglaw@lug-owl.de
2023-03-05  8:03 ` pinskia 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-109026-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).