[Bug fortran/36463] [4.4 regression] gfc_get_default_type(): Bad symbol
mikael at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 18 13:24:00 GMT 2008
------- Comment #17 from mikael at gcc dot gnu dot org 2008-11-18 13:23 -------
(In reply to comment #16)
> Btw it also makes comment #12 compile, while the resulting executable produces
> a segfault. But I guess this is due to the weird things which this program
> does(?).
Not really.
The problems comes from the assignment to my_message, which is allocatable and
should be (implicitly) reallocated. This is PR35810.
Allocating my_message separately fixes the segfault, but I still get a valgrind
error. :-(
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36463
More information about the Gcc-bugs
mailing list