[Bug c++/43149] Partial optimization

pinskia at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 23 16:29:00 GMT 2010



------- Comment #8 from pinskia at gmail dot com  2010-02-23 16:29 -------
Subject: Re:  Partial optimization



Sent from my iPhone

On Feb 23, 2010, at 8:16 AM, "bschindler at inf dot ethz dot ch"
<gcc-bugzilla@gcc.gnu.org 
 > wrote:

>
>
> ------- Comment #6 from bschindler at inf dot ethz dot ch   
> 2010-02-23 16:16 -------
> Also, the following would not work
>
> #pragma GCC optimize(2) // I don't know whether I got that syntax  
> right
> #include <Eigen/Core>
> #pragma pop_options
>
> blubb;
>
> Eigen/Core is a separate file so I'd expect the pragma to have no  
> effect on it
> no? Or am I wrong here?

You are wrong here the pragma works across header files.

>
> I just talked to some Eigen developers and they seemed to be very  
> favorable to
> the idea of a namespace wide option
>
>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43149
>


-- 


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



More information about the Gcc-bugs mailing list