From: Segher Boessenkool Date: Mon, 15 Jul 2019 20:57:53 +0000 (+0200) Subject: rs6000: Always output .machine X-Git-Tag: misc/cutover-git~3990 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2d94f7dea9c73ef3c116a0ddc722724578a860fe;p=thirdparty%2Fgcc.git rs6000: Always output .machine We now can always output .machine (if we output it at all for the current target). PR target/91050 * config/rs6000/rs6000.c (rs6000_file_start): Never skip emitting a .machine directive. From-SVN: r273498 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 92aed39806b8..7ab87dad2791 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-07-15 Segher Boessenkool + + PR target/91050 + * config/rs6000/rs6000.c (rs6000_file_start): Never skip emitting a + .machine directive. + 2019-07-15 Uroš Bizjak * config/i386/i386.md (@test_ccno_1): diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 827894c46399..63f3075a98d4 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -5644,9 +5644,7 @@ rs6000_file_start (void) #ifdef USING_ELFOS_H rs6000_machine = rs6000_machine_from_flags (); - if (!(rs6000_default_cpu && rs6000_default_cpu[0]) - && !global_options_set.x_rs6000_cpu_index) - emit_asm_machine (); + emit_asm_machine (); #endif if (DEFAULT_ABI == ABI_ELFv2)