Re: [PATCH] DECL_ASSEMBLER_NAME and friends

2017-10-11 Thread Nathan Sidwell
On 10/11/2017 11:28 AM, Nathan Sidwell wrote: On 10/11/2017 08:28 AM, Richard Biener wrote: On Tue, Oct 10, 2017 at 3:03 PM, Nathan Sidwell wrote: I have a patch cleaning up a bit of the C++ FE, which will involve hashing via DECL_ASSEMBLER_NAME.  however, all the items in that hash are known

Re: [PATCH] DECL_ASSEMBLER_NAME and friends

2017-10-11 Thread Nathan Sidwell
On 10/11/2017 08:28 AM, Richard Biener wrote: On Tue, Oct 10, 2017 at 3:03 PM, Nathan Sidwell wrote: I have a patch cleaning up a bit of the C++ FE, which will involve hashing via DECL_ASSEMBLER_NAME. however, all the items in that hash are known to have it set, so its mapping to a function ca

Re: [PATCH] DECL_ASSEMBLER_NAME and friends

2017-10-11 Thread Jan Hubicka
> On Tue, Oct 10, 2017 at 3:03 PM, Nathan Sidwell wrote: > > I have a patch cleaning up a bit of the C++ FE, which will involve hashing > > via DECL_ASSEMBLER_NAME. however, all the items in that hash are known to > > have it set, so its mapping to a function call is undesirable. > > > > This pat

Re: [PATCH] DECL_ASSEMBLER_NAME and friends

2017-10-11 Thread Richard Biener
On Tue, Oct 10, 2017 at 3:03 PM, Nathan Sidwell wrote: > I have a patch cleaning up a bit of the C++ FE, which will involve hashing > via DECL_ASSEMBLER_NAME. however, all the items in that hash are known to > have it set, so its mapping to a function call is undesirable. > > This patch adds DECL

[PATCH] DECL_ASSEMBLER_NAME and friends

2017-10-10 Thread Nathan Sidwell
I have a patch cleaning up a bit of the C++ FE, which will involve hashing via DECL_ASSEMBLER_NAME. however, all the items in that hash are known to have it set, so its mapping to a function call is undesirable. This patch adds DECL_ASSEMBLER_NAME_RAW, which gets at the field directly. I can