[Bug fortran/29051] segfault when too few values are in data statement of character array
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 13 08:21:00 GMT 2006
------- Comment #4 from pault at gcc dot gnu dot org 2006-09-13 08:21 -------
Bud,
Quite by chance, I had noticed the cause of this a couple of days ago; if you
look at the Doxygen documentation for gfc_data, you will see that the only
reference to the locus field 'where' is in resolve.c(resolve_data), where the
error is emitted. I was mulling over where the locus was being set and why the
documentation might miss it, when I saw your PR and realised that it isn't set
at all!
An Occam's Razor moment.....
The patch is going to the list in a few minutes.
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2006-09-13 04:27:37 |2006-09-13 08:21:40
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29051
More information about the Gcc-bugs
mailing list