Bug 383645 - New feature request. Add -Ofast as an option for optimization flags on ui.
Summary: New feature request. Add -Ofast as an option for optimization flags on ui.
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: Next   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-27 09:48 EDT by Rafael Sene CLA
Modified: 2020-09-04 15:17 EDT (History)
2 users (show)

See Also:


Attachments
This file contains the source to add a new optimmizatin flag (-Ofast). (2.31 KB, patch)
2012-06-27 09:51 EDT, Rafael Sene CLA
rpsene: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Sene CLA 2012-06-27 09:48:43 EDT
Build Identifier: M20120208-0800

Add a new option to provide to the user an optimization flag that is present in GCC.

    The flag that was added is Ofast (-Ofast) .
    
    Flag Description:
    Disregard strict standards compliance. -Ofast enables all -O3 optimizations. It also enables optimizations that are not valid for all standard compliant programs.
    It turns on -ffast-math and the Fortran-specific -fno-protect-parens and -fstack-arrays.

Reproducible: Always

Steps to Reproduce:
1. Create a C or C++ project
2. On the project properties try to set -Ofast as optimization flag.
3. That flag isn't available on user interface.
Comment 1 Rafael Sene CLA 2012-06-27 09:51:18 EDT
Created attachment 217936 [details]
This file contains the source to add a new optimmizatin flag (-Ofast).