RE: [PATCH, FORTRAN] Fix PR fortran/60718

2014-04-15 Thread Bernd Edlinger
Hi Tobias, On Fri, 11 Apr 2014 16:04:51, Tobias Burnus wrote: > > Hi Tobias, > > On Fri, Apr 11, 2014 at 02:39:57PM +0200, Bernd Edlinger wrote: >> On Fri, 11 Apr 2014 13:37:46, Tobias Burnus wrote: >> Hmm, >> >> I was hoping somehow that only that test case is broken, >> and needs to be fixed. Th

Re: [PATCH, FORTRAN] Fix PR fortran/60718

2014-04-11 Thread Tobias Burnus
Hi Tobias, On Fri, Apr 11, 2014 at 02:39:57PM +0200, Bernd Edlinger wrote: > On Fri, 11 Apr 2014 13:37:46, Tobias Burnus wrote: > Hmm, > > I was hoping somehow that only that test case is broken, > and needs to be fixed. The target attribute is somehow simple, > it implies intent(in) and the actu

RE: [PATCH, FORTRAN] Fix PR fortran/60718

2014-04-11 Thread Bernd Edlinger
Hi Tobias, On Fri, 11 Apr 2014 13:37:46, Tobias Burnus wrote: > > Hi Bernd, > > Bernd Edlinger wrote: >> It was caused by a strict aliasing violation, when passing a value of the >> type >> "class(x),pointer" to a formal procedure parameter of the type >> "class(x),target". > > I assume a VIEW_C

Re: [PATCH, FORTRAN] Fix PR fortran/60718

2014-04-11 Thread Tobias Burnus
Hi Bernd, Bernd Edlinger wrote: > It was caused by a strict aliasing violation, when passing a value of the type > "class(x),pointer" to a formal procedure parameter of the type > "class(x),target". I assume a VIEW_CONVERT_EXPR is directly on the argument is insufficient? Otherwise, I think I w