bsc-pm / mcxx

Mercurium is a C/C++/Fortran source-to-source compilation infrastructure aimed at fast prototyping developed by the Programming Models group at the Barcelona Supercomputing Center

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mfc extend not supported?

rupertford opened this issue · comments

I think this internal compiler error is to do with the extend clause

module field_mod

  implicit none

  type, public, extends(field_type) :: r2d_field
     integer :: ntiles
  end type r2d_field
  
end module field_mod
fortran03-buildscope.c:3432(gather_attr_spec_item): Internal compiler error.
fortran03-buildscope.c:3432(gather_attr_spec_item): Please report a bug at pm-tools@bsc.es with preprocessed source if possible
fortran03-buildscope.c:3432(gather_attr_spec_item): Unhandled handler of '(' (AST_ATTR_SPEC)