From patchwork Fri Jul 10 22:04:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Sidwell X-Patchwork-Id: 493882 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3B4091402BC for ; Sat, 11 Jul 2015 08:04:49 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=hF1dAQ8I; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=qJl8DYPKkCuqL7B654VfQfTIRMBnfzcSbJHfxybFXY4EY9 6wYPEuKGYDuvTtES8peIfHX0NKfTCxwkJ7TG8HY+tmU1XY/5tKepZzd+nypqT992 RotruHwxvvNuyKCwM7J0TNkMZxU0mK7xhYrgDkYFGwXsvr0qsmm/LIFwdHfRQ= 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 :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=5zjWkIm+o4HKl2v5ry+rA7pC26E=; b=hF1dAQ8Ikh8g1197Igm+ hmmRneWOYK5sBFoWJ9beQEchARLoXXI7+R6w6xD8CylPd6N3Qpj+keDxyU8Ey7HT 7mg6Ntp1uJL+RMWn+wUl7Tqclxh6r6qMKyBXKxZ3BSk0cW+wg37dtOqAKcBRj273 /4QWvIUBm7J8ZMcrwE/LCu0= Received: (qmail 31299 invoked by alias); 10 Jul 2015 22:04:42 -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 31282 invoked by uid 89); 10 Jul 2015 22:04:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qk0-f177.google.com Received: from mail-qk0-f177.google.com (HELO mail-qk0-f177.google.com) (209.85.220.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 10 Jul 2015 22:04:40 +0000 Received: by qkbp125 with SMTP id p125so215999383qkb.2 for ; Fri, 10 Jul 2015 15:04:38 -0700 (PDT) X-Received: by 10.140.234.131 with SMTP id f125mr38899505qhc.30.1436565878330; Fri, 10 Jul 2015 15:04:38 -0700 (PDT) Received: from ?IPv6:2601:19b:400:a983:a2a8:cdff:fe3e:b48? ([2601:19b:400:a983:a2a8:cdff:fe3e:b48]) by smtp.googlemail.com with ESMTPSA id l11sm6584607qga.43.2015.07.10.15.04.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jul 2015 15:04:37 -0700 (PDT) Message-ID: <55A04174.8060401@acm.org> Date: Fri, 10 Jul 2015 18:04:36 -0400 From: Nathan Sidwell User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: GCC Patches , Thomas Schwinge Subject: [gomp] fix df verify failure I've committed this patch to fix a df verify crash Thomas pointed me at. Thomas, I think this means you can revert the workaround you just committed? nathan 2015-07-10 Nathan Sidwell * config/nvptx/nvptx.c (nvptx_reorg): Move df problem setting, set dirty flags. Index: config/nvptx/nvptx.c =================================================================== --- config/nvptx/nvptx.c (revision 225647) +++ config/nvptx/nvptx.c (working copy) @@ -2923,16 +2923,16 @@ nvptx_reorg (void) thread_prologue_and_epilogue_insns (); - df_clear_flags (DF_LR_RUN_DCE); - df_set_flags (DF_NO_INSN_RESCAN | DF_NO_HARD_REGS); - df_live_add_problem (); - /* Split blocks and record interesting unspecs. */ bb_insn_map_t bb_insn_map; - nvptx_split_blocks (&bb_insn_map); + nvptx_split_blocks (&bb_insn_map); /* Compute live regs */ + df_clear_flags (DF_LR_RUN_DCE); + df_set_flags (DF_NO_INSN_RESCAN | DF_NO_HARD_REGS); + df_live_add_problem (); + df_live_set_all_dirty (); df_analyze (); regstat_init_n_sets_and_refs ();