From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79851 invoked by alias); 19 Jan 2016 14:28:09 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 79835 invoked by uid 89); 19 Jan 2016 14:28:08 -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 spammy=UD:diff, Hx-languages-length:1171 X-HELO: mail-qg0-f50.google.com Received: from mail-qg0-f50.google.com (HELO mail-qg0-f50.google.com) (209.85.192.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 19 Jan 2016 14:28:07 +0000 Received: by mail-qg0-f50.google.com with SMTP id e32so492831270qgf.3 for ; Tue, 19 Jan 2016 06:28:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:mime-version:subject :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=ZijYYAJFJdw+4B/0qqKV0QP0cnqWTn75aPFEwAY/wiI=; b=gEod1g8O1F96d9e2PPLlb/+kxGJyj5D+E5C6fuauV1NtJEHivf/7vWMZpeLWdO9aL4 L7GjBvX/NMKfjRo7uwHiYLs/PnCFXdyYr4rqS+c+Y51vHBWlFMRdTwma6lWgBYiOwLKX zo6WwmMl/olDw18x3xxxnyy0jHxMYMTF1zltuhWS44Cfz0cBlGHhbiuPnGH33f2O0Pn5 qcxY2xoXqcPP2jq4bE2KW3IxdRScJ1vjC7uFEDqzLWLWmvkn3jNIrwGq28/B45y0wxZP UAE67VtLBKd0aPr4nzrWy2URW/PP4rS3h2As3ips2br3a2v1WJAi5EaPPhdIF0xP3PPf 2+8Q== X-Gm-Message-State: ALoCoQkCltFuFISONAme74HugdtAvCoRF8FBTTCAspQEe4K8Ey6oXXXLOUYF30UMvb/6kHSyb00fG1mj9BbV40yp9keodjKD4Q== X-Received: by 10.140.102.11 with SMTP id v11mr39308128qge.39.1453213685002; Tue, 19 Jan 2016 06:28:05 -0800 (PST) Received: from ryanburnsimac2.fios-router.home (pool-108-46-30-197.nycmny.fios.verizon.net. [108.46.30.197]) by smtp.gmail.com with ESMTPSA id 187sm12213651qhi.0.2016.01.19.06.28.04 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jan 2016 06:28:04 -0800 (PST) From: Ryan Burn X-Google-Original-From: Ryan Burn Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: [PATCH] fix gimplification of call parameters (PR cilkplus/69267) In-Reply-To: <8335D685-ADCD-4DEA-8AD2-DA3A1B100A1F@gmail.com> Date: Tue, 19 Jan 2016 14:28:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <39F7C28D-D910-47AC-8FE9-8576040BF8B6@gmail.com> References: <8335D685-ADCD-4DEA-8AD2-DA3A1B100A1F@gmail.com> To: gcc-patches@gcc.gnu.org, law@redhat.com, jason@redhat.com X-SW-Source: 2016-01/txt/msg01417.txt.bz2 Does this look ok? > On Jan 15, 2016, at 5:41 PM, Ryan Burn wrote: >=20 > This patch changes the function cilk_gimplify_call_params_in_spawned_fn t= o use gimplify_arg instead of gimplify_expr. It fixes an ICE when calling a= function with a constructed empty class as the argument. >=20 > Bootstrapped and regression tested on x86_64-linux. >=20 > 2016-01-15 Ryan Burn >=20 > PR cilkplus/69267 > * cilk.c (cilk_gimplify_call_params_in_spawned_fn): Change to use > gimplify_arg. Removed superfluous post_p argument. > * c-family.h (cilk_gimplify_call_params_in_spawned_fn): Removed > superfluous post_p argument. > * c-gimplify.c (c_gimplify_expr): Likewise. >=20 > gcc/cp/ChangeLog: >=20 > 2016-01-15 Ryan Burn >=20 > PR cilkplus/69267 > * cp-gimplify.c (cilk_cp_gimplify_call_params_in_spawned_fn): Remo= ved > superfluous post_p argument in call to > cilk_gimplify_call_params_in_spawned_fn. >=20 > gcc/testsuite/ChangeLog: >=20 > 2016-01-15 Ryan Burn =20=20=20=20=20=20 >=20 > PR cilkplus/69267 > * g++.dg/cilk-plus/CK/pr69267.cc: New test. >=20 >=20 >=20 >