compiling intrinsic_pack.f90 fails with the following error:
[EMAIL PROTECTED] libgfortran]$ ~/src/gcc/build-clean/gcc/f951
../gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_pack.f90
 MAIN__
 tests_with_temp

../gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_pack.f90: In
function 'MAIN__':
../gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_pack.f90:7: error:
address taken, but ADDRESSABLE bit not set
FRAME.117D.911

../gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_pack.f90:7: error:
address taken, but ADDRESSABLE bit not set
FRAME.117D.911

../gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_pack.f90:7: internal
compiler error: verify_stmts failed.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

The bug disappears if the call to the contained function is not commented out.

Andrew Pinski has already posted a patch for this:
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00404.html

-- 
           Summary: intrinsic_pack.f90
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, patch
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tobi at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17849

Reply via email to