From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14056 invoked by alias); 27 Oct 2010 13:28:16 -0000 Received: (qmail 14048 invoked by uid 22791); 27 Oct 2010 13:28:16 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Oct 2010 13:28:10 +0000 From: "fthain at telegraphics dot com.au" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/46179] Codegen/TLS: invalid assembler syntax X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fthain at telegraphics dot com.au X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 27 Oct 2010 13:28:00 -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 X-SW-Source: 2010-10/txt/msg02301.txt.bz2 Message-ID: <20101027132800.DzGr6qWkajPkY4lPi5dTbRq0mzEELklAvy6v2CDqwHY@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46179 --- Comment #5 from Finn Thain 2010-10-27 13:28:01 UTC --- > The invalid address is generated by output_move_double. I have to say it, the .md files I looked at are hands-down the most complex and baroque code I've ever seen. So I don't understand them. But, that's where output_move_double gets called. And apparently, somehow, ColdFire (and 68000) avoid this issue... What's the solution? Should I somehow find a test case that breaks on ColdFire so that Maxim gets to fix this? (Just kidding ;-) Or maybe have output_move_double call a new routine that does the same reshuffling that m68k_final_prescan_insn does -- a wrapper around the *handle_movsi invocation. Or is that going to be too expensive?