public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "anlauf at gmx dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/32689] New: [4.3 regression] with SIZE or TRANSFER Date: Mon, 09 Jul 2007 07:52:00 -0000 [thread overview] Message-ID: <bug-32689-6318@http.gcc.gnu.org/bugzilla/> (raw) Hi, the following snippet program gfcbug67 implicit none type mytype integer, pointer :: i(:) => NULL () end type mytype type(mytype) :: t print *, size (transfer (1, t% i)) end program gfcbug67 fails to compile with: gfcbug67.f90:9.17: print *, size (transfer (1, t% i)) 1 Error: 'array' argument of 'size' intrinsic at (1) must be an array Cheers, -ha -- Summary: [4.3 regression] with SIZE or TRANSFER Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anlauf at gmx dot de GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32689
next reply other threads:[~2007-07-09 7:52 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-07-09 7:52 anlauf at gmx dot de [this message] 2007-07-09 9:10 ` [Bug fortran/32689] [4.3 regression] TRANSFER returns scalar, even if MOLD is an array dfranke at gcc dot gnu dot org 2007-07-09 21:33 ` pault at gcc dot gnu dot org 2007-07-10 5:11 ` pault at gcc dot gnu dot org 2007-07-10 5:12 ` pault 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=bug-32689-6318@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).