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]
Other format: [Raw text]

Re: [PATCH] target/37283: Fix -fno-unit-at-a-time and -fno-toplevel-reorder handling


On Fri, Aug 29, 2008 at 4:01 PM, Samuel Tardieu <sam@rfc1149.net> wrote:
> There are two problems wrt -fno-unit-at-a-time and -fno-toplevel-reorder:
>
>  1- Those flags influence the setting of -fsection-anchors;
>    however, they were looked at before calling handle_options, thus
>    having a null effect.
>
>  2- The ARM backend sets flag_section_anchors to 1 if
>    optimization is used (in OPTIMIZATION_OPTIONS), leading to an
>    error if 1- is fixed alone and -fno-toplevel-reorder is used as
>    -fno-toplevel-reorder and -fsection-anchors are mutually exclusive.

I think the arm back-end should do the same thing as the rs6000
back-end does with respect of -fsection-anchors.

-- Pinski


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