This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30399] testsuite failures in actual_array_constructor_2.f90 and actual_array_substr_2.f90
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2007 01:39:58 -0000
- Subject: [Bug fortran/30399] testsuite failures in actual_array_constructor_2.f90 and actual_array_substr_2.f90
- References: <bug-30399-578@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from ghazi at gcc dot gnu dot org 2007-01-07 01:39 -------
Here's the actual_array_substr_2.f90 error:
gfortran.dg/actual_array_substr_2.f90: In function 'foo':
gfortran.dg/actual_array_substr_2.f90:23: internal compiler error: in
gfc_conv_constant, at fortran/trans-const.c:375
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
FAIL: gfortran.dg/actual_array_substr_2.f90 -O0 (test for excess errors)
Running under gdb on sparc-sun-solaris2.10 using:
f951 actual_array_substr_2.f90 -quiet -dumpbase actual_array_substr_2.f90
-mcpu=v7 -auxbase actual_array_substr_2 -O0 -pedantic-errors -version -o
/var/tmp//ccdUFWze.s
This one also fails an assertion like so:
372 if (se->ss != NULL)
373 {
374 gcc_assert (se->ss != gfc_ss_terminator);
375 gcc_assert (se->ss->type == GFC_SS_SCALAR);
376 gcc_assert (se->ss->expr == expr);
377
The value of "se" is 0x24, which seems like a bogus value for a pointer.
These may be entirely different problems, should I open a separate PR?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30399