[Bug c/53933] Register choosing error when inline assembly used at inline function

nicejaewon at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 12 08:22:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53933

jaewon ha <nicejaewon at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |

--- Comment #2 from jaewon ha <nicejaewon at gmail dot com> 2012-07-12 08:21:56 UTC ---
Reason I removed the clobber list it,

when the clip_int32 function become mixed in main function,

the register 'r0, r1, r2' is not used. another register according 

to the register context of main function will be used.


and actually, when i turn on the clobber list 'r0, r1, r2',

it result in segmentation fault.


hope you review this carefully.

thanks.



More information about the Gcc-bugs mailing list