Re: seek advice about GCC learning

2023-09-25 Thread weizhe wang via Gcc
Thanks for your reply. Is there some guide for building rv32 cross compiler gcc ? I encounter some error in the building progress. Sent using https://www.zoho.com/mail/ On Mon, 25 Sep 2023 23:40:51 -0700 Jonathan Wakely wrote --- On Tue, 26 Sept 2023, 03:11 weizhe wang

Re: Exporting inline functions

2023-09-25 Thread Paul Iannetta via Gcc
Hi, On Mon, Sep 25, 2023 at 05:46:36PM -0500, Nima Hamidi via Gcc wrote: > Is there any flag that I can pass to gcc to make it generate dynamic symbols > for inline functions too? Let’s say I need to lookup an inline function via > dlopen and call it. Is there an easy way to achieve this? > You

Re: seek advice about GCC learning

2023-09-25 Thread Jonathan Wakely via Gcc
On Tue, 26 Sept 2023, 03:11 weizhe wang via Gcc, wrote: > Hi Guys, > > > > Can we build risv-32 gcc compiler from official gcc repository ? > Yes, lots of people do that. > > > Thanks, > > > > Flint > > > > Sent using https://www.zoho.com/mail/ > > > > > > > > > On Thu, 02 Feb 2023

Re: seek advice about GCC learning

2023-09-25 Thread weizhe wang via Gcc
Hi Guys,   Can we build risv-32 gcc compiler from official gcc repository ? Thanks, Flint Sent using https://www.zoho.com/mail/ On Thu, 02 Feb 2023 05:21:36 -0800 Martin Jambor wrote --- Hello Flint, On Sat, Jan 28 2023, hmsjwzb via Gcc wrote: > Hi GCC develope

Exporting inline functions

2023-09-25 Thread Nima Hamidi via Gcc
Hello all, Is there any flag that I can pass to gcc to make it generate dynamic symbols for inline functions too? Let’s say I need to lookup an inline function via dlopen and call it. Is there an easy way to achieve this? Thanks!

Re: ipa-inline & what TARGET_CAN_INLINE_P can assume

2023-09-25 Thread Richard Sandiford via Gcc
Andrew Pinski writes: > On Mon, Sep 25, 2023 at 10:16 AM Richard Sandiford via Gcc > wrote: >> >> Hi, >> >> I have a couple of questions about what TARGET_CAN_INLINE_P is >> alllowed to assume when called from ipa-inline. (Callers from the >> front-end don't matter for the moment.) >> >> I'm wor

Re: ipa-inline & what TARGET_CAN_INLINE_P can assume

2023-09-25 Thread Andrew Pinski via Gcc
On Mon, Sep 25, 2023 at 10:16 AM Richard Sandiford via Gcc wrote: > > Hi, > > I have a couple of questions about what TARGET_CAN_INLINE_P is > alllowed to assume when called from ipa-inline. (Callers from the > front-end don't matter for the moment.) > > I'm working on an extension where a functi

ipa-inline & what TARGET_CAN_INLINE_P can assume

2023-09-25 Thread Richard Sandiford via Gcc
Hi, I have a couple of questions about what TARGET_CAN_INLINE_P is alllowed to assume when called from ipa-inline. (Callers from the front-end don't matter for the moment.) I'm working on an extension where a function F1 without attribute A can't be inlined into a function F2 with attribute A.

Complex numbers support: discussions summary

2023-09-25 Thread Sylvain Noiry via Gcc
Hi, We had very interesting discussions during our presentation with Paul on the support of complex numbers in gcc at the Cauldron. Thank you all for your participation ! Here is a small summary from our viewpoint: - Replace CONCAT with a backend defined internal representation in RTL --> No

Re: The order of loop traversal in gcc

2023-09-25 Thread Hanke Zhang via Gcc
Richard Biener 于2023年9月25日周一 13:46写道: > > > > > Am 25.09.2023 um 04:53 schrieb Hanke Zhang via Gcc : > > > > Hi, I have recently been working on loops in gcc, and I have some > > questions about the loop traversal. > > > > I use loops_list(cfun, LI_ONLY_INNERMOST) to traverse the loops in my > >