This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30783] "character(*), value" produces SEGV at runtime
- 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: 13 Feb 2007 09:54:27 -0000
- Subject: [Bug fortran/30783] "character(*), value" produces SEGV at runtime
- References: <bug-30783-13404@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-02-13 09:54 -------
Compiling the test with xlf gives:
"pr30783.f90", line 6.12: 1513-061 (S) Actual argument attributes do not match
those specified by an accessible explicit interface.
"pr30783.f90", line 11.14: 1516-181 (S) Objects of type CHARACTER with length
greater than 1, with run time length, or with assumed length must not be
declared with the VALUE attribute.
and with g95
Error: Character dummy variable 'a' at (1) with the VALUE attribute must have a
constant length
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30783