]> git.ipfire.org Git - thirdparty/gcc.git/commit
rs6000: Fix logic for when to emit .machine (PR71216)
authorSegher Boessenkool <segher@kernel.crashing.org>
Wed, 27 Jul 2016 16:14:12 +0000 (18:14 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Wed, 27 Jul 2016 16:14:12 +0000 (18:14 +0200)
commitd72603df73a8487a9f0b8469502951261b4a621b
tree275ea1a9f6b4865a4b8d2667fe42708b92dd8543
parent0532a688599764a3ed0658f9f17e9b7c30cfaff4
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.

From-SVN: r238789
gcc/ChangeLog
gcc/config/rs6000/rs6000.c