public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jv244 at cam dot ac dot uk" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/38312] New: poor error message Date: Fri, 28 Nov 2008 20:59:00 -0000 [thread overview] Message-ID: <bug-38312-6642@http.gcc.gnu.org/bugzilla/> (raw) > cat test.f90 SUBROUTINE S1(t1,t2,c0,n) REAL :: t1(n,n),t2(n,n),c0(n,n) INTEGER :: i,j,k DO i=1,n DO j=1,n DO k=1,n co(i,j)=t1(i,k)*t2(j,k) ENDDO ENDDO ENDDO END SUBROUTINE S1 > gfortran test.f90 test.f90:7.29: co(i,j)=t1(i,k)*t2(j,k) 1 Error: Unexpected STATEMENT FUNCTION statement at (1) I couldn't agree more, but some users might get confused. Imagine you take your 'Fortran 90/95 for Scientists and Engineers' book to understand what the compiler really means. -- Summary: poor error message Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jv244 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38312
next reply other threads:[~2008-11-28 20:59 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-11-28 20:59 jv244 at cam dot ac dot uk [this message] 2008-11-28 21:12 ` [Bug fortran/38312] " dominiq at lps dot ens dot fr 2008-11-28 21:27 ` pinskia at gcc dot gnu dot org 2008-12-11 19:01 ` [Bug fortran/38312] Unexpected STATEMENT FUNCTION statement kargl at gcc dot gnu dot org 2008-12-11 19:03 ` kargl 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-38312-6642@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).