[Bug fortran/31427] TRANSFER with mold kind /= lval kind: ICE on ia64, i686; no warning
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 5 10:17:00 GMT 2007
------- Comment #9 from fxcoudert at gcc dot gnu dot org 2007-04-05 11:17 -------
The segfault happens because we come into gfc_int2int to convert the value from
TRANSFER into the integer(kind=1). But TRANSFER isn't simplified at this point,
although it should have been, which leads to referencing memory that is not
defined. This will be fixed when the gfc_simplify_transfer() function is
implemented (Paul T. and Tobias B. are working on it).
Admittedly, we should have an assert() in place to prevent this kind of
segfault (and have a clean ICE instead).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31427
More information about the Gcc-bugs
mailing list