public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/110988] New: ICE when building 523.xalancbmk_r with pgo and lto
@ 2023-08-11 9:37 fkastl at suse dot cz
2023-08-12 19:03 ` [Bug gcov-profile/110988] [14 regression] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: fkastl at suse dot cz @ 2023-08-11 9:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110988
Bug ID: 110988
Summary: ICE when building 523.xalancbmk_r with pgo and lto
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: fkastl at suse dot cz
CC: hubicka at gcc dot gnu.org, marxin at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux
Target: x86_64-linux
On x86_64 Zen3-based CPU (and probably others) building 523.xalancbmk_r fails
with an ICE in the final build step.
We have bisected this to 2e93b92c1ec5fbbbe10765c6e059c3c90d564245 (Fix profile
update after cancelled loop distribution).
The backtrace is
during GIMPLE pass: vect
./xalanc/PlatformSupport/XalanArrayAllocator.hpp: In member function
'createEntry':
./xalanc/PlatformSupport/XalanArrayAllocator.hpp:174:9: internal compiler
error: in apply_scale, at profile-count.h:1180
174 | createEntry(
| ^
0x97fd4f profile_count::apply_scale(profile_count, profile_count) const
../../gcc/gcc/profile-count.h:1180
0xe921fc fold_loop_internal_call(gimple*, tree_node*)
../../gcc/gcc/tree-cfg.cc:7738
0x1124a02 execute
../../gcc/gcc/tree-vectorizer.cc:1328
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[1]: *** [/tmp/ccHpVuHE.mk:26: /tmp/cc6fS858.ltrans8.ltrans.o] Error 1
make[1]: *** Waiting for unfinished jobs....
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gcov-profile/110988] [14 regression] ICE when building 523.xalancbmk_r with pgo and lto
2023-08-11 9:37 [Bug gcov-profile/110988] New: ICE when building 523.xalancbmk_r with pgo and lto fkastl at suse dot cz
@ 2023-08-12 19:03 ` pinskia at gcc dot gnu.org
2023-08-14 15:56 ` [Bug tree-optimization/110988] " cvs-commit at gcc dot gnu.org
2023-08-15 13:03 ` hubicka at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-12 19:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110988
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.0
Summary|ICE when building |[14 regression] ICE when
|523.xalancbmk_r with pgo |building 523.xalancbmk_r
|and lto |with pgo and lto
Keywords| |ice-on-valid-code
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/110988] [14 regression] ICE when building 523.xalancbmk_r with pgo and lto
2023-08-11 9:37 [Bug gcov-profile/110988] New: ICE when building 523.xalancbmk_r with pgo and lto fkastl at suse dot cz
2023-08-12 19:03 ` [Bug gcov-profile/110988] [14 regression] " pinskia at gcc dot gnu.org
@ 2023-08-14 15:56 ` cvs-commit at gcc dot gnu.org
2023-08-15 13:03 ` hubicka at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-08-14 15:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110988
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Hubicka <hubicka@gcc.gnu.org>:
https://gcc.gnu.org/g:882af290c137dfab5d99b88e6dbecc5e75d85a0b
commit r14-3201-g882af290c137dfab5d99b88e6dbecc5e75d85a0b
Author: Jan Hubicka <jh@suse.cz>
Date: Mon Aug 14 17:55:33 2023 +0200
Avoid division by zero in fold_loop_internal_call
My patch to fix profile after folding internal call is missing check for
the
case profile was already zero before if-conversion.
gcc/ChangeLog:
PR gcov-profile/110988
* tree-cfg.cc (fold_loop_internal_call): Avoid division by zero.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/110988] [14 regression] ICE when building 523.xalancbmk_r with pgo and lto
2023-08-11 9:37 [Bug gcov-profile/110988] New: ICE when building 523.xalancbmk_r with pgo and lto fkastl at suse dot cz
2023-08-12 19:03 ` [Bug gcov-profile/110988] [14 regression] " pinskia at gcc dot gnu.org
2023-08-14 15:56 ` [Bug tree-optimization/110988] " cvs-commit at gcc dot gnu.org
@ 2023-08-15 13:03 ` hubicka at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: hubicka at gcc dot gnu.org @ 2023-08-15 13:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110988
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-15 13:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-11 9:37 [Bug gcov-profile/110988] New: ICE when building 523.xalancbmk_r with pgo and lto fkastl at suse dot cz
2023-08-12 19:03 ` [Bug gcov-profile/110988] [14 regression] " pinskia at gcc dot gnu.org
2023-08-14 15:56 ` [Bug tree-optimization/110988] " cvs-commit at gcc dot gnu.org
2023-08-15 13:03 ` hubicka 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).