https://sourceware.org/bugzilla/show_bug.cgi?id=23219

            Bug ID: 23219
           Summary: [RISCV] Internal error with .align and .option norelax
           Product: binutils
           Version: 2.31 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: asb at lowrisc dot org
  Target Milestone: ---

The following test program results in an internal error in the assembler. This
is not present if using .align 3, removing a nop, or assembling with .option
relax.

This was reproduced on a build of the current binutils HEAD as of today (23rd
May) 81e25b7

$ cat foo.s
.option norelax
.align 4
nop
nop

$ ./riscv32-unknown-elf-as foo.s
foo.s: Assembler messages:
foo.s: Internal error (Floating point exception).
Please report this bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to