public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mikael dot morin at tele2 dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/37903] [4.3/4.4 Regression] wrong-code for complicated vector subscripts Date: Thu, 23 Oct 2008 21:28:00 -0000 [thread overview] Message-ID: <20081023212734.18579.qmail@sourceware.org> (raw) In-Reply-To: <bug-37903-14266@http.gcc.gnu.org/bugzilla/> [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 819 bytes --] ------- Comment #3 from mikael dot morin at tele2 dot fr 2008-10-23 21:27 ------- Quickfix (understand: not regression tested): Index: trans-array.c =================================================================== --- trans-array.c (révision 141321) +++ trans-array.c (copie de travail) @@ -3380,7 +3380,7 @@ { /* The frontend has worked out the size for us. */ loopspec[n] = ss; - continue; + break; } if (ss->type == GFC_SS_CONSTRUCTOR) This forces to use the array constructor's ss to setup the loop. As it is zero-based, the upper bounds has the proper value and the array has the proper size. I suspect this is only hiding the problem though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37903
next prev parent reply other threads:[~2008-10-23 21:28 UTC|newest] Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-23 18:49 [Bug fortran/37903] New: " mikael dot morin at tele2 dot fr 2008-10-23 20:13 ` [Bug fortran/37903] [4.3/4.4 Regression] " burnus at gcc dot gnu dot org 2008-10-23 20:31 ` dominiq at lps dot ens dot fr 2008-10-23 21:28 ` mikael dot morin at tele2 dot fr [this message] 2008-10-23 22:32 ` mikael dot morin at tele2 dot fr 2008-10-24 5:49 ` dominiq at lps dot ens dot fr 2008-10-24 11:34 ` rguenth at gcc dot gnu dot org 2008-10-25 21:05 ` jakub at gcc dot gnu dot org 2008-10-28 6:26 ` pault at gcc dot gnu dot org 2008-10-28 12:22 ` mikael dot morin at tele2 dot fr 2008-10-28 14:44 ` mikael dot morin at tele2 dot fr 2008-10-28 17:20 ` dominiq at lps dot ens dot fr 2008-10-28 18:28 ` mikael dot morin at tele2 dot fr 2008-10-28 18:44 ` mikael dot morin at tele2 dot fr 2008-10-28 18:47 ` domob at gcc dot gnu dot org 2008-10-30 11:08 ` pault at gcc dot gnu dot org 2008-10-30 20:50 ` pault at gcc dot gnu dot org 2008-11-01 19:48 ` pault at gcc dot gnu dot org 2008-11-01 19:48 ` 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=20081023212734.18579.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).