__attribute__((regparm(x))) should be only used on i386/x86_64 or removed at all
Bug #1130858 reported by
Roman Tsisyk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tarantool |
Confirmed
|
Wishlist
|
Kostja Osipov |
Bug Description
The attribute does not compile on other archiecture.
regparm (number)
On the Intel 386, the regparm attribute causes the compiler to pass arguments number one to number if they are of integral type in registers EAX, EDX, and ECX instead of on the stack. Functions that take a variable number of arguments continue to be passed all of their arguments on the stack.
In our case regparm is looking totally useless. I propose to remove it.
Changed in tarantool: | |
milestone: | none → 1.5.1 |
assignee: | nobody → Roman Tsisyk (rtsisyk) |
status: | New → Confirmed |
assignee: | Roman Tsisyk (rtsisyk) → Kostja Osipov (kostja) |
Changed in tarantool: | |
milestone: | 1.5.1 → 1.5.2 |
To post a comment you must log in.