public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710
@ 2021-03-04  8:09 marxin at gcc dot gnu.org
  2021-03-04  9:39 ` [Bug target/99378] [8/9/10/11 Regression] " jakub at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-04  8:09 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

            Bug ID: 99378
           Summary: ICE in decompose_normal_address, at rtlanal.c:6710
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: vmakarov at gcc dot gnu.org
  Target Milestone: ---

The following fails:

$ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr99123.c -O2
-c -funroll-all-loops
during RTL pass: reload
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr99123.c: In
function ‘foo’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr99123.c:51:1:
internal compiler error: in decompose_normal_address, at rtlanal.c:6710
   51 | }
      | ^
0x6ff9e3 decompose_normal_address
        /home/marxin/Programming/gcc/gcc/rtlanal.c:6710
0x6ff9e3 decompose_address(address_info*, rtx_def**, machine_mode, unsigned
char, rtx_code)
        /home/marxin/Programming/gcc/gcc/rtlanal.c:6787
0xcda45d process_address_1
        /home/marxin/Programming/gcc/gcc/lra-constraints.c:3455
0xcdc618 process_address
        /home/marxin/Programming/gcc/gcc/lra-constraints.c:3729
0xcdc618 curr_insn_transform
        /home/marxin/Programming/gcc/gcc/lra-constraints.c:4044
0xce208e lra_constraints(bool)
        /home/marxin/Programming/gcc/gcc/lra-constraints.c:5133
0xccdd0f lra(_IO_FILE*)
        /home/marxin/Programming/gcc/gcc/lra.c:2336
0xc856e4 do_reload
        /home/marxin/Programming/gcc/gcc/ira.c:5827
0xc856e4 execute
        /home/marxin/Programming/gcc/gcc/ira.c:6013
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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug target/99378] [8/9/10/11 Regression] ICE in decompose_normal_address, at rtlanal.c:6710
  2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
@ 2021-03-04  9:39 ` jakub at gcc dot gnu.org
  2021-03-04 16:53 ` vmakarov at gcc dot gnu.org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-03-04  9:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
                 CC|                            |jakub at gcc dot gnu.org
   Last reconfirmed|                            |2021-03-04
            Summary|ICE in                      |[8/9/10/11 Regression] ICE
                   |decompose_normal_address,   |in
                   |at rtlanal.c:6710           |decompose_normal_address,
                   |                            |at rtlanal.c:6710
   Target Milestone|---                         |8.5
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
ICEs since r0-119686-g55a2c3226a3e90a6d65f19710bab1ac377054234 aka LRA
introduction.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug target/99378] [8/9/10/11 Regression] ICE in decompose_normal_address, at rtlanal.c:6710
  2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
  2021-03-04  9:39 ` [Bug target/99378] [8/9/10/11 Regression] " jakub at gcc dot gnu.org
@ 2021-03-04 16:53 ` vmakarov at gcc dot gnu.org
  2021-03-05 16:44 ` cvs-commit at gcc dot gnu.org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2021-03-04 16:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

--- Comment #2 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Thank you for reporting this.

I've reproduced the bug.  The fix will be ready this week.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug target/99378] [8/9/10/11 Regression] ICE in decompose_normal_address, at rtlanal.c:6710
  2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
  2021-03-04  9:39 ` [Bug target/99378] [8/9/10/11 Regression] " jakub at gcc dot gnu.org
  2021-03-04 16:53 ` vmakarov at gcc dot gnu.org
@ 2021-03-05 16:44 ` cvs-commit at gcc dot gnu.org
  2021-03-07 14:41 ` asolokha at gmx dot com
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-03-05 16:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Vladimir Makarov <vmakarov@gcc.gnu.org>:

https://gcc.gnu.org/g:9105757a59b890194ebf5b4fcbacd58db34ef332

commit r11-7526-g9105757a59b890194ebf5b4fcbacd58db34ef332
Author: Vladimir N. Makarov <vmakarov@redhat.com>
Date:   Fri Mar 5 11:41:25 2021 -0500

    [PR99378] LRA: Skip decomposing address for asm insn operand with unknown
