This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/15032] New: [gfortran] gfc_conv_constant Assertion failure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]