Public bug reported:

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.

** Affects: tarantool
     Importance: Wishlist
         Status: New

** Patch added: "A patch to remove this attribute from palloc"
   
https://bugs.launchpad.net/bugs/1130858/+attachment/3538849/+files/palloc-regparm.patch

-- 
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1130858

Title:
  __attribute__((regparm(x))) should be only used on i386/x86_64 or
  removed at all

Status in Tarantool - an efficient in-memory data store:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1130858/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to