This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
optimization/9350: -fomit-frame-pointer does not work for main
- From: ctm at ardi dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 17 Jan 2003 13:24:48 -0000
- Subject: optimization/9350: -fomit-frame-pointer does not work for main
- Reply-to: ctm at ardi dot com
>Number: 9350
>Category: optimization
>Synopsis: -fomit-frame-pointer does not work for main
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 17 05:26:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: ctm@ardi.com
>Release: gcc version 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2)
>Organization:
>Environment:
Linux canceled.ardi.com 2.4.20-2.2acpi #1 Thu Jan 2 16:31:33 MST 2003 i686 i686
i386 GNU/Linux
>Description:
When -fomit-frame-pointer is used, main still uses a frame pointer. The -fomit-frame-pointer portion of the gcc info pages doesn't mention this special case.
>How-To-Repeat:
attached file includes tiny example.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/x-bzip2; name="gcc_bug.bz2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gcc_bug.bz2"
QlpoOTFBWSZTWR68Nx0AANhfgAAyVmd52knVGgo/5996QAHyTiqsJU1J6E9QNManqaBpppoAADQC
RImlPZTQ0mTao09QyGTTEegmJoYaGgAAA0AAAAAJU00qfiJ6iH5SeR6oZAAB6g9R6nqeX570KYJk
EMYK4SCmyG0Ly45lqy8fVr174C94uHPgvd6vcZYw0OnHGlIulvMDdJGaR/aavrsJVre5Pi6kNBVF
S6uAbWYFtHp30PeZZAuCSizO/DYBtxItOek8AigYIIiUIpTyAMO+2VkMjlW90yTMVfjRHYtZtikt
1ZHUdHS3Jc0OBo7LFZrJWIlF0nak2p9JHZMui9ReaUXKd+DpKRMhQmYYTlLVr7eUyu+VWnh2hQj6
uNtWsoCOXXcfCBUNhIZM6cBoOrLBwtQyDe1hUmIP7lVlpgGg6nB5CH2EbURghiI7vI2oeOdyJnC/
+B+IGV6hW4NTmPAcxunIL9ym+IOhnLKPpIfObCeeHExMeAT2/EVp66F5w31Nua/0NEMxdovPyTDi
NFNkuEL3UsEjToY4IBNmk4BKQFIkr0pgxzWmags9eQcOahqN1CaxDI2jG0xGhiSsJmojRSWZuKQp
UUQaoD422By/LxsNbHTFGRvpHJo5NIsQtMoG5VQZ4lq5hU+BI2PQOUwjJQ/i7kinChID14bjoA==