bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/11801] New: GAS ignores -fno-delayed-branch for functions with


From: andyhhp at hotmail dot com
Subject: [Bug gas/11801] New: GAS ignores -fno-delayed-branch for functions with
Date: 9 Jul 2010 12:39:28 -0000

I am building an implementation of MIPS on an FPGA and am using GCC 4.5.0 with
binutils 2.20 to generate code for it.  The processor does not exhibit branch or
load delay slots.

For debugging purposes, I am using the 'break' opcode but gcc does not know
this.  As a result, i am using inline assembly to insert the opcode.

Put simply, when I use an __asm__ volatile ("break") line, GAS ignores the fact
that there are no branch delay slots when assembling that function.

Attached is a test case demonstrating the bug

-- 
           Summary: GAS ignores -fno-delayed-branch for functions with
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: andyhhp at hotmail dot com
                CC: bug-binutils at gnu dot org
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: mips-unknown-linux


http://sourceware.org/bugzilla/show_bug.cgi?id=11801

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]