[Bug fortran/31251] Non-integer character length leads to segfault
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 2 03:13:00 GMT 2007
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2007-05-02 04:13 -------
Created an attachment (id=13470)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13470&action=view)
Possible patch for this problem
The double error comes from trying to match_type_spec for a variable
declaration and then later for the prefix for a function declaration. It does
this even though there has clearly been a syntax error.
I am not able to reproduce a segfault. However, this patch eliminates the
double error message. Could someone verify that they still get a segfault
without this patch and then try with the patch to see what happens.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31251
More information about the Gcc-bugs
mailing list