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] rs6000: Fix logic for when to emit .machine (PR71216)


On Fri, Jul 22, 2016 at 4:36 AM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> The current logic determining whether to use .machine in the generated
> asm code puts it there if the compiler is not configured with a default
> target cpu, _or_ no -mcpu= was given on the command line.  It should
> be "and" instead.
>
> Tested on powerpc64-linux (-m32 as well).  Also tested manually with
> the testcase in the PR (not included in the patch, it depends on your GCC
> configuration).
>
> Is this okay for trunk?  And backports later?
>
>
> Segher
>
>
> 2016-07-22  Segher Boessenkool  <segher@kernel.crashing.org>
>
>         * config/rs6000/rs6000.c (rs6000_file_start): Fix condition for
>         when to emit a ".machine" pseudo-op.

Okay.

Thanks, David


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