https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118703
Bug ID: 118703
Summary: Abort compiling m2pim_NumberIO_BinToStr since
r15-7223-g92a5c5100c2519
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: build, wrong-code
Severity: normal
Priority: P3
Component: modula2
Assignee: gaius at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
CC: gaius at gcc dot gnu.org, jakub at gcc dot gnu.org, ro at
gcc dot gnu.org,
stefansf at gcc dot gnu.org
Depends on: 118689
Target Milestone: ---
Target: sparc-sun-solaris2.11, s390*-*-*
+++ This bug was initially created as a clone of Bug #118689 +++
As mentioned in PR118689, the modula 2 FER should build __builtin_c{t,z}{,l,ll}
builtins, as the middle-end is using those e.g. in the niters analysis.
gcc/m2/gm2-gcc/m2builtins.cc says
/* Entries are added by examining gcc/builtins.def and copying those
functions which can be applied to Modula-2. */
and manually copies some builtins, but not these.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118689
[Bug 118689] [15 regression] Abort compiling m2pim_NumberIO_BinToStr since
r15-7223-g92a5c5100c2519