"GSoC"

2024-03-24 Thread M Hamza Nadeem via Gcc
Hi Sir / mam, I hope this email finds you well. As an enthusiastic contributor with a strong grasp of C/C++ and familiarity with Rust, I am eager to explore potential projects for Google Summer of Code (GSoC) 2024 within the GNU Compiler Collection (GCC) ecosystem. With my background in these la

Is --as-needed the default these days?

2024-03-24 Thread Yuri Kanivetsky via Gcc
Hi, It looks like somewhere between gcc-5.3.0 and gcc-6.2.1 --as-needed became the default: https://gist.github.com/x-yuri/1b4c19891be50b2b8801689de1487009 In other words it looks like on Alpine Linux 3.4 -lintl always adds libintl, on >= 3.5 only if some of its symbols are really needed. Can y

Re: Is --as-needed the default these days?

2024-03-24 Thread Jonathan Wakely via Gcc
On Sun, 24 Mar 2024, 18:01 Yuri Kanivetsky via Gcc, wrote: > Hi, > > It looks like somewhere between gcc-5.3.0 and gcc-6.2.1 --as-needed > became the default: > > https://gist.github.com/x-yuri/1b4c19891be50b2b8801689de1487009 > > In other words it looks like on Alpine Linux 3.4 -lintl always add

Re: Is --as-needed the default these days?

2024-03-24 Thread Yuri Kanivetsky via Gcc
> That's a linker option, and the linker is not part of GCC. Any change in > linker behaviour is not because of a change in GCC. Have you noticed what gcc does? 3.4: /usr/libexec/gcc/x86_64-alpine-linux-musl/5.3.0/collect2 ... -lintl 3.5: /usr/libexec/gcc/x86_64-alpine-linux-musl/6.2.1/collect2

Re: Is --as-needed the default these days?

2024-03-24 Thread Andrew Pinski via Gcc
On Sun, Mar 24, 2024 at 11:54 AM Yuri Kanivetsky via Gcc wrote: > > > That's a linker option, and the linker is not part of GCC. Any change in > > linker behaviour is not because of a change in GCC. > > Have you noticed what gcc does? Upstream GCC does (still) not default to adding `--as-needed`

Re: Is --as-needed the default these days?

2024-03-24 Thread Yuri Kanivetsky via Gcc
> Upstream GCC does (still) not default to adding `--as-needed` to the > command line (except around libgcc). Some distros add patches which > add `--as-needed` by default though. It looks like alpine is one of > those distros. Maybe you should ask them instead of asking us. It > looks like they ma

Re: [musl] GCC optimizer is provably junk. Here is the evidence.

2024-03-24 Thread Tomas Volf via Gcc
On 2024-03-24 13:20:36 -0500, Dave Blanchard wrote: > Here's a nice gem from Julian Waters, a thoroughly pleasant and amiable > fellow: > > > Hello again, Dave. Have you managed to learn how a basic language > > Interpreter works before commenting on the significantly-more-complex > > gcc's effici

Re: [musl] GCC optimizer is provably junk. Here is the evidence.

2024-03-24 Thread Rich Felker
On Sun, Mar 24, 2024 at 01:20:36PM -0500, Dave Blanchard wrote: > To whom it may concern--e.g. users of GCC who naively assume GCC is > maintained by professionals who care about correct code generation: It does not concern us, so please remove the musl list from CC here and please do not CC this

gcc-14-20240324 is now available

2024-03-24 Thread GCC Administrator via Gcc
Snapshot gcc-14-20240324 is now available on https://gcc.gnu.org/pub/gcc/snapshots/14-20240324/ and on various mirrors, see https://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 14 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

re: P2996R2

2024-03-24 Thread Jeffrey Cliff via Gcc
i notice P2996R2 ( https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2996r2.html ) isn't listed yet in https://gcc.gnu.org/projects/cxx-status.html#cxx26 i'm assuming it's not implemented yet but not sure where to suggest that that particular chart include it is this the place? what is the

Re: Sourceware Open Office, Friday 18:00 UTC, don't feel isolated

2024-03-24 Thread 최종석 via Gcc