constraint.

      Function get_constraint_type returns CT__UNKNOWN for empty constraint
    and CT_FIXED_FORM for "X".  So process_address_1 skipped
    decompose_mem_address only for "X" constraint.  To do the same for empty
    constraint, skip decompose_mem_address for CT__UNKNOWN.

    gcc/ChangeLog:

            PR target/99378
            * lra-constraints.c (process_address_1): Skip decomposing address
            for asm insn operand with unknown constraint.

    gcc/testsuite/ChangeLog:

            PR target/99378
            * gcc.target/i386/pr99123-2.c: New.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug target/99378] [8/9/10/11 Regression] ICE in decompose_normal_address, at rtlanal.c:6710
  2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2021-03-05 16:44 ` cvs-commit at gcc dot gnu.org
@ 2021-03-07 14:41 ` asolokha at gmx dot com
  2021-03-08 16:33 ` [Bug target/99378] [8/9/10 " jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: asolokha at gmx dot com @ 2021-03-07 14:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

Arseny Solokha <asolokha at gmx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |asolokha at gmx dot com

--- Comment #4 from Arseny Solokha <asolokha at gmx dot com> ---
I believe [11 Regression] marker can be removed now.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug target/99378] [8/9/10 Regression] ICE in decompose_normal_address, at rtlanal.c:6710
  2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-03-07 14:41 ` asolokha at gmx dot com
@ 2021-03-08 16:33 ` jakub at gcc dot gnu.org
  2021-05-14  9:54 ` [Bug target/99378] [9/10 " jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-03-08 16:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9/10/11 Regression] ICE  |[8/9/10 Regression] ICE in
                   |in                          |decompose_normal_address,
                   |decompose_normal_address,   |at rtlanal.c:6710
                   |at rtlanal.c:6710           |

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yes.  But note the
https://gcc.gnu.org/g:04b4828c6dd215385fde6964a5e13da8a01a78ba                  

commit r11-7554-g04b4828c6dd215385fde6964a5e13da8a01a78ba                       
Author: Vladimir N. Makarov <vmakarov@redhat.com>                               
Date:   Mon Mar 8 09:24:57 2021 -0500                                           

    [PR99422] LRA: Skip modifiers when processing memory address.               

      Function process_address_1 can wrongly look at constraint modifiers       
    instead of the 1st constraint itself.  The patch solves the problem.        

    gcc/ChangeLog:                                                              

            PR target/99422                                                     
            * lra-constraints.c (skip_contraint_modifiers): New function.       
            (process_address_1): Use it before lookup_constraint call.          
follow-up.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug target/99378] [9/10 Regression] ICE in decompose_normal_address, at rtlanal.c:6710
  2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-03-08 16:33 ` [Bug target/99378] [8/9/10 " jakub at gcc dot gnu.org
@ 2021-05-14  9:54 ` jakub at gcc dot gnu.org
  2021-06-01  8:19 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14  9:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.5                         |9.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug target/99378] [9/10 Regression] ICE in decompose_normal_address, at rtlanal.c:6710
  2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2021-05-14  9:54 ` [Bug target/99378] [9/10 " jakub at gcc dot gnu.org
@ 2021-06-01  8:19 ` rguenth at gcc dot gnu.org
  2022-05-27  9:44 ` [Bug target/99378] [10 " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01  8:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.4                         |9.5

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug target/99378] [10 Regression] ICE in decompose_normal_address, at rtlanal.c:6710
  2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2021-06-01  8:19 ` rguenth at gcc dot gnu.org
@ 2022-05-27  9:44 ` rguenth at gcc dot gnu.org
  2022-06-28 10:43 ` jakub at gcc dot gnu.org
  2023-07-07  9:30 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  9:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.5                         |10.4

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug target/99378] [10 Regression] ICE in decompose_normal_address, at rtlanal.c:6710
  2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2022-05-27  9:44 ` [Bug target/99378] [10 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:43 ` jakub at gcc dot gnu.org
  2023-07-07  9:30 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:43 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug target/99378] [10 Regression] ICE in decompose_normal_address, at rtlanal.c:6710
  2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2022-06-28 10:43 ` jakub at gcc dot gnu.org
@ 2023-07-07  9:30 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07  9:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |10.5.0
   Target Milestone|10.5                        |11.0
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed in GCC 11.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-07-07  9:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04  8:09 [Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710 marxin at gcc dot gnu.org
2021-03-04  9:39 ` [Bug target/99378] [8/9/10/11 Regression] " jakub at gcc dot gnu.org
2021-03-04 16:53 ` vmakarov at gcc dot gnu.org
2021-03-05 16:44 ` cvs-commit at gcc dot gnu.org
2021-03-07 14:41 ` asolokha at gmx dot com
2021-03-08 16:33 ` [Bug target/99378] [8/9/10 " jakub at gcc dot gnu.org
2021-05-14  9:54 ` [Bug target/99378] [9/10 " jakub at gcc dot gnu.org
2021-06-01  8:19 ` rguenth at gcc dot gnu.org
2022-05-27  9:44 ` [Bug target/99378] [10 " rguenth at gcc dot gnu.org
2022-06-28 10:43 ` jakub at gcc dot gnu.org
2023-07-07  9:30 ` rguenth 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).