public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "anlauf at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/114001] is_contiguous considers unlimited polymorphic dummy always as contiguous Date: Tue, 20 Feb 2024 21:10:10 +0000 [thread overview] Message-ID: <bug-114001-4-jaLziMfUv8@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-114001-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114001 anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code --- Comment #1 from anlauf at gcc dot gnu.org --- gfc_is_simply_contiguous has the following code: if (expr->ts.type != BT_CLASS && ((part_ref && !part_ref->u.c.component->attr.contiguous && part_ref->u.c.component->attr.pointer) || (!part_ref && !sym->attr.contiguous && (sym->attr.pointer || (sym->as && sym->as->type == AS_ASSUMED_RANK) || (sym->as && sym->as->type == AS_ASSUMED_SHAPE))))) return false; This obviously ignores the CLASS case.
next prev parent reply other threads:[~2024-02-20 21:10 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-19 20:17 [Bug fortran/114001] New: " anlauf at gcc dot gnu.org 2024-02-20 21:10 ` anlauf at gcc dot gnu.org [this message] 2024-03-12 22:13 ` [Bug fortran/114001] " anlauf at gcc dot gnu.org 2024-03-13 17:55 ` cvs-commit at gcc dot gnu.org 2024-03-19 19:21 ` cvs-commit at gcc dot gnu.org 2024-03-19 19:24 ` anlauf 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-114001-4-jaLziMfUv8@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).