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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |ice-on-valid-code
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2026-01-03
          Component|middle-end                  |c
      Known to work|                            |3.4.6
   Target Milestone|---                         |13.5
            Summary|ICE: in emit_move_insn, at  |[13/14/15/16 Regression]
                   |expr.cc with inline asm     |ICE: in emit_move_insn, at
                   |array-to-register           |expr.cc with inline asm
                   |constraint                  |array-to-register
                   |                            |constraint
      Known to fail|                            |4.0.4

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
Reduced testcase:
```
int main() {
    __asm__ volatile ("" : "+r"((long long[]){0}));
}
```

if we use [1] then the ICE goes away which makes it feel like a front-end
issue.
  • [Bug rtl-optimization/12... 522024330006 at smail dot nju.edu.cn via Gcc-bugs
    • [Bug c/123365] [13/... pinskia at gcc dot gnu.org via Gcc-bugs

Reply via email to