https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438
--- Comment #14 from Nils Smeds ---
OK, the wording "aggressive" makes it look counter-intuitive that it is set
at -O0, but apparently it is correct.
/Nils
On Thu, Dec 2, 2021 at 3:02 PM marxin at gcc dot gnu.org <
gcc-bugzi...@gcc.gnu.org> wr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438
--- Comment #13 from Nils Smeds ---
OK, then it makes sense
On Thu, Dec 2, 2021 at 3:02 PM marxin at gcc dot gnu.org <
gcc-bugzi...@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438
>
> --- Comment #12 from Martin Liška
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438
--- Comment #11 from Nils Smeds ---
I also noticed the following with this patch (if I applied it correctly)
[tooladmin@login2302 gcc-11.2.0]$ gcc -O0 -Q --help=optimize t.c | grep agg
-faggressive-loop-optimizations [enabled]
[tooladm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438
--- Comment #10 from Nils Smeds ---
Is there a benefit to augment the -Q output as follows?
[tooladmin@login2302 build]$ diff -r -p a b
diff -r -p a/gcc/opts.c b/gcc/opts.c
*** a/gcc/opts.cWed Jul 28 08:55:07 2021
--- b/gcc/opts.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438
--- Comment #8 from Nils Smeds ---
(In reply to Nils Smeds from comment #7)
> (In reply to Martin Liška from comment #6)
> > Lemme take a look.
>
> Great, thanks.
prefetch-loop-arrays appears to be activated on arm,s390 and i386 at level -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438
--- Comment #7 from Nils Smeds ---
(In reply to Martin Liška from comment #6)
> Lemme take a look.
Great, thanks.
What happens in real life inside the code is beyond me, I am mostly after that
the documentation should describe what is really
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438
--- Comment #4 from Nils Smeds ---
(In reply to Andrew Pinski from comment #1)
> -fprefetch-loop-arrays is not enabled by default on all targets.
$ gcc --version
gcc (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438
Bug ID: 103438
Summary: Updated documentation for gcc Optimization command
line options (sec 3.11)
Product: gcc
Version: 11.2.1
Status: UNCONFIRMED
Severity: n