Re: Regression of GCC >= 4.8.5 for 32-bit powerpc

Matt Thomas <[email protected]> Sat, 10 Dec 2016 21:34:53 -0800
Newsgroups gmane.os.netbsd.ports.powerpc,gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
> On Dec 10, 2016, at 9:44 AM, Rin Okuyama <[email protected]> wrote:
> 
> GCC >= 4.8.5 passes ".machine ppc" pseudo-op to assembler for 32-bit
> powerpc:
> 
> @@ -5199,10 +5204,8 @@
> 	fputs ("power5\n", asm_out_file);
>       else if ((rs6000_isa_flags & OPTION_MASK_MFCRF) != 0)
> 	fputs ("power4\n", asm_out_file);
> -      else if ((rs6000_isa_flags & OPTION_MASK_POWERPC64) != 0)
> -	fputs ("ppc64\n", asm_out_file);
>       else
> -	fputs ("ppc\n", asm_out_file);
> +	fputs ("ppc64\n", asm_out_file);
>     }
> #endif
> ====
> Could I commit this patch? Any comments or suggestions?

Is that fragment needed?  It doesn't seem to matter if you emit -mcpu= 
so why change it?