From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6362 invoked by alias); 5 Feb 2015 15:23:11 -0000 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 Received: (qmail 6306 invoked by uid 48); 5 Feb 2015 15:23:07 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64947] Internal compiler error: in gimplify_expr, at gimplify.c:8425 Date: Thu, 05 Feb 2015 15:23: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-Version: 4.9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus 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-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on cc everconfirmed cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg00471.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64947 Tobias Burnus changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2015-02-05 CC| |burnus at gcc dot gnu.org Ever confirmed|0 |1 Known to fail| |4.8.3, 4.9.0, 5.0 --- Comment #2 from Tobias Burnus --- If fails for: 8837 gcc_assert (!VOID_TYPE_P (TREE_TYPE (*expr_p))); which is: (gdb) p debug_tree(*expr_p) > arg 0 [...] arg 1 constant 0> foo.f90:40:0> The variable mentioned appears in the void * D.3415; D.3415 = (*strings)[0]; D.3417 = strnlen (*D.3415, 40); c_string (&pstr.1, MAX_EXPR <(integer(kind=4)) D.3417, 0>, D.3415); And the problem is that the TREE_TYPE (*expr_p) _is_ a void pointer.