Subject: [PATCH] rs6000: Fix logic for when to emit .machine (PR71216)
commit660633dba6ae7801c67efd93fe7eb5f99f924bb3
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jul 2016 13:08:19 +0000 (22 13:08 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jul 2016 13:08:19 +0000 (22 13:08 +0000)
tree5289b1458a53ca8392b65489e91cf8143221538a
parentd4b4c787a51ae446e98362a1a222e6487d6ab34a
Subject: [PATCH] rs6000: Fix logic for when to emit .machine (PR71216)

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.

PR target/71216
* config/rs6000/rs6000.c (rs6000_file_start): Fix condition for
when to emit a ".machine" pseudo-op.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238639 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c