public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/31243] truncating strings longer than 2**32 characters Date: Sat, 16 May 2009 16:53:00 -0000 [thread overview] Message-ID: <20090516165319.2665.qmail@sourceware.org> (raw) In-Reply-To: <bug-31243-10391@http.gcc.gnu.org/bugzilla/> ------- Comment #10 from fxcoudert at gcc dot gnu dot org 2009-05-16 16:53 ------- Subject: Bug 31243 Author: fxcoudert Date: Sat May 16 16:53:02 2009 New Revision: 147619 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147619 Log: PR fortran/31243 * resolve.c (resolve_substring): Don't allow too large substring indexes. (gfc_resolve_substring_charlen): Fix typo. (gfc_resolve_character_operator): Fix typo. (resolve_charlen): Catch unreasonably large string lengths. * simplify.c (gfc_simplify_len): Don't error out on LEN range checks. * gcc/testsuite/gfortran.dg/string_1.f90: New test. * gcc/testsuite/gfortran.dg/string_2.f90: New test. * gcc/testsuite/gfortran.dg/string_3.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/string_1.f90 trunk/gcc/testsuite/gfortran.dg/string_2.f90 trunk/gcc/testsuite/gfortran.dg/string_3.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/resolve.c trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31243
next prev parent reply other threads:[~2009-05-16 16:53 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-17 14:51 [Bug fortran/31243] New: " tkoenig at gcc dot gnu dot org 2007-03-17 20:06 ` [Bug fortran/31243] " fxcoudert at gcc dot gnu dot org 2007-03-28 21:50 ` fxcoudert at gcc dot gnu dot org 2007-04-16 12:52 ` tobi at gcc dot gnu dot org 2007-05-28 16:13 ` fxcoudert at gcc dot gnu dot org 2007-12-25 23:32 ` tkoenig at gcc dot gnu dot org 2008-07-24 16:32 ` domob at gcc dot gnu dot org 2009-01-27 5:00 ` jvdelisle at gcc dot gnu dot org 2009-04-17 22:13 ` jb at gcc dot gnu dot org 2009-04-17 22:42 ` dominiq at lps dot ens dot fr 2009-04-18 22:07 ` jvdelisle at gcc dot gnu dot org 2009-05-16 16:15 ` fxcoudert at gcc dot gnu dot org 2009-05-16 16:53 ` fxcoudert at gcc dot gnu dot org [this message] 2009-05-16 17:01 ` [Bug fortran/31243] Detect " fxcoudert 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=20090516165319.2665.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).