public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "kargl at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/30408] [gfortran, 4.3 regression]: ICE on valid with -Wall Date: Mon, 08 Jan 2007 18:55:00 -0000 [thread overview] Message-ID: <20070108185536.24964.qmail@sourceware.org> (raw) In-Reply-To: <bug-30408-2736@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from kargl at gcc dot gnu dot org 2007-01-08 18:55 ------- This is related to an undocumented warning flag. In options.c, gfortran sets several warnings to on. One of these is gfc_option.warn_character_truncation = 1; If I change this to 0, then your code with -Wall compiles. Fortunately, gfc_option.warn_character_truncation appears only in decl.c and resolve.c, and occurs exactly once in both files. A few things need to occur: 1) Add a -W[no-]character-truncation option. 2) Document the option. 3) Fix Martin's bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30408
next prev parent reply other threads:[~2007-01-08 18:55 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-01-08 13:08 [Bug fortran/30408] New: " martin at mpa-garching dot mpg dot de 2007-01-08 13:27 ` [Bug fortran/30408] " burnus at gcc dot gnu dot org 2007-01-08 17:42 ` kargl at gcc dot gnu dot org 2007-01-08 18:55 ` kargl at gcc dot gnu dot org [this message] 2007-01-09 6:10 ` jvdelisle at gcc dot gnu dot org 2007-01-10 4:35 ` jvdelisle at gcc dot gnu dot org 2007-01-10 4:37 ` jvdelisle at gcc dot gnu dot org 2007-01-10 19:21 ` pinskia at gcc dot gnu dot org 2007-01-14 14:50 ` 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=20070108185536.24964.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).