This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/15032] New: [gfortran] gfc_conv_constant Assertion failure
- From: "Tobias dot Schlueter at physik dot uni-muenchen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Apr 2004 21:39:18 -0000
- Subject: [Bug fortran/15032] New: [gfortran] gfc_conv_constant Assertion failure
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
this subroutine:
SUBROUTINE a
INTEGER, TARGET :: N = 4
INTEGER, POINTER :: P => NULL()
P => N
END SUBROUTINE a
generates an assertion error:
[tobi@marktplatz src]$ gcc/build/gcc/f951 < t2.f90
Warning: Reading file as free form
.file "<stdin>"
a
f951: ../../gcc/gcc/fortran/trans-const.c:354: gfc_conv_constant: Assertion
`expr->expr_type == EXPR_CONSTANT' failed.
:1: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
[tobi@marktplatz src]$
--
Summary: [gfortran] gfc_conv_constant Assertion failure
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Tobias dot Schlueter at physik dot uni-muenchen dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15032