From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127606 invoked by alias); 8 Aug 2016 21:29:37 -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 127596 invoked by uid 89); 8 Aug 2016 21:29:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=UD:langhooks.h, langhooks.h, langhooksh, U*jason X-HELO: mail-oi0-f43.google.com Received: from mail-oi0-f43.google.com (HELO mail-oi0-f43.google.com) (209.85.218.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 08 Aug 2016 21:29:26 +0000 Received: by mail-oi0-f43.google.com with SMTP id c15so31493570oig.0 for ; Mon, 08 Aug 2016 14:29:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/aLNNzC0qs/gxC/al6bF3YOgffUTUjEQ1Wa0JRWhIHs=; b=j5LFw0piYfVFo21MXojo3h9oEuVHOYs/ZiuAnJLqh+V8BTNPDlx79l16LN1o+G2ljx re6q7P4fOwxQBJkMrZr+EHZSGUQ3J1Dt5S04lVeddS2knjHl3s8qzlZsixjFN02lWukq yDBsIQe9mdjM2tML1qwLruK6nai9ZKN4Rt0V0MWLBOILddlpuDfd2HQaKdmuvQCJ3e9i at8JXMILgnjo4Mr4pedHrto0mc8sCu+IDHcVDOSknIOMNexja8tOOi9sxcoqXXuwMkTo mNsMkivVKJUQ8ff8I5D8rznjZfYRu95we1EvK5M3fXjZpZerJwLNeHqQ7kulAe8hhYId Q8xg== X-Gm-Message-State: AEkoouvIA6G6MUi28H7AAc0n7SgZU3gpHH8lNsb1PgFAJmae/YZ0BeJjgXujSvkH8bwdTD+Lf3QOFoOzCiZrV6Qj X-Received: by 10.157.11.131 with SMTP id 3mr23239408oth.82.1470691764570; Mon, 08 Aug 2016 14:29:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.105.169 with HTTP; Mon, 8 Aug 2016 14:29:04 -0700 (PDT) In-Reply-To: References: From: Jason Merrill Date: Mon, 08 Aug 2016 21:29:00 -0000 Message-ID: Subject: Re: [PR63240] generate debug info for defaulted member functions To: Alexandre Oliva Cc: gcc-patches List , Cary Coutant Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00644.txt.bz2 OK. On Fri, Aug 5, 2016 at 5:47 PM, Alexandre Oliva wrote: > On Aug 4, 2016, Jason Merrill wrote: > >> On Mon, Aug 1, 2016 at 10:57 PM, Alexandre Oliva wrote: >>> * langhooks.h (struct lang_hooks_for_decls): Add >>> function_decl_defaulted_inclass_p and >>> function_decl_defaulted_outofclass_p. > >> Maybe one hook that returns unsigned rather than two bool hooks? > > There's a suitable lhd that returns int, so I used that instead. I > noticed we should be using const_tree for these, so I adjusted them and, > while at that, I adjusted _deleted and _explicit too. Finally, having > been informed of the constants for _defaulted and _deleted in DwARF v5 > drafts, I've dropped the _GNU attributes for these and started using the > values from the draft, adjusting for them to be emitted even for strict > DWARF v5. > > Here's what I'm testing. Ok if it regstraps successfully? > > > > > -- > Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ > You must be the change you wish to see in the world. -- Gandhi > Be Free! -- http://FSFLA.org/ FSF Latin America board member > Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer >