public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112523] New: [14 regression] ICE in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2139
@ 2023-11-13 22:51 ro at gcc dot gnu.org
  2023-11-13 22:51 ` [Bug target/112523] " ro at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: ro at gcc dot gnu.org @ 2023-11-13 22:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112523
           Summary: [14 regression] ICE in ipa_push_agg_values_from_jfunc,
                    at ipa-cp.cc:2139
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: build, ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: sayle at gcc dot gnu.org
  Target Milestone: ---
              Host: i386-pc-solaris2.11
            Target: i386-pc-solaris2.11
             Build: i386-pc-solaris2.11

Between 20231110 and 20231123, Solaris/x86 bootstrap got broken: both the 32
and 64-bit libgcc/unwind-dw2.c and unwind-dw2-fde-dip.c cause an ICE:

during IPA pass: inline
/vol/gcc/src/hg/master/local/libgcc/unwind-dw2.c:1472: internal compiler error:
in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2139
 1472 |
      |

A reghunt identified this patch

commit 0a140730c970870a5125beb1114f6c01679a040e
Author: Roger Sayle <roger@nextmovesoftware.com>
Date:   Mon Nov 13 09:05:16 2023 +0000

    i386: Improve reg pressure of double word right shift then truncate.

as the culprit.  I've reduce unwind-dw2.c to the attached testcase.  The
failure can be seen with

cc1 -fpreprocessed unwind-dw2.i -quiet -mtune=generic -march=pentium4 -O2

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

end of thread, other threads:[~2023-11-14 16:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-13 22:51 [Bug target/112523] New: [14 regression] ICE in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2139 ro at gcc dot gnu.org
2023-11-13 22:51 ` [Bug target/112523] " ro at gcc dot gnu.org
2023-11-13 22:52 ` ro at gcc dot gnu.org
2023-11-13 22:55 ` pinskia at gcc dot gnu.org
2023-11-13 22:55 ` pinskia at gcc dot gnu.org
2023-11-13 22:56 ` ro at CeBiTec dot Uni-Bielefeld.DE
2023-11-13 23:19 ` [Bug target/112523] [14 regression] ICE in ipa_push_agg_values_from_jfunc, at ipa-cp.cc:2139 during bootstrap since r14-5385-g0a140730c97087 redi at gcc dot gnu.org
2023-11-14  6:31 ` sjames at gcc dot gnu.org
2023-11-14  9:21 ` jakub at gcc dot gnu.org
2023-11-14 10:19 ` ro at CeBiTec dot Uni-Bielefeld.DE
2023-11-14 10:22 ` jakub at gcc dot gnu.org
2023-11-14 10:27 ` redi at gcc dot gnu.org
2023-11-14 12:20 ` cvs-commit at gcc dot gnu.org
2023-11-14 16:58 ` 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).