[Bug fortran/27478] getting ": error: invalid operand to binary operator"
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jun 4 21:03:00 GMT 2006
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2006-06-04 20:58 -------
I'm amazed that 27889 is a duplicate of this bug, although I agree that they
have similar error messages. They happen in very different (and specific
circumstances). FYI, the testcases from 27889 are:
[on 4.1 at -O1 and higher]
MODULE constraints_module
REAL target
CONTAINS
SUBROUTINE init_constraint
COMPLEX struc_fac
CALL set_structure_factor
RETURN
CONTAINS
SUBROUTINE set_structure_factor
target = CONJG( struc_fac ) * struc_fac
END SUBROUTINE set_structure_factor
END SUBROUTINE init_constraint
END MODULE constraints_module
[on 4.2 at any optimization level]
COMPLEX z
CONTAINS
SUBROUTINE foo
z = z + z
END SUBROUTINE foo
END
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27478
More information about the Gcc-bugs
mailing list