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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Segmentation fault in       |[12/13 Regression] ICE with
                   |GIMPLE pass: ccp            |inline-asm with multiple
                   |                            |output and assigned only
                   |                            |static vars
           Keywords|                            |inline-asm
   Target Milestone|---                         |12.2
             Status|REOPENED                    |NEW

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks like it is a latent bug in how simple_dce_from_worklist handles
inline-asm.

The statement which is removed which should not be but is:
__asm__("cpuid" : "=a" r$a_18, "=b" r$b_19, "=c" r$c_20, "=d" r$d_21 : "0"
1073741827);

Reply via email to