Re: how to get the library DECL for a built-in function

2020-12-06 Thread Richard Biener via Gcc
On Sat, Dec 5, 2020 at 1:55 AM Martin Sebor via Gcc wrote: > > On 12/4/20 4:33 PM, Martin Sebor wrote: > > I'm looking for a way to get the FUNCTION_DECL for the library > > (i.e., non-built-in) form of a function given the corresponding > > built-in DECL. Is there an API I can all with either th

Re: how to get the library DECL for a built-in function

2020-12-04 Thread Martin Sebor via Gcc
On 12/4/20 4:33 PM, Martin Sebor wrote: I'm looking for a way to get the FUNCTION_DECL for the library (i.e., non-built-in) form of a function given the corresponding built-in DECL.  Is there an API I can all with either the built -in DECL or its code to get it in the middle end? In C, what I'm

how to get the library DECL for a built-in function

2020-12-04 Thread Martin Sebor via Gcc
I'm looking for a way to get the FUNCTION_DECL for the library (i.e., non-built-in) form of a function given the corresponding built-in DECL. Is there an API I can all with either the built -in DECL or its code to get it in the middle end? In C, what I'm looking for appears to be DECL_CHAIN(decl