From patchwork Sun Apr 24 20:04:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 92676 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id A0E43B6F59 for ; Mon, 25 Apr 2011 06:04:58 +1000 (EST) Received: (qmail 32230 invoked by alias); 24 Apr 2011 20:04:56 -0000 Received: (qmail 32221 invoked by uid 22791); 24 Apr 2011 20:04:55 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 24 Apr 2011 20:04:38 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id F2A76188B5BA for ; Sun, 24 Apr 2011 22:04:36 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 0111E1C00129 for ; Sun, 24 Apr 2011 22:04:37 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id tAKBgoWG+6ap for ; Sun, 24 Apr 2011 22:04:37 +0200 (CEST) Received: from igel.home (ppp-93-104-149-205.dynamic.mnet-online.de [93.104.149.205]) by mail.mnet-online.de (Postfix) with ESMTP for ; Sun, 24 Apr 2011 22:04:36 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 22463CA2A0; Sun, 24 Apr 2011 22:04:35 +0200 (CEST) From: Andreas Schwab To: gcc-patches@gcc.gnu.org Subject: PR target/43804 X-Yow: UH-OH!! I put on ``GREAT HEAD-ON TRAIN COLLISIONS of the 50's'' by mistake!!! Date: Sun, 24 Apr 2011 22:04:35 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org I have checked in Richard's patch for PR43804. Andreas. 2011-04-24 Richard Sandiford PR target/43804 * config/m68k/constraints.md (T): Allow PIC operands that satisfy LEGITIMATE_PIC_OPERAND_P. Index: gcc/config/m68k/constraints.md =================================================================== --- gcc/config/m68k/constraints.md (revision 172919) +++ gcc/config/m68k/constraints.md (working copy) @@ -94,7 +94,8 @@ (define_constraint "T" "Used for operands that satisfy 's' when -mpcrel is not in effect." (and (match_code "symbol_ref,label_ref,const") - (match_test "!flag_pic"))) + (match_test "!TARGET_PCREL") + (match_test "!flag_pic || LEGITIMATE_PIC_OPERAND_P (op)"))) (define_memory_constraint "Q" "Means address register indirect addressing mode."