------- 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-bugzi...@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