Re: [GSoC] Tooling for running BPF GCC tests on a live kernel

2025-04-01 Thread Jose E. Marchesi via Gcc
Hello Piyush. > I’m resending this email from my university account as my previous > message isn’t showing in the GCC mailing list archives. I’ve cc’d the > project mentors in case this email also fails to deliver. Apologies > for any duplicate notifications, and thank you for your understanding

Re: 'TREE_READONLY' for 'const' array in C vs. C++

2025-04-01 Thread Richard Biener via Gcc
On Tue, Apr 1, 2025 at 12:04 AM Thomas Schwinge wrote: > > Hi! > > In Nvidia PTX, "A state space is a storage area with particular > characteristics. All variables reside in some state space. [...]". > These include: > > .const Shared, read-only memory. > .global Global memory, shared

Re: 'TREE_READONLY' for 'const' array in C vs. C++

2025-04-01 Thread Alexander Monakov
On Tue, 1 Apr 2025, Richard Biener via Gcc wrote: > In C++ there could be runtime initializers for a const qualified > object. I think all > you need to do is make sure the logic that places the object in .const > vs. .global > is consistent with the logic deciding how to access it. I think it

Re: GSoC mandatory step error

2025-04-01 Thread Martin Jambor
Hello, On Mon, Mar 31 2025, Leul Abiy via Gcc wrote: > Dear Sir/Madam, > > I just wanted to ask about the build of gcc. I know it is a required step > before applying to GCC for the GSoC 2025. However, I get an error. > > Here is the error: > > /home/stoplight/GitProjects/GCC-PROJECT/gcc/build/obj

Re: 'TREE_READONLY' for 'const' array in C vs. C++

2025-04-01 Thread Jakub Jelinek via Gcc
On Tue, Apr 01, 2025 at 09:19:08AM +0200, Richard Biener via Gcc wrote: > On Tue, Apr 1, 2025 at 12:04 AM Thomas Schwinge > wrote: > > In Nvidia PTX, "A state space is a storage area with particular > > characteristics. All variables reside in some state space. [...]". > > These include: > > >

Re: Does gcc have different inlining heuristics on different platforms?

2025-04-01 Thread Richard Biener via Gcc
On Mon, Mar 31, 2025 at 9:15 PM Eric Botcazou wrote: > > > You can see what -fuse-linker-plugin says, what gcc/auto-host.h contains > > for HAVE_LTO_PLUGIN. I don't know whether the BFD linker (or mold) > > supports linker plugins on windows. I do know that libiberty simple-object > > does not s