[Bug target/71216] [5/6/7 Regression] Incorrect PPC assembly due to inserted .machine pseudo-op
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 22 13:09:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71216
--- Comment #2 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Fri Jul 22 13:08:19 2016
New Revision: 238639
URL: https://gcc.gnu.org/viewcvs?rev=238639&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.c
More information about the Gcc-bugs
mailing list