This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Regression with parameter_array_init_3.f90
On Wed, Jan 09, 2008 at 07:29:03AM +0100, Paul Thomas wrote:
>
> Why it is segfaulting for you, I have no idea. :-(
>
> I'll try to figure it out from your backtrace.
>
Sigh. I spent too much time on this today :(
The segfault is occurring in find_array_element() of expr.c.
This function is called 3 times. The first 2 return because
e->expr_type in line 1023 is not constant. The third trip into
this function I get the segfault. AFAICT, something is
messed up with the ar structure. Unfortunately, I can't
use gdb to trace into this function (it appears to be inlined).
If I try to set a break point on find_array_element, gdb tells
me that symbol does not exist!
--
Steve