[Bug fortran/50070] Segmentation fault at size_binop_loc in fold-const.c
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Aug 14 12:25:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50070
--- Comment #5 from janus at gcc dot gnu.org 2011-08-14 12:07:55 UTC ---
(In reply to comment #2)
> ifort rejects the original test case with:
>
> error #6756: A COMMON block data object must not be an automatic object. [Z]
> common n,z
> -----------^
ifort's error message is apparently based on this restriction in the F08
standard:
"C5100 (R569) A common-block-object shall not be a dummy argument, a result
variable, an allocatable variable, a derived-type object with an ultimate
component that is allocatable, a procedure pointer, an automatic object, a
variable with the BIND attribute, an unlimited polymorphic pointer, or a
coarray."
This is what really makes the original test case invalid.
More information about the Gcc-bugs
mailing list