This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PR63240] generate debug info for defaulted member functions


OK.

On Fri, Aug 5, 2016 at 5:47 PM, Alexandre Oliva <aoliva@redhat.com> wrote:
> On Aug  4, 2016, Jason Merrill <jason@redhat.com> wrote:
>
>> On Mon, Aug 1, 2016 at 10:57 PM, Alexandre Oliva <aoliva@redhat.com> 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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]