With attached code, I get a segmentation fault: spec/src> c++ -c -O -march=pentium4m -ftree-vectorize auto_derivative_function.ii auto_derivative_function.ii:6859: warning: ‘__malloc__’ attribute ignored auto_derivative_function.ii: In member function ‘Tensor<1, dim> AutoDerivativeFunction<dim>::gradient(const Point<dim>&, unsigned int) const [with int dim = 3]’: auto_derivative_function.ii:32007: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Unfortunately, I have no time right now to reduce this code further :-( W.
-- Summary: [4.1 regression] segfault with -ftree-vectorize Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bangerth at dealii dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21851