https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90362
Bug ID: 90362 Summary: or1k: Soft divide does not work correctly Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: shorne at gcc dot gnu.org Target Milestone: --- Example: #include <stdio.h> int main() { printf ("400/3 = %d", 400/3); } When running: $ or1k-elf-gcc -msoft-div simplediv.c $ or1k-elf-run ./a.out 400/3 = 3� Expected 400/3 = 133