public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/38883] [4.4 Regression] ICE for MVBITS with derived type argument that has run-time subscripts Date: Sun, 18 Jan 2009 19:16:00 -0000 [thread overview] Message-ID: <20090118191615.9481.qmail@sourceware.org> (raw) In-Reply-To: <bug-38883-15620@http.gcc.gnu.org/bugzilla/> ------- Comment #4 from burnus at gcc dot gnu dot org 2009-01-18 19:16 ------- Some more data: Using printf("Node: tmp = %s\n", tree_code_name[TREE_CODE (tmp)]); printf("Node: desc = %s\n", tree_code_name[TREE_CODE (gfc_get_element_type (TREE_TYPE (desc)))]); gcc_assert (tmp == gfc_get_element_type (TREE_TYPE (desc))); one sees: Node: tmp = record_type Node: desc = integer_type desc gets its type via "gfc_get_array_type_bounds()" in gfc_trans_create_temp_array. And then gfc_get_element_type (TREE_TYPE (desc)) And "tmp" via the following: if (fsym->attr.intent == INTENT_INOUT) initial = parmse.expr; else initial = NULL_TREE; in gfc_conv_elemental_dependencies which then in gfc_trans_allocate_array_storage gets accessed as: tmp = TREE_TYPE (initial); /* Pointer to descriptor. */ gcc_assert (TREE_CODE (tmp) == POINTER_TYPE); tmp = TREE_TYPE (tmp); /* The descriptor itself. */ tmp = gfc_get_element_type (tmp); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38883
next prev parent reply other threads:[~2009-01-18 19:16 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-01-16 20:47 [Bug fortran/38883] New: Internal Compiler Error " dick dot hendrickson at gmail dot com 2009-01-16 21:38 ` [Bug fortran/38883] [4.4 Regression] " burnus at gcc dot gnu dot org 2009-01-16 21:43 ` jakub at gcc dot gnu dot org 2009-01-16 21:47 ` mikael at gcc dot gnu dot org 2009-01-18 14:28 ` [Bug fortran/38883] [4.4 Regression] ICE " burnus at gcc dot gnu dot org 2009-01-18 19:16 ` burnus at gcc dot gnu dot org [this message] 2009-01-20 9:47 ` domob at gcc dot gnu dot org 2009-01-25 8:36 ` domob at gcc dot gnu dot org 2009-01-27 18:08 ` domob at gcc dot gnu dot org 2009-01-27 18:10 ` domob at gcc dot gnu dot org 2009-01-29 17:44 ` hjl at gcc dot gnu dot 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=20090118191615.9481.qmail@sourceware.org \ --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).