bjam assertion failure: does it really need stack alignment?

5 Sep
2013
5 Sep
'13
3:28 a.m.
Hi, A question for the bjam maintainers about https://svn.boost.org/trac/boost/ticket/8993 The file tools/build/v2/engine/function.c contains this check: static void check_alignment( STACK * s ) { assert( (size_t)s->data % sizeof( LIST * ) == 0 ); } However, things other than LIST* are allocated on the stack. For example expand_modifiers() allocates VAR_EDITS objects, whose size turns out not to be a multiple of sizeof(LIST*) on some architectures (m68k in the above ticket). Does check_alignment() still make sense? Thanks, -Steve
4249
Age (days ago)
4249
Last active (days ago)
0 comments
1 participants
participants (1)
-
Steve M. Robbins