Ordering function layout for locality follow-up

2024-09-17 Thread Kyrylo Tkachov via Gcc
Hello, Thanks to those that attended the IPA/LTO BoF at GNU Cauldron over the weekend and gave us feedback on teaching GCC to optimize for layout locality in the callgraph I’d like to follow-up on the previous work in the area that Honza mentioned to see if we can reuse some of it or follow its

x86_64 regression tests arbitrary failing?

2024-09-17 Thread Georg-Johann Lay
For a trivial change that I'd like to bootstrap + regtest, I am am getting FAILs like: $ diff xxx/gcc/testsuite/gcc/gcc.sum yyy/gcc/testsuite/gcc/gcc.sum 164656c164656 < PASS: c-c++-common/tsan/atomic_stack.c -O0 output pattern test --- > FAIL: c-c++-common/tsan/atomic_stack.c -O0 output p

Re: [CAULDRON] Topics for the Toolchain and Linux kernel BoF

2024-09-17 Thread Jakub Jelinek via Gcc
On Thu, Sep 12, 2024 at 06:09:53PM +0200, Jose E. Marchesi via Gcc wrote: > - "noreturn" and jump tables run-time hints > > It has been expressed on the kernel side the desire of having the C compiler > emit run-time hints marking functions that are not supposed to return and > also to provi

Re: [CAULDRON] Topics for the Toolchain and Linux kernel BoF

2024-09-17 Thread Jose E. Marchesi via Gcc
[Adding Josh in CC] > On Thu, Sep 12, 2024 at 06:09:53PM +0200, Jose E. Marchesi via Gcc wrote: >> - "noreturn" and jump tables run-time hints >> >> It has been expressed on the kernel side the desire of having the C >> compiler >> emit run-time hints marking functions that are not suppose

Re: x86_64 regression tests arbitrary failing?

2024-09-17 Thread Arsen Arsenović via Gcc
Hi, Georg-Johann Lay writes: > For a trivial change that I'd like to bootstrap + regtest, I am > am getting FAILs like: > > $ diff xxx/gcc/testsuite/gcc/gcc.sum yyy/gcc/testsuite/gcc/gcc.sum > 164656c164656 > < PASS: c-c++-common/tsan/atomic_stack.c -O0 output pattern test > --- >> FAIL: c-c

Re: Update bootstrap requirement to C++14?

2024-09-17 Thread Jason Merrill via Gcc
On 9/16/24 11:14 AM, Florian Weimer wrote: * Jason Merrill via Gcc: We moved to a bootstrap requirement of C++11 in GCC 11, 8 years after support was stable in GCC 4.8. Note that some documentation still says C++03, for example: | The directories gcc, libcpp and fixincludes may use C++03. Th

Re: x86_64 regression tests arbitrary failing?

2024-09-17 Thread Sam James via Gcc
Arsen Arsenović via Gcc writes: > Hi, > > Georg-Johann Lay writes: > >> For a trivial change that I'd like to bootstrap + regtest, I am >> am getting FAILs like: >> >> $ diff xxx/gcc/testsuite/gcc/gcc.sum yyy/gcc/testsuite/gcc/gcc.sum >> 164656c164656 >> < PASS: c-c++-common/tsan/atomic_stack.c