This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [RX] : Wrong alignment of falign-labels=n
- From: Chung-Ju Wu <jasonwucj at gmail dot com>
- To: Sandeep Kumar Singh <Sandeep dot Singh2 at kpit dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>, nick clifton <nickc at redhat dot com>
- Date: Mon, 9 Jun 2014 17:55:10 +0800
- Subject: Re: [RX] : Wrong alignment of falign-labels=n
- Authentication-results: sourceware.org; auth=none
- References: <2fef495141fd4ef594b4b8d414314f83 at HKXPR03MB166 dot apcprd03 dot prod dot outlook dot com> <CADj25HPXP=OnGxg_eT9mxqjn7s9SWpWOCE00mv0ggX_3A4xs8Q at mail dot gmail dot com> <047a99bc0b004b578f8eef820c062d67 at HKXPR03MB166 dot apcprd03 dot prod dot outlook dot com>
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