From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27012 invoked by alias); 25 Apr 2010 14:43:04 -0000 Received: (qmail 26963 invoked by uid 48); 25 Apr 2010 14:42:51 -0000 Date: Sun, 25 Apr 2010 14:43:00 -0000 Message-ID: <20100425144251.26962.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/42274] [fortran-dev Regression] ICE: segmentation fault In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "janus 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: 2010-04/txt/msg02641.txt.bz2 ------- Comment #18 from janus at gcc dot gnu dot org 2010-04-25 14:42 ------- Here is a maximally reduced version of comment #8 example 2, which still fails with the patch in comment #17: module m type :: t1 contains procedure :: make_integer generic :: extract => make_integer end type contains integer function make_integer (arg) class(t1), intent(in) :: arg make_integer = 3 end function end module use m class(t1), allocatable :: a allocate(a) print *, a%extract () end -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42274