public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/109026] New: m32c-elf: ICE while building Modula-2 components
@ 2023-03-05  7:46 jbglaw@lug-owl.de
  2023-03-05  7:49 ` [Bug target/109026] " jbglaw@lug-owl.de
  2023-03-05  8:03 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: jbglaw@lug-owl.de @ 2023-03-05  7:46 UTC (permalink / raw)
  To: gcc-bugs

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).

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

* [Bug target/109026] m32c-elf: ICE while building Modula-2 components
  2023-03-05  7:46 [Bug target/109026] New: m32c-elf: ICE while building Modula-2 components jbglaw@lug-owl.de
@ 2023-03-05  7:49 ` jbglaw@lug-owl.de
  2023-03-05  8:03 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jbglaw@lug-owl.de @ 2023-03-05  7:49 UTC (permalink / raw)
  To: gcc-bugs

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

Jan-Benedict Glaw <jbglaw@lug-owl.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|hsa                         |13.0

--- Comment #1 from Jan-Benedict Glaw <jbglaw@lug-owl.de> ---
Don't know how much effort to put into this. m32c has some very old PRs which
look rather trivial, with no maintainer listed, so it's maybe ... dead already?

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

* [Bug target/109026] m32c-elf: ICE while building Modula-2 components
  2023-03-05  7:46 [Bug target/109026] New: m32c-elf: ICE while building Modula-2 components jbglaw@lug-owl.de
  2023-03-05  7:49 ` [Bug target/109026] " jbglaw@lug-owl.de
@ 2023-03-05  8:03 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-03-05  8:03 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 83670.

*** This bug has been marked as a duplicate of bug 83670 ***

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

end of thread, other threads:[~2023-03-05  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-05  7:46 [Bug target/109026] New: m32c-elf: ICE while building Modula-2 components jbglaw@lug-owl.de
2023-03-05  7:49 ` [Bug target/109026] " jbglaw@lug-owl.de
2023-03-05  8:03 ` pinskia 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).