http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45983
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.5.2 Summary|ICE: tree code |[4.5/4.6 Regression] ICE: |'template_parm_index' is |tree code |not supported in gimple |'template_parm_index' is |streams with -lto |not supported in gimple | |streams with -lto --- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-15 15:28:58 UTC --- With 4.4: > g++-4.4 -S t.ii t.ii: In member function ‘float* T2::get_value() const’: t.ii:11: error: invalid conversion from ‘const float*’ to ‘float*’ with 4.5: > g++-4.5 -S t.ii t.ii: In member function ‘float* T2::get_value() const’: t.ii:11:43: error: invalid conversion from ‘const T1::scalar_type_t*’ to ‘float*’