From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10002 invoked by alias); 17 Mar 2013 15:25:04 -0000 Received: (qmail 9853 invoked by uid 48); 17 Mar 2013 15:24:44 -0000 From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/44735] ICE on FORALL with character array pointer Date: Sun, 17 Mar 2013 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Last reconfirmed Known to fail Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2013-03/txt/msg01249.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44735 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2010-07-01 06:21:38 |2013-03-17 15:00 Known to fail| |4.9.0 --- Comment #4 from Thomas Koenig 2013-03-17 15:24:44 UTC --- Still fails: ig25@linux-fd1f:~/Krempel/Forall> valgrind /home/ig25/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/f951 bug.f90 ==24599== Memcheck, a memory error detector ==24599== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==24599== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==24599== Command: /home/ig25/lib/gcc/x86_64-unknown-linux-gnu/4.9.0/f951 bug.f90 ==24599== bug==24599== Invalid read of size 2 ==24599== at 0x786F01: fold_convert_loc(unsigned int, tree_node*, tree_node*) (tree.h:3797) ==24599== by 0x5FE16F: allocate_temp_for_forall_nest_1(tree_node*, tree_node*, stmtblock_t*, tree_node**) (trans-stmt.c:3270) ==24599== by 0x5FEA47: gfc_trans_assign_need_temp(gfc_expr*, gfc_expr*, tree_node*, bool, forall_info*, stmtblock_t*) (trans-stmt.c:3391) ==24599== by 0x602DE0: gfc_trans_forall_1(gfc_code*, forall_info*) (trans-stmt.c:3868) ==24599== by 0x5A6847: trans_code(gfc_code*, tree_node*) (trans.c:1569) ==24599== by 0x5CD8AE: gfc_generate_function_code(gfc_namespace*) (trans-decl.c:5397) ==24599== by 0x565800: gfc_parse_file() (parse.c:4468) ==24599== by 0x5A20E5: gfc_be_parse_file() (f95-lang.c:189) ==24599== by 0x94D725: compile_file() (toplev.c:543) ==24599== by 0x94F5A9: toplev_main(int, char**) (toplev.c:1876) ==24599== by 0x5A38454: (below main) (in /lib64/libc-2.15.so) ==24599== Address 0x0 is not stack'd, malloc'd or (recently) free'd