Re: We need to remove the Sphinx HTML docs

2025-04-26 Thread Sam James via Gcc
Gerald Pfeifer writes: > On Tue, 4 Feb 2025, Jonathan Wakely wrote: > : >>> ./gnat_ugn/_static/ >>> ./libgccjit/_static/ >>> ./libgdiagnostics/_static/ >>> ./libgomp/_static/ > : >> N.B. there's ./jit/_static which should stay, because jit still uses >> sphinx for its docs. > I found https://gc

Re: We need to remove the Sphinx HTML docs

2025-04-26 Thread Jonathan Wakely via Gcc
On Sat, 26 Apr 2025 at 13:55, Sam James wrote: > > Gerald Pfeifer writes: > > > On Tue, 4 Feb 2025, Jonathan Wakely wrote: > > : > >>> ./gnat_ugn/_static/ > >>> ./libgccjit/_static/ > >>> ./libgdiagnostics/_static/ > >>> ./libgomp/_static/ > > : > >> N.B. there's ./jit/_static which should stay,

Re: We need to remove the Sphinx HTML docs

2025-04-26 Thread Jonathan Wakely via Gcc
On Sat, 26 Apr 2025 at 19:24, Jonathan Wakely wrote: > > On Sat, 26 Apr 2025 at 13:55, Sam James wrote: > > > > Gerald Pfeifer writes: > > > > > On Tue, 4 Feb 2025, Jonathan Wakely wrote: > > > : > > >>> ./gnat_ugn/_static/ > > >>> ./libgccjit/_static/ > > >>> ./libgdiagnostics/_static/ > > >>>

[PATCH] gcc: do not apply store motion on loop with no exits. The temporary variable will not be wrote back to memory as there is no exit of inifinite loop, so we prohibit applying store motion on loo

2025-04-26 Thread Xin Wang via Gcc
Signed-off-by: Xin Wang --- gcc/tree-ssa-loop-im.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/tree-ssa-loop-im.cc b/gcc/tree-ssa-loop-im.cc index 225964c6215..de0450f5192 100644 --- a/gcc/tree-ssa-loop-im.cc +++ b/gcc/tree-ssa-loop-im.cc @@ -3355,6 +3355,9 @@ loop_suitable_for_s

[PATCH] Do not apply store motion on loop with no exits.

2025-04-26 Thread Xin Wang via Gcc
--- gcc/tree-ssa-loop-im.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/tree-ssa-loop-im.cc b/gcc/tree-ssa-loop-im.cc index 225964c6215..de0450f5192 100644 --- a/gcc/tree-ssa-loop-im.cc +++ b/gcc/tree-ssa-loop-im.cc @@ -3355,6 +3355,9 @@ loop_suitable_for_sm (class loop *loop ATTRIB

Re: [PATCH v2] gcc: do not apply store motion on loop with no exits.

2025-04-26 Thread ywgrit via Gcc
I encountered one problem with loop-im pass. I compiled the program dhry2reg which belongs to unixbench( https://github.com/kdlucas/byte-unixbench). The gcc used gcc (GCC) 12.3.0 The commands executed as following make ./Run -c -i 1 dhry2reg The results are shown below. Dhrystone 2 using registe

gcc-15-20250426 is now available

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

Re: We need to remove the Sphinx HTML docs

2025-04-26 Thread Jonathan Wakely via Gcc
On Tue, 4 Feb 2025 at 15:16, Jonathan Wakely wrote: > > On Fri, 15 Nov 2024 at 12:43, Gerald Pfeifer wrote: > > > > On Fri, 15 Nov 2024, Jonathan Wakely wrote: > > > All these directories should have been removed two years ago: > > > > Agreed. Thank you for digging into this and raising it, Jonat

[PATCH] Do not apply store motion on loop with no exits.

2025-04-26 Thread Xin Wang via Gcc
--- gcc/tree-ssa-loop-im.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/tree-ssa-loop-im.cc b/gcc/tree-ssa-loop-im.cc index 225964c6215..de0450f5192 100644 --- a/gcc/tree-ssa-loop-im.cc +++ b/gcc/tree-ssa-loop-im.cc @@ -3355,6 +3355,9 @@ loop_suitable_for_sm (class loop *loop ATTRIB

[PATCH v2] gcc: do not apply store motion on loop with no exits.

2025-04-26 Thread Xin Wang via Gcc
The temporary variable will not be wrote back to memory as there is no exit of inifinite loop, so we prohibit applying store motion on loops with no exits. Signed-off-by: Xin Wang --- gcc/tree-ssa-loop-im.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/tree-ssa-loop-im.cc b/gcc/tr