public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/39865] ICE in gfc_conv_scalarized_array_ref Date: Thu, 14 May 2009 00:01:00 -0000 [thread overview] Message-ID: <20090514000052.6567.qmail@sourceware.org> (raw) In-Reply-To: <bug-39865-87@http.gcc.gnu.org/bugzilla/> ------- Comment #12 from jakub at gcc dot gnu dot org 2009-05-14 00:00 ------- Subject: Bug 39865 Author: jakub Date: Thu May 14 00:00:27 2009 New Revision: 147507 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147507 Log: PR fortran/39865 * io.c (resolve_tag_format): CHARACTER array in FMT= argument isn't an extension. Reject non-CHARACTER array element of assumed shape or pointer or assumed size array. * trans-array.c (array_parameter_size): New function. (gfc_conv_array_parameter): Add size argument. Call array_parameter_size if it is non-NULL. * trans-array.h (gfc_conv_array_parameter): Adjust prototype. * trans-expr.c (gfc_conv_function_call, gfc_trans_arrayfunc_assign): Adjust callers. * trans-intrinsic.c (gfc_conv_intrinsic_loc): Likewise. * trans-io.c (gfc_convert_array_to_string): Rewritten. * gfortran.dg/pr39865.f90: New test. * gfortran.dg/hollerith.f90: Don't expect errors for CHARACTER arrays in FMT=. * gfortran.dg/hollerith_f95.f90: Likewise. * gfortran.dg/hollerith6.f90: New test. * gfortran.dg/hollerith7.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/hollerith6.f90 trunk/gcc/testsuite/gfortran.dg/hollerith7.f90 trunk/gcc/testsuite/gfortran.dg/pr39865.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/io.c trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-array.h trunk/gcc/fortran/trans-expr.c trunk/gcc/fortran/trans-intrinsic.c trunk/gcc/fortran/trans-io.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/hollerith.f90 trunk/gcc/testsuite/gfortran.dg/hollerith_f95.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39865
next prev parent reply other threads:[~2009-05-14 0:01 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-04-23 12:41 [Bug fortran/39865] New: " jakub at gcc dot gnu dot org 2009-04-23 12:47 ` [Bug fortran/39865] " jakub at gcc dot gnu dot org 2009-04-23 13:07 ` dominiq at lps dot ens dot fr 2009-04-23 13:18 ` jakub at gcc dot gnu dot org 2009-04-23 13:33 ` jakub at gcc dot gnu dot org 2009-04-23 13:50 ` jakub at gcc dot gnu dot org 2009-04-23 13:57 ` burnus at gcc dot gnu dot org 2009-04-23 14:19 ` jakub at gcc dot gnu dot org 2009-04-23 14:51 ` jakub at gcc dot gnu dot org 2009-04-23 17:34 ` burnus at gcc dot gnu dot org 2009-05-11 17:30 ` jakub at gcc dot gnu dot org 2009-05-12 13:20 ` jakub at gcc dot gnu dot org 2009-05-14 0:01 ` jakub at gcc dot gnu dot org [this message] 2009-05-14 6:46 ` jakub 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=20090514000052.6567.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).