This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/64461] New: bad assembly generated for Coldfire targets


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

            Bug ID: 64461
           Summary: bad assembly generated for Coldfire targets
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel at gcc dot gnu.org

Created attachment 34368
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34368&action=edit
Preprocessed RTEMS source which produces the error

Fails at -O1, -O2, and -Os. All RTEMS Coldfire BSPs appear to be failing to
build. I have not looked through all build logs yet to give a complete list of
CPU models impacted but all are Coldfires. For sure, 5235 and 5282 do this.

$ m68k-rtems4.11-gcc --versionm68k-rtems4.11-gcc (GCC) 5.0.0 20141230
(experimental)


$ m68k-rtems4.11-gcc -mcpu=5235 -Os -c coldfire.c 
/tmp/ccrrBmOJ.s: Assembler messages:
/tmp/ccrrBmOJ.s:82: Error: operands mismatch -- statement `move.b
3(%a5),3(%a1,%d0.l)' ignored
/tmp/ccrrBmOJ.s:977: Error: operands mismatch -- statement `move.b
-1(%fp),3(%a0,%d2.l)' ignored
/tmp/ccrrBmOJ.s:1055: Error: operands mismatch -- statement `move.b
-5(%fp),3(%a0,%d3.l)' ignored


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]