Building RTEMS for the bfin using gcc-4.2.0-20070430 raises the following
error:

bfin-rtems4.8-gcc --pipe -DHAVE_CONFIG_H   -I.. -I../../lib/include
-D__RTEMS_INSIDE__  -Wall -fasm -g -O2 -MT src/librtems_a-eventsurrender.o -MD
-MP -MF src/.deps/librtems_a-eventsurrender.Tpo -c -o
src/librtems_a-eventsurrender.o `test -f 'src/eventsurrender.c' || echo
'../../../../../rtems.orig/cpukit/rtems/'`src/eventsurrender.c
{standard input}: Assembler messages:
{standard input}:31: Error: Dreg expected for CLI. Input text was P0.
{standard input}:83: Error: Dreg expected for STI. Input text was P0.
{standard input}:154: Error: Dreg expected for STI. Input text was P0.
{standard input}:173: Error: Dreg expected for STI. Input text was P0.
make: *** [src/librtems_a-eventsurrender.o] Error 1

Changing the optimization level to -O0 causes the error to vanish.


-- 
           Summary: bfin: Dreg expected for CLI. Input text was P0.
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ralf_corsepius at rtems dot org
GCC target triplet: bfin-rtems4.8


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31787

Reply via email to