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

--- Comment #6 from Daniel Gutson <daniel.gutson at tallertechnologies dot com> 
---
(In reply to Marc Glisse from comment #5)
> It seems to me that the reason we don't already have div as a builtin is
> that we need to know the layout of div_t.
> 
> In a header, you don't really need inline asm:
> inline div_t div(int a, int b){ div_t q; q.quot=a/b; q.rem=a%b; return q; }

:) that was the whole discussion with the glibc maintainers: they don't want
inline functions. Please look at the discussions there, and consider to join.

Reply via email to