From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31244 invoked by alias); 24 May 2008 16:15:16 -0000 Received: (qmail 30732 invoked by uid 48); 24 May 2008 16:14:34 -0000 Date: Sat, 24 May 2008 16:15:00 -0000 Subject: [Bug fortran/36322] New: ICE with PROCEDURE using a complicated interface X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg01836.txt.bz2 Found at http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/ff7ae6c7a7860bca/60213205751117d4 The full program should be checked after fixing this problem. ==28722== Invalid read of size 4 ==28722== at 0x407597: gfc_is_compile_time_shape (array.c:2184) ==28722== by 0x46B11B: resolve_symbol (resolve.c:6811) ==28722== by 0x477326: traverse_ns (symbol.c:3014) ==28722== by 0x4659DF: resolve_types (resolve.c:9179) module other_fun use ISO_C_BINDING implicit none character, allocatable, save :: my_message(:) abstract interface function abstract_fun(x) use ISO_C_BINDING import my_message implicit none integer(C_INT) x(:) character(size(my_message),C_CHAR) abstract_fun(size(x)) end function abstract_fun end interface contains subroutine get_funloc(x) procedure(abstract_fun):: x end subroutine get_funloc end module other_fun -- Summary: ICE with PROCEDURE using a complicated interface Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36322