This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: null() pointer initialization
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Salvatore Filippone <sfilippone at uniroma2 dot it>
- Date: Mon, 31 Jan 2005 16:45:34 +0000
- Subject: Re: null() pointer initialization
- Organization: CodeSourcery
- References: <1107183150.31614.18.camel@localhost>
On Monday 31 January 2005 14:52, Salvatore Filippone wrote:
> Hi there,
> I have been chasing a bug for a coupple of days, and have found the
> following behaviour:
>
> integer, pointer :: itmp(:) ! =>null()
> ........
>
> itmp => b%ia1
> b%ia1 => b%ia2
> b%ia2 => itmp
Does -fno-strict-aliasing fix your problem? You may be hitting PR16898.
Paul