This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/31240] gfortran.dg/pointer_intent_1.f90 failure at -O0
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2007 22:28:38 -0000
- Subject: [Bug testsuite/31240] gfortran.dg/pointer_intent_1.f90 failure at -O0
- References: <bug-31240-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dominiq at lps dot ens dot fr 2007-03-24 22:28 -------
xlf yields a bus error without optimization and -O, and abort with -O3.
g95 gives the following errors:
In file pointer_intent_1.f90:39
nullify(t%point)
1
Error: Cannot NULLIFY the INTENT(IN) pointer 't' at (1)
In file pointer_intent_1.f90:42
deallocate(t%point)
1
Error: Cannot DEALLOCATE INTENT(IN) dummy variable 't' at (1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31240