public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janis187 at us dot ibm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/13070] [3.3/3.4 regression] -Wformat option ignored in g++
Date: Wed, 10 Dec 2003 22:57:00 -0000	[thread overview]
Message-ID: <20031210225659.28248.qmail@sources.redhat.com> (raw)
In-Reply-To: <20031116123347.13070.debian-gcc@lists.debian.org>


------- Additional Comments From janis187 at us dot ibm dot com  2003-12-10 22:56 -------
The regression in PR 13070 was introduced or exposed with this patch
to both mainline and the 3.3-branch:

2003-03-17  Roger Sayle  <roger@eyesopen.com>

        * decl.c (duplicate_decls): Use the new type when prototyping
        anticipated decls, even when the types match.  This defines the
        exception list for the built-in function.

The regression hunt took place on i686-pc-linux-gnu using the following
testcase, modified to not require header files, with -Wformat:

extern "C" int printf (const char *, ...);
int main ()
{
  printf ("%d\n", 1, 1);
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roger at eyesopen dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13070


  parent reply	other threads:[~2003-12-10 22:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-16 12:33 [Bug c++/13070] New: [3.3 / 3.4 " debian-gcc at lists dot debian dot org
2003-11-16 15:19 ` [Bug c++/13070] [3.3/3.4 " pinskia at gcc dot gnu dot org
2003-11-19 16:12 ` pinskia at gcc dot gnu dot org
2003-12-10 22:57 ` janis187 at us dot ibm dot com [this message]
2003-12-21 21:30 ` pinskia at gcc dot gnu dot org
2003-12-24 22:07 ` gdr at gcc dot gnu dot org
2003-12-26 13:45 ` pinskia at gcc dot gnu dot org
2003-12-28 23:02 ` cvs-commit at gcc dot gnu dot org
2003-12-28 23:14 ` [Bug c++/13070] [3.3 " pinskia at gcc dot gnu dot org
2003-12-29  8:14 ` cvs-commit at gcc dot gnu dot org
2003-12-29  8:30 ` pinskia 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=20031210225659.28248.qmail@sources.redhat.com \
    --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: link
Be 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).