public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "bergner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/99041] New: combine creates invalid address which ICEs in decompose_normal_address Date: Tue, 09 Feb 2021 18:51:07 +0000 [thread overview] Message-ID: <bug-99041-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99041 Bug ID: 99041 Summary: combine creates invalid address which ICEs in decompose_normal_address Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: bergner at gcc dot gnu.org Target Milestone: --- Created attachment 50153 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50153&action=edit creduced test case For a reduced test case from the Eigen library with some MMA builtin usage, we are ICEing in decompose_normal_address(): bergner@pike:~/gcc/BUGS/MMA/CHIP$ xg++ -B/path/to/gcc -S -mcpu=power10 -std=c++03 -nostdinc -fno-check-new -fno-common -fstrict-aliasing -ansi -O2 -w polynomialsolver.ii during RTL pass: reload polynomialsolver.ii: In function ‘void test_polynomialsolver()’: polynomialsolver.ii:78:67: internal compiler error: in decompose_normal_address, at rtlanal.c:6754 78 | void test_polynomialsolver() { polynomialsolver< double, 5 >(5); } | ^ 0x10ecf3cf decompose_normal_address /home/bergner/gcc/gcc-fsf-mainline-pr98872/gcc/rtlanal.c:6754 0x10ecf3cf decompose_address(address_info*, rtx_def**, machine_mode, unsigned char, rtx_code) /home/bergner/gcc/gcc-fsf-mainline-pr98872/gcc/rtlanal.c:6787 0x10cda44f process_address_1 /home/bergner/gcc/gcc-fsf-mainline-pr98872/gcc/lra-constraints.c:3460 0x10cdd80b process_address /home/bergner/gcc/gcc-fsf-mainline-pr98872/gcc/lra-constraints.c:3734 0x10cdd80b curr_insn_transform /home/bergner/gcc/gcc-fsf-mainline-pr98872/gcc/lra-constraints.c:4049 0x10ce497f lra_constraints(bool) /home/bergner/gcc/gcc-fsf-mainline-pr98872/gcc/lra-constraints.c:5138 0x10cc560f lra(_IO_FILE*) /home/bergner/gcc/gcc-fsf-mainline-pr98872/gcc/lra.c:2336 0x10c535bb do_reload /home/bergner/gcc/gcc-fsf-mainline-pr98872/gcc/ira.c:5821 0x10c535bb execute /home/bergner/gcc/gcc-fsf-mainline-pr98872/gcc/ira.c:6007 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. The invalid address comes from: (insn 127 126 128 3 (set (reg:OO 138 [ _41 ]) (unspec:OO [ (mem:V16QI (reg:DI 149 [ ivtmp.49 ]) [0 MEM <ax> [(void *)_75]+0 S16 A8]) (mem:V16QI (plus:DI (plus:DI (reg:DI 142 [ _63 ]) (reg:DI 149 [ ivtmp.49 ])) (reg:DI 197)) [0 MEM <ax> [(void *)_24 + _16 * 1]+0 S16 A8]) ] UNSPEC_MMA_ASSEMBLE)) 2074 {*mma_assemble_pair} (nil))
next reply other threads:[~2021-02-09 18:51 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-02-09 18:51 bergner at gcc dot gnu.org [this message] 2021-02-09 18:52 ` [Bug rtl-optimization/99041] " bergner at gcc dot gnu.org 2021-02-09 19:02 ` jakub at gcc dot gnu.org 2021-02-09 19:13 ` bergner at gcc dot gnu.org 2021-02-09 20:52 ` segher at gcc dot gnu.org 2021-02-09 20:55 ` segher at gcc dot gnu.org 2021-02-10 20:51 ` [Bug target/99041] " bergner at gcc dot gnu.org 2021-02-10 21:27 ` segher at gcc dot gnu.org 2021-02-11 20:16 ` cvs-commit at gcc dot gnu.org 2021-02-11 20:24 ` bergner at gcc dot gnu.org 2021-02-11 21:07 ` bergner at gcc dot gnu.org 2021-03-10 23:48 ` cvs-commit at gcc dot gnu.org 2021-03-10 23:50 ` bergner 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-99041-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).