whizard is hosted by Hepforge, IPPP Durham

Opened 14 years ago

Closed 14 years ago

#348 closed defect (fixed)

OCF declaration violate number of allowed continuation lines

Reported by: Juergen Reuter Owned by: ohl
Priority: P3 Milestone: v2.0.4
Component: omega Version: 2.0.2
Severity: normal Keywords: code generation
Cc:

Description

Is clear.

Change History (9)

comment:1 Changed 14 years ago by ohl

Status: newassigned

Working on it.

comment:2 Changed 14 years ago by ohl

Done for NAG, but the current gfortran

GNU Fortran (GCC) 4.6.0 20100726 (experimental)

suffers from an ICE

f951: internal compiler error: in gfc_conv_array_initializer, at fortran/trans-array.c:4208

Gotta report it and find a work around for 4.5.x

comment:3 Changed 14 years ago by Juergen Reuter

I suppose this is the same one as reported by myself: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44742

comment:4 Changed 14 years ago by ohl

Thought so too and build a new gfortran, but it only happens for derived types:

module m
  implicit none
  type t
     integer :: i
  end type t
  type(t), dimension(1), parameter :: a1  = (/ t(1) /)
  type(t), dimension(1), parameter :: a = reshape ( (/ a1 /), (/ 1 /) )
end module m

I will submit this.

comment:5 Changed 14 years ago by ohl

comment:6 Changed 14 years ago by ohl

This is bad, because there's no way to work around this on gfortran 4.5.x w/o removing the derived type from the interface of O'Mega and WHIZARD.

comment:7 Changed 14 years ago by Juergen Reuter

Milestone: v2.0.3v2.0.4

comment:8 Changed 14 years ago by ohl

No progress on the gfortran front: resurrect DATA statements to replace reshape

comment:9 Changed 14 years ago by ohl

Resolution: fixed
Status: assignedclosed

Fixed in r2771 (apart from code beautification).

Note: See TracTickets for help on using tickets.