This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16404] should reject invalid code with -pedantic -std=f95 ? (x8)
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2004 07:53:01 -0000
- Subject: [Bug fortran/16404] should reject invalid code with -pedantic -std=f95 ? (x8)
- References: <20040707093303.16404.jv244@cam.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jv244 at cam dot ac dot uk 2004-07-14 07:52 -------
(In reply to comment #8)
> Even your compiler's error message could be helpful in that regard.
I don't have the standard reference, but in case 8 the problem is IO of a
derived type that has a POINTER component. E.g. g95:
In file mytest.f90:6
write(6,*) A
1
Error: Data transfer element at (1) cannot have POINTER components
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16404