public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mikael at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/13615] -Wuninitialized produces wrong error message for characters Date: Sun, 25 Aug 2013 13:58:00 -0000 [thread overview] Message-ID: <bug-13615-4-oqnHvrnjnF@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-13615-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13615 Mikael Morin <mikael at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED CC| |mikael at gcc dot gnu.org Resolution|--- |FIXED --- Comment #13 from Mikael Morin <mikael at gcc dot gnu.org> --- gfortran outputs with the original testcase: $ gfortran comment_0.f -O -Wall comment_0.f: In function 'warn_integer': comment_0.f:17:0: warning: 'a' is used uninitialized in this function [-Wuninitialized] comment_0.f: In function 'warn_character': comment_0.f:31:0: warning: 'c[1]{lb: 1 sz: 1}' is used uninitialized in this function [-Wuninitialized] -Wall is necessary to trigger the warning, but now 'c' is correctly diagnosed as unitialized. Closing as FIXED.
next prev parent reply other threads:[~2013-08-25 13:58 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-13615-4@http.gcc.gnu.org/bugzilla/> 2013-06-22 14:01 ` dominiq at lps dot ens.fr 2013-06-22 14:43 ` manu at gcc dot gnu.org 2013-08-25 13:58 ` mikael at gcc dot gnu.org [this message] [not found] <bug-13615-6709@http.gcc.gnu.org/bugzilla/> 2006-09-25 12:31 ` fxcoudert at gcc dot gnu dot org 2007-11-21 18:59 ` fxcoudert at gcc dot gnu dot org 2008-08-18 16:55 ` manu at gcc dot gnu dot org 2009-04-10 21:53 ` dfranke 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-13615-4-oqnHvrnjnF@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).