This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug c++/43149] Partial optimization
- From: Andrew Pinski <pinskia at gmail dot com>
- To: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- Cc: "gcc-bugs at gcc dot gnu dot org" <gcc-bugs at gcc dot gnu dot org>
- Date: Tue, 23 Feb 2010 08:29:03 -0800
- Subject: Re: [Bug c++/43149] Partial optimization
- References: <bug-43149-18825@http.gcc.gnu.org/bugzilla/> <20100223161656.16606.qmail@sourceware.org>
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