From patchwork Mon Jun 24 11:13:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 253790 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 59B482C007E for ; Mon, 24 Jun 2013 21:13:56 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=m8RPEy+eLnHOifNxrt/5JE73YnKXd+LQ+5MKRtYlr2bA5qcujbKGn +sZspNXj6Ry9A+WqTgF4rtKN8KUeqg6mQx1oP8f72VZTcCSG3Xu29lCFBHaZi1Un hmSawLzTdr6YI40H2lT2KZ6iJWx5gKTOfQc1YCjTcooDlZ97FJh17A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=NBSS3UwrDSKpZuQnRU+1JmhmRCw=; b=CkKwnWhPjgzTuwMAqj6e cgD6JFtcoOTdw+zvD/ZvEVAKK6nijvMcwRl6eaFp1Nx8fQRq44EVkV7jsWCrnYuP Xv+KhIOEA+AYWLf73LaF6hqEc4tQdkGU/qzs1fs/hlz9YrV1PBaNXB7+SGjg7u3q YG7MrieYtcFVawxcqn/QQ/Q= Received: (qmail 16304 invoked by alias); 24 Jun 2013 11:13:50 -0000 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 Received: (qmail 16294 invoked by uid 89); 24 Jun 2013 11:13:50 -0000 X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 24 Jun 2013 11:13:49 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 775D4A3DDF for ; Mon, 24 Jun 2013 13:13:47 +0200 (CEST) Date: Mon, 24 Jun 2013 13:13:47 +0200 (CEST) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix PR57584 Message-ID: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Removed the target specific bits and verified the testcase reproduces the original bug and works after the fix for x86_64 and i686. Committed. Richard. 2013-06-24 Richard Biener PR testsuite/57686 * gcc.dg/torture/pr57584.c: Remove target specific bits. Index: gcc/testsuite/gcc.dg/torture/pr57584.c =================================================================== --- gcc/testsuite/gcc.dg/torture/pr57584.c (revision 200363) +++ gcc/testsuite/gcc.dg/torture/pr57584.c (working copy) @@ -1,6 +1,6 @@ /* { dg-do compile } */ -typedef int int32_t __attribute__ ((__mode__ (__SI__))); +typedef int int32_t; typedef unsigned char uint8_t; typedef unsigned long int uintptr_t; typedef uint8_t scm_t_uint8; @@ -37,7 +37,7 @@ static SCM vm_debug_engine (SCM vm, SCM register SCM *fp ; struct scm_vm *vp = ((struct scm_vm *) ((((scm_t_bits) (0? (*(SCM*)0=((((SCM *)((scm_t_cell *) (((scm_t_bits) (0? (*(SCM*)0=((((vm))))): (((vm)))))))) [((1))]))): (((SCM *)((scm_t_cell *) (((scm_t_bits) (0? (*(SCM*)0=((((vm))))): (((vm)))))))) [((1))])))))); static const void **jump_table_pointer = ((void *)0); - register const void **jump_table asm ("r12"); + const void **jump_table; if (__builtin_expect ((!jump_table_pointer), 0)) { jump_table_pointer[0] = &&l_nop; }