Re: ELF2.0: Linkable struct

2025-01-31 Thread Jonathan Wakely via Gcc
On Fri, 31 Jan 2025, 06:50 The Cuthour via Gcc, wrote: > > Suppose we have the following two classes: > > === Vec.h === > class Vec { > int x, y, z; > }; > === end Vec.h === > > === Pix.h === > class Pix: Vec { > int r, g, b; > }; > === end Pix.h === > > If we add or remove a member var

Re: ELF2.0: Linkable struct

2025-01-31 Thread The Cuthour via Gcc
On 2025/01/31 17:05, Jonathan Wakely wrote: On Fri, 31 Jan 2025, 06:50 The Cuthour via Gcc, > wrote: Suppose we have the following two classes: === Vec.h === class Vec {      int x, y, z; }; === end Vec.h === === Pix.h === class P

Re: ELF2.0: Linkable struct

2025-01-31 Thread Jonathan Wakely via Gcc
On Fri, 31 Jan 2025 at 08:28, The Cuthour wrote: > > > > On 2025/01/31 17:05, Jonathan Wakely wrote: > > > > > > On Fri, 31 Jan 2025, 06:50 The Cuthour via Gcc, > > wrote: > > > > > > Suppose we have the following two classes: > > > > === Vec.h === > > class Ve

Re: [wwwdocs] a bug report about some deprecated parts of gcc

2025-01-31 Thread noname noname via Gcc
sorry, I forgot to mention that the packages were installed somewhere in November or December 2024. So this bug might already be resolved by now. пт, 31 янв. 2025 г. в 15:22, noname noname : > hello, I'm a regular user of Fedora 41 Workstation. I usually install all > my apps through one command

Re: ELF2.0: Linkable struct

2025-01-31 Thread The Cuthour via Gcc
Hi On 2025/01/31 18:47, Jonathan Wakely wrote: On Fri, 31 Jan 2025 at 08:28, The Cuthour wrote: On 2025/01/31 17:05, Jonathan Wakely wrote: On Fri, 31 Jan 2025, 06:50 The Cuthour via Gcc, mailto:gcc@gcc.gnu.org>> wrote: Suppose we have the following two classes: === Vec.h ==

Re: ELF2.0: Linkable struct

2025-01-31 Thread Ian Lance Taylor via Gcc
On Fri, Jan 31, 2025 at 7:37 AM The Cuthour via Gcc wrote: > > I understand the concerns about the C++ standard requiring constant > expressions to be known during compilation. However, my proposal for > link-time evaluation offers significant flexibility and efficiency > improvements that could a

Re: [wwwdocs] a bug report about some deprecated parts of gcc

2025-01-31 Thread David Brown
On 31/01/2025 14:22, noname noname via Gcc wrote: hello, I'm a regular user of Fedora 41 Workstation. I usually install all my apps through one command which has tons of packages to it. So I'm not sure which one of them pulled gcc as a dependency. But either way. While installing all of them, dnf

Re: [wwwdocs] a bug report about some deprecated parts of gcc

2025-01-31 Thread Jonathan Wakely via Gcc
On Fri, 31 Jan 2025 at 13:24, noname noname via Gcc wrote: > > hello, I'm a regular user of Fedora 41 Workstation. I usually install all > my apps through one command which has tons of packages to it. So I'm not > sure which one of them pulled gcc as a dependency. But either way. While > installin

Re: ELF2.0: Linkable struct

2025-01-31 Thread Jonathan Wakely via Gcc
On Fri, 31 Jan 2025 at 18:56, Ian Lance Taylor via Gcc wrote: > > On Fri, Jan 31, 2025 at 7:37 AM The Cuthour via Gcc wrote: > > > > I understand the concerns about the C++ standard requiring constant > > expressions to be known during compilation. However, my proposal for > > link-time evaluatio

Re: ELF2.0: Linkable struct

2025-01-31 Thread Jakub Jelinek via Gcc
On Fri, Jan 31, 2025 at 11:24:33PM +0900, The Cuthour via Gcc wrote: > > C++ requires constant expressions to be known during compilation, not > > at link time. > > A constant that is not determined at compile-time is akin to > constructor that is const but not constexpr. While it remains > consta

Re: ELF2.0: Linkable struct

2025-01-31 Thread The Cuthour via Gcc
Hi C++ requires constant expressions to be known during compilation, not at link time. A constant that is not determined at compile-time is akin to constructor that is const but not constexpr. While it remains constant throughout the program, its value is established only at link-time, not a

[wwwdocs] a bug report about some deprecated parts of gcc

2025-01-31 Thread noname noname via Gcc
hello, I'm a regular user of Fedora 41 Workstation. I usually install all my apps through one command which has tons of packages to it. So I'm not sure which one of them pulled gcc as a dependency. But either way. While installing all of them, dnf said: [128/579] Installing libgcc-0:14.2.1-3.fc41.

Re: Interested in contributing & GSOC

2025-01-31 Thread Martin Jambor
Hello, and sorry for a rather late reply, I am only now getting to GSoC stuff. Anyway, we are delighted you found contributing to GCC interesting. On Tue, Dec 31 2024, Aditya Dutt via Gcc wrote: > Hello, > > I am interested in compilers and have been trying to understand GCC for > some time. > >

gcc-13-20250131 is now available

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

Re: [wwwdocs] a bug report about some deprecated parts of gcc

2025-01-31 Thread David Brown
On 31/01/2025 14:22, noname noname via Gcc wrote: hello, I'm a regular user of Fedora 41 Workstation. I usually install all my apps through one command which has tons of packages to it. So I'm not sure which one of them pulled gcc as a dependency. But either way. While installing all of them, dnf