#254: pbc compat: t/native_pbc/number.t:  New failure on some platforms
---------------------+------------------------------------------------------
 Reporter:  jkeenan  |        Owner:  rurban
     Type:  bug      |       Status:  closed
 Priority:  normal   |    Milestone:        
Component:  core     |      Version:        
 Severity:  high     |   Resolution:  fixed 
 Keywords:  64bit    |         Lang:        
    Patch:  new      |     Platform:  all   
---------------------+------------------------------------------------------

Comment(by doughera):

 > 2. Changing to stepping in bytes should get thorough testing, but would
 > increase readability a lot. Maybe we find a way to get rid of your cast
 increases required alignment warning.

 The way to avoid the warning (which will show up with gcc on SPARC) is to
 advance cursor in opcode_t units.  That is, advance by
 offs/sizeof(opcode_t) steps.  Since pf->src is already an (opcode_t *),
 and you've padded offs out to a multiple of 16, it should work cleanly
 without warning.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/254#comment:29>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to