Meta-bug to track (still) missed optimizations in tramp3d-v4 testcase and so in FreePOOMA library using code.
Full tramp3d-v4 can be fetched from http://www.tat.physik.uni-tuebingen.de/~rguenth/gcc/tramp3d-v4.cpp.gz attached is a reduced testcase (compile-time only), which instantiates one of the expression kernels representative for the application. Look at ;; Function void MultiArgKernel<MultiArg, Function>::run() [with MultiArg = Mult iArg2<Field<UniformRectilinearMesh<MeshTraits<3, double, UniformRectilinearTag, CartesianTag, 3> >, double, BrickViewU>, Field<UniformRectilinearMesh<MeshTraits <3, double, UniformRectilinearTag, CartesianTag, 3> >, double, BrickViewU> >, Fu nction = EvaluateLocLoop<Adv5::Ekin<3>, 3>] (_ZN14MultiArgKernelI9MultiArg2I5Fie ldI22UniformRectilinearMeshI10MeshTraitsILi3Ed21UniformRectilinearTag12Cartesian TagLi3EEEd10BrickViewUES9_E15EvaluateLocLoopIN4Adv54EkinILi3EEELi3EEE3runEv) preferably compile with "-O2 -Dleafify=flatten". -- Summary: tramp3d-v4 missed optimizations Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22501