Hi, The RX compiler align wrong labels with option falign-labels=n, where n is number of bytes. The relationship between -falign-labels and expected .balign output supposed to be: -falign-labels=4 --> .balign 4 -falign-labels=8 --> .balign 8 -falign-labels=16 --> .balign 16
However, listed pseudo code was the like (without any optimization): -falign-labels=1 --> .balign 2 -falign-labels=4 --> .balign 16 -falign-labels=8 --> .balign 256 -falign-labels=16 --> .balign 65536 No regression found with this patch. Please review the patch and let me know if there should be any modifications in it? Regards, Sandeep Kumar Singh, KPIT Cummins InfoSystems Ltd. Pune, India gcc/ChangeLog 2014-06-11 Sandeep Kumar Singh <sandeep.sin...@kpitcummins.com> * config/rx/rx.h (Corrected macro LABEL_ALIGN).
rx_align_labels.patch
Description: rx_align_labels.patch