From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20394 invoked by alias); 31 Dec 2014 20:24:38 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 20349 invoked by uid 48); 31 Dec 2014 20:24:34 -0000 From: "joel at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/64461] New: bad assembly generated for Coldfire targets Date: Wed, 31 Dec 2014 20:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joel at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-12/txt/msg03012.txt.bz2 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