--- Comment #7 from bschindler at inf dot ethz dot ch 2010-02-23 16:24
---
Okay, the need is simply this:
I have an octree implemented using eigen.
With gcc -g, it takes roughly 3 minutes to build the tree
With gcc -O1 -g, it takes about 1-2 seconds for the same
The problem is
--- 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
#pragma pop_options
blubb;
Eigen/Core is a separate file so I'd expect the prag
--- Comment #2 from bschindler at inf dot ethz dot ch 2010-02-23 15:45
---
Thank you for that hint, however the problem does not disappear just like that.
I would like the entire namespace be optimized that way and from the discussion
it seems that there is no easy way to do this
NCONFIRMED
Severity: enhancement
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bschindler at inf dot ethz dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43149