public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/110777] New: ice: SSA corruption Date: Sat, 22 Jul 2023 18:31:26 +0000 [thread overview] Message-ID: <bug-110777-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110777 Bug ID: 110777 Summary: ice: SSA corruption Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- This C code int *findOrAddBackgroundInPalette_palette_pnm; static void findOrAddBackgroundInPalette(unsigned *paletteSizeP, int *backgroundIndexP) { if (*paletteSizeP) { *backgroundIndexP = (*paletteSizeP)++; pm_message(); } pm_message(findOrAddBackgroundInPalette_palette_pnm[*backgroundIndexP]); } void computeColorMap(int *backgroundIndexP) { unsigned paletteSize; findOrAddBackgroundInPalette(&paletteSize, backgroundIndexP); } int main() { unsigned backgroundIndex; _setjmp(); computeColorMap(&backgroundIndex); } with recent gcc trunk, does this: $ ~/gcc/results/bin/gcc -c -O3 -w ~/cvise/bug944.c Unable to coalesce ssa_names 27 and 31 which are marked as MUST COALESCE. paletteSize_27(ab) and paletteSize_31(ab) during RTL pass: expand /home/dcb38/cvise/bug944.c: In function ‘main’: /home/dcb38/cvise/bug944.c:14:5: internal compiler error: SSA corruption 14 | int main() { | ^~~~ 0xf95b19 fail_abnormal_edge_coalesce(int, int) ../../trunk.year/gcc/tree-ssa-coalesce.cc:1003 0xf95b19 coalesce_partitions(_var_map*, ssa_conflicts*, coalesce_list*, _IO_FILE*) ../../trunk.year/gcc/tree-ssa-coalesce.cc:1425 The bug first seems to occur sometime between g:b2cfe5233e682fc0 and g:f32518726ee8e836, a range of 30 commits.
next reply other threads:[~2023-07-22 18:31 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-07-22 18:31 dcb314 at hotmail dot com [this message] 2023-07-22 18:33 ` [Bug tree-optimization/110777] [14 Regression] " pinskia at gcc dot gnu.org 2023-07-22 18:36 ` pinskia at gcc dot gnu.org 2023-07-22 18:41 ` dcb314 at hotmail dot com 2023-07-22 18:54 ` dcb314 at hotmail dot com 2023-07-22 19:15 ` dcb314 at hotmail dot com 2023-07-22 19:27 ` dcb314 at hotmail dot com 2023-07-22 19:58 ` pinskia at gcc dot gnu.org 2023-07-24 6:36 ` rguenth at gcc dot gnu.org 2023-07-24 7:50 ` cvs-commit at gcc dot gnu.org 2023-07-24 7:51 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-110777-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).