------- Comment #9 from burnus at gcc dot gnu dot org  2010-04-26 21:00 -------
(In reply to comment #7)
> Actually both ROTATION_MATRIX_TIMES_VECTOR are pure; the one in m_vector is
> elemental, therefore pure, and the one in m_rotation_matrix is pure.
> I have changed the one in m_rotation_matrix to ROTATION_MATRIX_TIMES_ARRAY to
> remove the names collision and the ICE remains (I guess as expected)
> I am a bit surprised about the NAG compiler behaviour.

Same with me - at least that part looks OK; having the same name confuses the
programmer, but it should not confuse the compiler (for generic/operator
resolution) and looks valid (as the specific function is PRIVATE). [NAG f95 =
version 5.1]


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org
            Summary|[fortran-dev Regression] ICE|[OOP][fortran-dev
                   |in gfc_conv_variable, at    |Regression] ICE in
                   |fortran/trans-expr.c:551    |gfc_conv_variable, at
                   |                            |fortran/trans-expr.c:551


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

Reply via email to