[PING**2] [PATCH, FORTRAN] Fix PR fortran/60718

2014-06-02 Thread Bernd Edlinger
Hello, Ping**2... this is patch still pending: see https://gcc.gnu.org/ml/gcc-patches/2014-04/msg00774.html for the latest version. Thanks, Bernd. > Date: Wed, 30 Apr 2014 15:17:51 +0200 > > Ping... > >> Date: Tue, 15 Apr 2014 13:49:37 +0200 >> >> Hi Tobias, >> >> On Fri, 11 Apr 2014 16:04:51

[PING] [PATCH, FORTRAN] Fix PR fortran/60718

2014-04-30 Thread Bernd Edlinger
Ping... > Date: Tue, 15 Apr 2014 13:49:37 +0200 > > 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

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

[PATCH, FORTRAN] Fix PR fortran/60718

2014-04-10 Thread Bernd Edlinger
Hi, this patch fixes the last failed fortran test case on arm-linux-gnueabihf: select_type_4.f90, which did always fail at -O2 and above. 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