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

Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hp at gcc dot gnu.org

--- Comment #1 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #0)
> 
> It should be :
> ```
> int *t1 = …;
> register int *p1 asm ("r0") = …;
> register int *p2 asm ("r1") = t1;
> register int *r0 asm ("r0");
> asm ("sysint" : "=r" (result) : "0" (p1), "r" (p2));
> int result = r0;
> ....
> ```

Typo spotted.  Always test-compile your suggestions. ;-)

Reply via email to