public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ipa/107925] New: ICE in update_specialized_profile at gcc/ipa-cp.cc:5082 for 531.deepsjeng_r benchmark
@ 2022-11-29 20:46 marxin at gcc dot gnu.org
  2022-11-29 20:46 ` [Bug ipa/107925] " marxin at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-11-29 20:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107925
           Summary: ICE in update_specialized_profile at
                    gcc/ipa-cp.cc:5082 for 531.deepsjeng_r benchmark
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jamborm at gcc dot gnu.org, marxin at gcc dot gnu.org,
                    tnfchris at gcc dot gnu.org
  Target Milestone: ---

Created attachment 53985
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53985&action=edit
test-case

Noticed by Tamar and their testers using fancy parameters:

$ g++ -march=native -Ofast -flto=auto --param ipa-cp-eval-threshold=1 *.ii
-fprofile-use
during IPA pass: cp
lto1: internal compiler error: in operator>=, at profile-count.h:999
0x814bcc profile_count::operator>=(profile_count const&) const
        /home/marxin/Programming/gcc/gcc/profile-count.h:999
0x814bcc profile_count::operator>=(profile_count const&) const
        /home/marxin/Programming/gcc/gcc/profile-count.h:991
0x814bcc update_specialized_profile
        /home/marxin/Programming/gcc/gcc/ipa-cp.cc:5082
0x1be1689 perhaps_add_new_callers<tree_node*>
        /home/marxin/Programming/gcc/gcc/ipa-cp.cc:5932
0x1be1689 decide_about_value<tree_node*>
        /home/marxin/Programming/gcc/gcc/ipa-cp.cc:6038
0x1be40cc decide_whether_version_node
        /home/marxin/Programming/gcc/gcc/ipa-cp.cc:6190
0x1be5c02 ipcp_decision_stage
        /home/marxin/Programming/gcc/gcc/ipa-cp.cc:6388
0x1be5c02 ipcp_driver
        /home/marxin/Programming/gcc/gcc/ipa-cp.cc:6576
0x1be5c02 execute
        /home/marxin/Programming/gcc/gcc/ipa-cp.cc:6651

The issue is likely not new in GCC 13, but as it uses profile, I hasn'y
bisected that.

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

end of thread, other threads:[~2023-03-22 16:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29 20:46 [Bug ipa/107925] New: ICE in update_specialized_profile at gcc/ipa-cp.cc:5082 for 531.deepsjeng_r benchmark marxin at gcc dot gnu.org
2022-11-29 20:46 ` [Bug ipa/107925] " marxin at gcc dot gnu.org
2022-11-29 20:46 ` marxin at gcc dot gnu.org
2022-11-29 20:47 ` marxin at gcc dot gnu.org
2022-11-29 20:58 ` pinskia at gcc dot gnu.org
2023-01-27 10:15 ` tnfchris at gcc dot gnu.org
2023-02-17 17:20 ` jamborm at gcc dot gnu.org
2023-02-22  9:55 ` jamborm at gcc dot gnu.org
2023-03-14 17:57 ` cvs-commit at gcc dot gnu.org
2023-03-14 17:57 ` cvs-commit at gcc dot gnu.org
2023-03-14 17:58 ` jamborm at gcc dot gnu.org
2023-03-22 16:05 ` cvs-commit at gcc dot gnu.org
2023-03-22 16:06 ` jamborm 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).