public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/110831] New: [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b
@ 2023-07-27 16:38 seurer at gcc dot gnu.org
2023-07-27 18:51 ` [Bug other/110831] " seurer at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2023-07-27 16:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110831
Bug ID: 110831
Summary: [14 regression] gcc.dg/stack-check-3.c ICEs after
r14-2822-g499b8079a6419b
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
Target Milestone: ---
g:499b8079a6419bb8082de062ec30772296c6700c, r14-2822-g499b8079a6419b
make -k check-gcc RUNTESTFLAGS="dg.exp=gcc.dg/stack-check-3.c"
FAIL: gcc.dg/stack-check-3.c (internal compiler error: in to_gcov_type, at
profile-count.h:831)
FAIL: gcc.dg/stack-check-3.c (test for excess errors)
FAIL: gcc.dg/stack-check-3.c scan-rtl-dump-times expand "allocation and probing
residuals" 7
FAIL: gcc.dg/stack-check-3.c scan-rtl-dump-times expand "allocation and probing
in loop" 4
FAIL: gcc.dg/stack-check-3.c scan-rtl-dump-times expand "allocation and probing
in rotated loop" 1
FAIL: gcc.dg/stack-check-3.c scan-rtl-dump-times expand "allocation and probing
inline" 1
FAIL: gcc.dg/stack-check-3.c scan-rtl-dump-times expand "skipped dynamic
allocation and probing loop" 1
# of unexpected failures 7
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/ exceptions_enabled3672263.cc
-fdiagnostics-plain-output -Wno-complain-wrong-lang -S -o
exceptions_enabled3672263.s
FAIL: gcc.dg/stack-check-3.c (test for excess errors)
Excess errors:
during RTL pass: expand
dump file: stack-check-3.c.258r.expand
/home/seurer/gcc/git/gcc-test/gcc/testsuite/gcc.dg/stack-check-3.c:25:1:
internal compiler error: in to_gcov_type, at profile-count.h:831
0x10b3e7b7 profile_count::to_gcov_type() const
/home/seurer/gcc/git/gcc-test/gcc/profile-count.h:831
0x10b3e7b7 dump_prediction
/home/seurer/gcc/git/gcc-test/gcc/predict.cc:797
0x10b495bf combine_predictions_for_insn
/home/seurer/gcc/git/gcc-test/gcc/predict.cc:1039
0x10b495bf guess_outgoing_edge_probabilities(basic_block_def*)
/home/seurer/gcc/git/gcc-test/gcc/predict.cc:2356
0x11a4bec7 compute_outgoing_frequencies
/home/seurer/gcc/git/gcc-test/gcc/cfgbuild.cc:692
0x11a4bec7 find_many_sub_basic_blocks(simple_bitmap_def*)
/home/seurer/gcc/git/gcc-test/gcc/cfgbuild.cc:792
0x10520083 execute
/home/seurer/gcc/git/gcc-test/gcc/cfgexpand.cc:6933
commit 499b8079a6419bb8082de062ec30772296c6700c (HEAD)
Author: Jan Hubicka <jh@suse.cz>
Date: Thu Jul 27 15:57:54 2023 +0200
Fix profile_count::apply_probability
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/110831] [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b
2023-07-27 16:38 [Bug other/110831] New: [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b seurer at gcc dot gnu.org
@ 2023-07-27 18:51 ` seurer at gcc dot gnu.org
2023-07-28 6:18 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2023-07-27 18:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110831
--- Comment #1 from seurer at gcc dot gnu.org ---
Also this one:
FAIL: gcc.dg/strcmpopt_5.c (internal compiler error: in to_gcov_type, at
profile-count.h:831)
FAIL: gcc.dg/strcmpopt_5.c (test for excess errors)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/110831] [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b
2023-07-27 16:38 [Bug other/110831] New: [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b seurer at gcc dot gnu.org
2023-07-27 18:51 ` [Bug other/110831] " seurer at gcc dot gnu.org
@ 2023-07-28 6:18 ` rguenth at gcc dot gnu.org
2023-07-28 6:41 ` hubicka at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-28 6:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110831
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Target Milestone|--- |14.0
CC| |hubicka at gcc dot gnu.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/110831] [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b
2023-07-27 16:38 [Bug other/110831] New: [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b seurer at gcc dot gnu.org
2023-07-27 18:51 ` [Bug other/110831] " seurer at gcc dot gnu.org
2023-07-28 6:18 ` rguenth at gcc dot gnu.org
@ 2023-07-28 6:41 ` hubicka at gcc dot gnu.org
2023-10-17 12:20 ` rguenth at gcc dot gnu.org
2023-10-17 21:32 ` seurer at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: hubicka at gcc dot gnu.org @ 2023-07-28 6:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110831
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-07-28
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I fixed this ICE in a followup patch, but it shows worse problem that some pass
did not initialize probability/count in CFG. So we should check why stack
checking does that.
We allow that since it can legally happen when -O0 always_inline is inlined to
non -O0, but perhaps I can add verifier and bookkeep this case in struct
function.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/110831] [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b
2023-07-27 16:38 [Bug other/110831] New: [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b seurer at gcc dot gnu.org
` (2 preceding siblings ...)
2023-07-28 6:41 ` hubicka at gcc dot gnu.org
@ 2023-10-17 12:20 ` rguenth at gcc dot gnu.org
2023-10-17 21:32 ` seurer at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-10-17 12:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110831
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
So is this ICE fixed now?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug other/110831] [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b
2023-07-27 16:38 [Bug other/110831] New: [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b seurer at gcc dot gnu.org
` (3 preceding siblings ...)
2023-10-17 12:20 ` rguenth at gcc dot gnu.org
@ 2023-10-17 21:32 ` seurer at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: seurer at gcc dot gnu.org @ 2023-10-17 21:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110831
seurer at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from seurer at gcc dot gnu.org ---
Yes, ICE is fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-10-17 21:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-27 16:38 [Bug other/110831] New: [14 regression] gcc.dg/stack-check-3.c ICEs after r14-2822-g499b8079a6419b seurer at gcc dot gnu.org
2023-07-27 18:51 ` [Bug other/110831] " seurer at gcc dot gnu.org
2023-07-28 6:18 ` rguenth at gcc dot gnu.org
2023-07-28 6:41 ` hubicka at gcc dot gnu.org
2023-10-17 12:20 ` rguenth at gcc dot gnu.org
2023-10-17 21:32 ` seurer 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).