[GSoC] Question about Relatively Simple Library Traits

2023-03-24 Thread Ken Matsui via Gcc
Hi, I am working on the GSoC project, "C++: Implement compiler built-in traits for the standard library traits". I found the following library traits that I am not sure if implementing built-in traits brings reasonable speed up. * std::is_fundamental * std::is_arithmetic * std::is_scalar * std::i

Re: [GSoC] Question about Relatively Simple Library Traits

2023-03-24 Thread Jonathan Wakely via Gcc
On Fri, 24 Mar 2023 at 09:58, Jonathan Wakely wrote: > > On Fri, 24 Mar 2023 at 07:10, Ken Matsui via Gcc wrote: > > > > Hi, > > > > I am working on the GSoC project, "C++: Implement compiler built-in > > traits for the standard library traits". I found the following library > > traits that I am

Re: [GSoC] Question about Relatively Simple Library Traits

2023-03-24 Thread Jonathan Wakely via Gcc
On Fri, 24 Mar 2023 at 07:10, Ken Matsui via Gcc wrote: > > Hi, > > I am working on the GSoC project, "C++: Implement compiler built-in > traits for the standard library traits". I found the following library > traits that I am not sure if implementing built-in traits brings > reasonable speed up.

Re: [GSoC] Question about Relatively Simple Library Traits

2023-03-24 Thread Ken Matsui via Gcc
On Fri, Mar 24, 2023 at 3:06 AM Jonathan Wakely wrote: > > On Fri, 24 Mar 2023 at 09:58, Jonathan Wakely wrote: > > > > On Fri, 24 Mar 2023 at 07:10, Ken Matsui via Gcc wrote: > > > > > > Hi, > > > > > > I am working on the GSoC project, "C++: Implement compiler built-in > > > traits for the sta

Re: cgraph: does node->inlined_to imply node->clones is non-empty?

2023-03-24 Thread Martin Jambor
Hi, On Sat, Mar 18 2023, Arsen Arsenović wrote: > Martin Jambor writes: [...] >>> >>> For the test case in the PR, in ipa.cc:remove_unreachable_nodes, GCC >>> seems to try to remove an unreachable function that was already inlined >>> into a different unreachable function. >> >> No, it fails to

Re: cgraph: does node->inlined_to imply node->clones is non-empty?

2023-03-24 Thread Jan Hubicka via Gcc
Hi, > > It seems to me that the most correct fix is to add to > walk_polymorphic_call_targets a check that the obtained possible target > is still referenced_from_vtable_p() - because the alias that was > originally a virtual function is referenced from a vtable that at this > point is also known

The macro STACK_BOUNDARY may overflow

2023-03-24 Thread Paul Iannetta via Gcc
Hi, Currently, the macro STACK_BOUNDARY is defined as Macro: STACK_BOUNDARY Define this macro to the minimum alignment enforced by hardware for the stack pointer on this machine. The definition is a C expression for the desired alignment (measured in bits). This value is u

gcc-11-20230324 is now available

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

Building gcc-12 on MacOS Ventura (aarch64)

2023-03-24 Thread Chris Johns
Hi, I am sorting out some issues building RTEMS on MacOS including the M processors. The building gcc-12.2.1 for the few architectures I tested fail with sig faults in xgcc when building the runtime. I tried arm, aarch64 and sparc. As a result I wondered about bootstrapping gcc and using that to b

Re: Building gcc-12 on MacOS Ventura (aarch64)

2023-03-24 Thread Jonathan Wakely via Gcc
On Fri, 24 Mar 2023, 23:03 Chris Johns, wrote: > Hi, > > I am sorting out some issues building RTEMS on MacOS including the M > processors. > The building gcc-12.2.1 for the few architectures I tested fail with sig > faults > in xgcc when building the runtime. I tried arm, aarch64 and sparc. As a

Re: Building gcc-12 on MacOS Ventura (aarch64)

2023-03-24 Thread Jonathan Wakely via Gcc
On Fri, 24 Mar 2023, 23:07 Jonathan Wakely, wrote: > > > On Fri, 24 Mar 2023, 23:03 Chris Johns, wrote: > >> Hi, >> >> I am sorting out some issues building RTEMS on MacOS including the M >> processors. >> The building gcc-12.2.1 for the few architectures I tested fail with sig >> faults >> in x

Re: Building gcc-12 on MacOS Ventura (aarch64)

2023-03-24 Thread Chris Johns
On 25/3/2023 10:07 am, Jonathan Wakely wrote: > On Fri, 24 Mar 2023, 23:07 Jonathan Wakely, > wrote: > On Fri, 24 Mar 2023, 23:03 Chris Johns, > wrote: > > Hi, > > I am sorting out some issues building RTEMS

Re: Building gcc-12 on MacOS Ventura (aarch64)

2023-03-24 Thread Stuff Received
On 2023-03-24 19:51, Chris Johns wrote: On 25/3/2023 10:07 am, Jonathan Wakely wrote: On Fri, 24 Mar 2023, 23:07 Jonathan Wakely, mailto:jwakely@gmail.com>> wrote: On Fri, 24 Mar 2023, 23:03 Chris Johns, mailto:ch...@contemporary.net.au>> wrote: Hi, I am sorting out