Using the stack from inline assembly

Florian Weimer fweimer@redhat.com
Wed Dec 14 10:30:00 GMT 2016


On 12/14/2016 11:11 AM, Andrew Haley wrote:
> On 14/12/16 10:05, Florian Weimer wrote:
>> For glibc, we plan to remove such complicated inline assembly completely.
>
> And perhaps we should think a little bit about maintainability.  I was
> never very impressed by the idea of the red zone anyway, but how shall
> we make sure that this problem does not recur?

GCC could parse the inline assembly and check that it matches what's in 
the constraints.  I really don't see any other way to improve 
reliability and developer friendliness in this area.

Florian



More information about the Gcc-help mailing list