http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48110

           Summary: __attribute__ ((optimize(...))) version of -Ofast
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: vincenzo.innoce...@cern.ch


gcc 4.6 introduces a new global optimization switch -Ofast.
Independently of what actually it is composed of, it seems not supported by 
__attribute__ ((optimize(...))) 

for instance
__attribute__ ((optimize("fast-math"))) works
 __attribute__ ((optimize("3"))) works

while
 __attribute__ ((optimize("fast")))
produces 
 error: unrecognized command line option '-ffast'


is this a bug or shall I use a different syntax?

Reply via email to