public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/109696] New: ice: tree check fail @ 2023-05-02 11:19 dcb314 at hotmail dot com 2023-05-02 11:46 ` [Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377 jakub at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: dcb314 at hotmail dot com @ 2023-05-02 11:19 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109696 Bug ID: 109696 Summary: ice: tree check fail Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For this C code: sprint_tm(long ns) { char buf; double t = ns; if (t) sprintf(buf, ""); } wait_for_reply_avg() { sprint_tm(wait_for_reply_avg); } compiled by recent trunk gcc, does this: $ ~/gcc/results.20230502.asan.ubsan/bin/gcc -c -w -O2 bug915.c during IPA pass: inline bug915.c:7:1: internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in verify_range, at value-range.cc:1060 7 | wait_for_reply_avg() { sprint_tm(wait_for_reply_avg); } | ^~~~~~~~~~~~~~~~~~ 0x115a4fa tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) ../../trunk.year/gcc/tree.cc:8948 0x1183d13 tree_class_check(tree_node*, tree_code_class, char const*, int, char const*) ../../trunk.year/gcc/tree.h:3663 0x1183d13 irange::verify_range() ../../trunk.year/gcc/value-range.cc:1060 It was fine yesterday: $ ~/gcc/results.20230501.asan.ubsan/bin/gcc -c -w -O2 bug915.c $ I suspect this is another one for Aldy. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377 2023-05-02 11:19 [Bug c/109696] New: ice: tree check fail dcb314 at hotmail dot com @ 2023-05-02 11:46 ` jakub at gcc dot gnu.org 2023-05-02 12:15 ` rguenth at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2023-05-02 11:46 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109696 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 Summary|ice: tree check fail |[14 Regression] ice: tree | |check fail since r14-377 CC| |jakub at gcc dot gnu.org Component|c |tree-optimization Target Milestone|--- |14.0 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r14-377-gc92b8be9b52b7e0de5ad Cleaned up testcase: void foo (long x) { char buf; double t = x; if (t) __builtin_sprintf ((char *) (__INTPTR_TYPE__) buf, ""); } void bar (int x) { foo (x); } ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377 2023-05-02 11:19 [Bug c/109696] New: ice: tree check fail dcb314 at hotmail dot com 2023-05-02 11:46 ` [Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377 jakub at gcc dot gnu.org @ 2023-05-02 12:15 ` rguenth at gcc dot gnu.org 2023-11-05 21:39 ` pinskia at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2023-05-02 12:15 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109696 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2023-05-02 Ever confirmed|0 |1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377 2023-05-02 11:19 [Bug c/109696] New: ice: tree check fail dcb314 at hotmail dot com 2023-05-02 11:46 ` [Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377 jakub at gcc dot gnu.org 2023-05-02 12:15 ` rguenth at gcc dot gnu.org @ 2023-11-05 21:39 ` pinskia at gcc dot gnu.org 2023-11-05 21:41 ` pinskia at gcc dot gnu.org 2023-11-06 8:04 ` jakub at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2023-11-05 21:39 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109696 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like this one has been fixed. Would be a good idea to see what commit fixed it. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377 2023-05-02 11:19 [Bug c/109696] New: ice: tree check fail dcb314 at hotmail dot com ` (2 preceding siblings ...) 2023-11-05 21:39 ` pinskia at gcc dot gnu.org @ 2023-11-05 21:41 ` pinskia at gcc dot gnu.org 2023-11-06 8:04 ` jakub at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2023-11-05 21:41 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109696 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Dup of bug 109711. *** This bug has been marked as a duplicate of bug 109711 *** ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377 2023-05-02 11:19 [Bug c/109696] New: ice: tree check fail dcb314 at hotmail dot com ` (3 preceding siblings ...) 2023-11-05 21:41 ` pinskia at gcc dot gnu.org @ 2023-11-06 8:04 ` jakub at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: jakub at gcc dot gnu.org @ 2023-11-06 8:04 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109696 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- r14-458-g2b8a27634f5d28e3e7c4a08bf065f2daada7aed2 fixed it. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-11-06 8:04 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-05-02 11:19 [Bug c/109696] New: ice: tree check fail dcb314 at hotmail dot com 2023-05-02 11:46 ` [Bug tree-optimization/109696] [14 Regression] ice: tree check fail since r14-377 jakub at gcc dot gnu.org 2023-05-02 12:15 ` rguenth at gcc dot gnu.org 2023-11-05 21:39 ` pinskia at gcc dot gnu.org 2023-11-05 21:41 ` pinskia at gcc dot gnu.org 2023-11-06 8:04 ` jakub 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).