https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83530

Aldy Hernandez <aldyh at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW

--- Comment #5 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Ok, cpu makes a difference.  Thanks.

Confirmed with a cross to --target=powerpc-linux-gnu and:

./cc1 ~/a.c -quiet -O2 -fmodulo-sched -fselective-scheduling2 -I./ -mcpu=power7

Plus the following to make up for the missing assembler:

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 145ac86..0a8fa6a 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c                                               
@@ -4132,6 +4132,7 @@ rs6000_option_override_internal (bool global_init_p)
        default:
          break;
        }
+      unavailable_cpu=0;
       if (unavailable_cpu)
        {
          cpu_index = -1;

Reply via email to