This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31251] Non-integer character length leads to segfault
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2007 02:50:40 -0000
- Subject: [Bug fortran/31251] Non-integer character length leads to segfault
- References: <bug-31251-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from jvdelisle at gcc dot gnu dot org 2007-05-05 03:50 -------
Now I have tracked that we have a duplicate expr in the cl_list so that we call
resolve_char_len twice, as the list is traversed in resolve_types. A quick fix
is to bail out of the loop if resolve_char_len returns FAILURE. However, I
would like to know how we get the duplication in the first place and fix that.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31251