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


* H.J. Lu <hjl.tools@gmail.com> [2008-09-02 12:11:20 -0700]

| On Sat, Aug 30, 2008 at 6:48 AM, Samuel Tardieu <sam@rfc1149.net> wrote:
| > After the commit to arm.c, the patch needing approval (with Paul
| > suggested changes) is:
| >
| >    gcc/
| >        PR target/37283
| >        * opts.c (decode_options): Move processing of -fno-unit-at-a-time
| >        and -fno-toplevel-reorder after handle_options.
| >
| 
| This patch may have caused:
| 
| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37339

Indeed, it caused it. However, I am not sure whether the patch or
the test is incorrect: the presence of "var1_t" in the assembly
code is triggered by "-fno-toplevel-reorder" (before and after this
patch). Before this patch, "-fno-unit-at-a-time" was not causing
"-fno-toplevel-reorder" as it should, while it does after the patch.

Any hint?


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