From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12727 invoked by alias); 25 Jun 2010 11:29:14 -0000 Received: (qmail 12512 invoked by uid 48); 25 Jun 2010 11:29:03 -0000 Date: Fri, 25 Jun 2010 11:29:00 -0000 Message-ID: <20100625112903.12511.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/44662] unitialized memory on testcases abstract_type_6.f03 and typebound_call_4.f03 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikael 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-06/txt/msg02452.txt.bz2 ------- Comment #2 from mikael at gcc dot gnu dot org 2010-06-25 11:29 ------- (In reply to comment #1) > It is fixed by the patch at: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43829#c13 > relevant hunk: diff --git a/decl.c b/decl.c index aa7a266..840c32c 100644 --- a/decl.c +++ b/decl.c @@ -7622,8 +7630,8 @@ match_procedure_in_type (void) } /* Construct the data structure. */ + memset (&tb, 0, sizeof (tb)); tb.where = gfc_current_locus; - tb.is_generic = 0; /* Match binding attributes. */ m = match_binding_attributes (&tb, false, false); -- mikael at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44662