This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug c++/43149] 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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]