public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/17192] Functions returning character pointer via argument are broken Date: Sun, 29 May 2005 16:03:00 -0000 [thread overview] Message-ID: <20050529160236.9381.qmail@sourceware.org> (raw) In-Reply-To: <20040825220057.17192.tobi@gcc.gnu.org> ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-29 16:02 ------- Subject: Bug 17192 CVSROOT: /cvs/gcc Module name: gcc Changes by: pault@gcc.gnu.org 2005-05-29 16:02:11 Modified files: gcc/fortran : trans-array.c trans-expr.c Log message: 2005-05-29 Paul Thomas <pault@gcc.gnu.org> PR fortran/16939 PR fortran/17192 PR fortran/17193 PR fortran/17202 PR fortran/18689 PR fortran/18890 PR fortran/21297 * fortran/trans-array.c (gfc_conv_resolve_dependencies): Add string length to temp_ss for character pointer array assignments. * fortran/trans-expr.c (gfc_conv_variable): Correct errors in dereferencing of characters and character pointers. * fortran/trans-expr.c (gfc_conv_function_call): Provide string length as return argument for various kinds of handling of return. Return a char[]* temporary for character pointer functions and dereference the temporary upon return. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-array.c.diff?cvsroot=gcc&r1=1.45&r2=1.46 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-expr.c.diff?cvsroot=gcc&r1=1.44&r2=1.45 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17192
next prev parent reply other threads:[~2005-05-29 16:03 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-08-25 22:01 [Bug fortran/17192] New: Functions returning " tobi at gcc dot gnu dot org 2004-08-25 22:10 ` [Bug fortran/17192] " tobi at gcc dot gnu dot org 2004-08-25 22:56 ` tobi at gcc dot gnu dot org 2004-08-25 22:59 ` tobi at gcc dot gnu dot org 2004-08-25 23:29 ` pinskia at gcc dot gnu dot org 2004-09-08 19:05 ` toon at moene dot indiv dot nluug dot nl 2005-05-11 8:11 ` [Bug fortran/17192] Functions returning character " fxcoudert at gcc dot gnu dot org 2005-05-29 16:03 ` cvs-commit at gcc dot gnu dot org [this message] 2005-06-05 8:59 ` cvs-commit at gcc dot gnu dot org 2005-06-05 22:43 ` pault at gcc dot gnu dot org 2005-06-05 22:44 ` pault at gcc dot gnu dot org 2005-06-05 22:49 ` pinskia 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=20050529160236.9381.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).