Re: [PATCH] rs6000: Fix logic for when to emit .machine (PR71216)

2016-07-22 Thread David Edelsohn
On Fri, Jul 22, 2016 at 4:36 AM, Segher Boessenkool 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. >

[PATCH] rs6000: Fix logic for when to emit .machine (PR71216)

2016-07-22 Thread Segher Boessenkool
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