From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6D6C53858C39; Fri, 26 Nov 2021 13:20:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D6C53858C39 From: "nils.smeds at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/103438] Updated documentation for gcc Optimization command line options (sec 3.11) Date: Fri, 26 Nov 2021 13:20:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 11.2.1 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: nils.smeds at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2021 13:20:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103438 --- Comment #7 from Nils Smeds --- (In reply to Martin Li=C5=A1ka from comment #6) > Lemme take a look. Great, thanks.=20 What happens in real life inside the code is beyond me, I am mostly after t= hat the documentation should describe what is really happening. If --help is not reflecting what is happening I think that is a bug that needs to be filed by someone smarter than I ;-) I still am happy to provide patches to the documentation once --help is kno= wn to reflect reality. I will stay tuned to see what enables the options -fprefetch-loop-arrays and -faggressive-loop-optimizations but it appears to be the target used and not the level of Optimization applied? Where should I look in the code to find this? If so, I will modify the docs accordingly: "Enabled by default on targets t= hat support xxxx" (whatever xxxx may be).=