public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.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 [thread overview] Message-ID: <bug-64947-4-ohJv7aqD18@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-64947-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64947 Tobias Burnus <burnus at gcc dot gnu.org> 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 <burnus at gcc dot gnu.org> --- If fails for: 8837 gcc_assert (!VOID_TYPE_P (TREE_TYPE (*expr_p))); which is: (gdb) p debug_tree(*expr_p) <mem_ref 0x7ffff20f8ca8 type <void_type 0x7ffff1f4c000 void VOID align 8 symtab 0 alias set -1 canonical type 0x7ffff1f4c000 pointer_to_this <pointer_type 0x7ffff1f4c150>> arg 0 <var_decl 0x7ffff1f3cc60 D.3415 type <pointer_type 0x7ffff1f4c150 type <void_type 0x7ffff1f4c000 void> [...] arg 1 <integer_cst 0x7ffff1f31fd8 type <pointer_type 0x7ffff1f4c150> 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.
next prev parent reply other threads:[~2015-02-05 15:23 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-02-05 14:26 [Bug fortran/64947] New: " bugs at stellardeath dot org 2015-02-05 14:31 ` [Bug fortran/64947] " bugs at stellardeath dot org 2015-02-05 15:23 ` burnus at gcc dot gnu.org [this message] 2015-02-05 15:34 ` [Bug fortran/64947] ICE in gimplify_expr, at gimplify.c:8425 with arrays of type(C_PTR) burnus at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-64947-4-ohJv7aqD18@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).