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

            Bug ID: 65574
           Summary: assembler options don't match predefined macros
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amodra at gmail dot com

Seen when compiling glibc with a freshly built powerpc64le gcc configured
without --with-cpu.

cat > ledefault.S <<EOF
/* from glibc/sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontex.S */
#ifdef _ARCH_PWR6
  mtfsf  0xff,0,1,0
#endif
EOF
gcc -c ledefault.S
ledefault.S: Assembler messages:
ledefault.S:3: Error: junk at end of line: `1,0'

By default the assembler is invoked with -mppc64, and -many doesn't help since
that won't add the four operand form of mtfsf to the opcode hash when there is
an existing two operand mtfsf.

Reply via email to