This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: More alignment problems


    You indicated that align is supposed to be in bits.  That's fine, but
    at least one of the callers of emit_block_move is passing in an alignment
    in bytes.

    In function.c:


6440    #ifdef TRAMPOLINE_TEMPLATE
6441          blktramp = change_address (initial_trampoline, BLKmode, tramp);
6442          emit_block_move (blktramp, initial_trampoline,
6443                           GEN_INT (TRAMPOLINE_SIZE),
6444                           TRAMPOLINE_ALIGNMENT / BITS_PER_UNIT);
6445    #endif

Thanks.  I thought I did a grep for emit_block_move, so I wonder how
I missed that one.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]