[Bug fortran/38602] [regression 4.4] segfault - optional arguments, generics, interface problem, iso_varying_string ??
mikael at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 22 18:55:00 GMT 2008
------- Comment #6 from mikael at gcc dot gnu dot org 2008-12-22 18:54 -------
(In reply to comment #5)
Generated code:
get_unit_set_ch (struct varying_string * separator)
{
if (separator->chars.data != 0B)
{
__builtin_free (separator->chars.data);
}
separator->chars.data = 0B;
}
test_iso ()
{
static integer(kind=4) options.0[8] = {68, 255, 0, 0, 0, 1, 0, 1};
static void get_unit_set_ch (struct varying_string *);
_gfortran_set_options (8, (void *) &options.0);
get_unit_set_ch (0B);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38602
More information about the Gcc-bugs
mailing list