bugGNUstep - Bugs: bug #17069, iVars offsets are not correctly...

Group
 
 

bug #17069: iVars offsets are not correctly set in GSObjCMakeClass.

Submitter:  Baptiste HEYMAN <baptisteheyman>
Submitted:  Sun 09 Jul 2006 10:06:39 AM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 06 Aug 2006 05:28:03 AM UTC, comment #1: 

Fixed in SVN,  Thanks

Richard Frith-Macdonald <CaS>
Group Member
Sun 09 Jul 2006 10:06:39 AM UTC, original submission:  

shouldn't

// align the ivar (i.e. put it on the first aligned address
iVarSize = objc_aligned_size(ivar->ivar_type);
ivar->ivar_offset = iVarSize;
iVarSize += objc_sizeof_type(ivar->ivar_type); // add the ivar size
ivar = ivar + 1;

be

ivar->ivar_offset = iVarSize;
iVarSize += objc_aligned_size(ivar->ivar_type); // add the ivar aligned size
ivar = ivar + 1;

?

Baptiste HEYMAN <baptisteheyman>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-08-06 CaS StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code