http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47561

           Summary: Error message does not say to which option it refers
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: schnet...@gmail.com


When trying gcc 4.6.0, I received the error message:

In file included from
/Users/eschnett/EinsteinToolkit-hg/arrangements/McLachlan/ML_BSSN_O8/src/ML_BSSN_O8_RHS1.cc:13:0:
/Users/eschnett/EinsteinToolkit-hg/arrangements/McLachlan/ML_BSSN_O8/src/Differencing.h:
In function '__m128d PDstandardNth23_impl(const double*, ptrdiff_t,
ptrdiff_t)':
/Users/eschnett/EinsteinToolkit-hg/arrangements/McLachlan/ML_BSSN_O8/src/Differencing.h:124:22:
sorry, unimplemented: Graphite loop optimizations cannot be used

Apparently I am asking gcc to apply some optimizations that are not enabled in
this particular version. I think gcc should tell me which particular
optimization option (or set of options) leads to this problem. Since the error
message speaks only about "graphite optimizations", I cannot tell which options
I have to avoid.

I used the following optimization options:

-O3 -funsafe-loop-optimizations -fsee -ftree-loop-linear -ftree-loop-im
-fivopts -fvect-cost-model -funroll-loops -funroll-all-loops
-fvariable-expansion-in-unroller -fprefetch-loop-arrays -ffast-math
-fassociative-math -freciprocal-math -fno-trapping-math -fexcess-precision=fast

Reply via email to