This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: [RX] : Wrong alignment of falign-labels=n


2014-06-09 16:43 GMT+08:00 Sandeep Kumar Singh <Sandeep.Singh2@kpit.com>:
> Hi Chung-Ju Wu,
>
>>> You can try to use align_labels_log to see if it generates
[snip]
>
> It seems wrong implementation of option '-falign-labels=n' for RX target.
> Additionally, options 'align_labels_log' '-falign_labels_log', is showing below error,
> 'unrecognized command line option'
>
> Is anything I am doing wrong?

Sorry I should have described "use align_labels_log" more clearly.

What I meant is to modify LABEL_ALIGN(x) in gcc/config/rx/rx.h like this:

#define LABEL_ALIGN(x) \
  (align_labels_log ? align_labels_log : rx_align_for_label (x, 3))

and then rebuild your RX gcc to test it.

Besides, you can also create a bugzilla issue.
Refer to https://gcc.gnu.org/bugs/ for the details.

>
> I appreciated for further help.
>
> Regards,
> Sandeep Kumar Singh

Best regards,
jasonwucj


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