public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/30473] [4.0/4.1/4.2/4.3 Regression] Internal Compiler Error with a sprintf with few arguments for format %s
Date: Fri, 02 Feb 2007 15:23:00 -0000	[thread overview]
Message-ID: <20070202152306.17942.qmail@sourceware.org> (raw)
In-Reply-To: <bug-30473-13892@http.gcc.gnu.org/bugzilla/>



------- Comment #5 from jakub at gcc dot gnu dot org  2007-02-02 15:23 -------
Subject: Bug 30473

Author: jakub
Date: Fri Feb  2 15:22:50 2007
New Revision: 121503

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121503
Log:
        PR middle-end/30473
        * builtins.c (fold_builtin_sprintf): Do not attempt to optimize
        sprintf (str, "%s").  Do not optimize sprintf (str, "nopercent", p++).

        * gcc.dg/pr30473.c: New test.
        * gcc.c-torture/execute/20070201-1.c: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/20070201-1.c
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr30473.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/builtins.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2007-02-02 15:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-15 17:53 [Bug c/30473] New: " avg07 at tid dot es
2007-01-15 19:26 ` [Bug middle-end/30473] [4.0/4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
2007-01-17  7:23 ` avg07 at tid dot es
2007-02-01 13:37 ` jakub at gcc dot gnu dot org
2007-02-02 12:21 ` jakub at gcc dot gnu dot org
2007-02-02 15:23 ` jakub at gcc dot gnu dot org [this message]
2007-02-03 21:26 ` gdr at gcc dot gnu dot org
2007-02-03 21:27 ` pinskia at gcc dot gnu dot org
2007-02-05  5:54 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:03 ` [Bug middle-end/30473] [4.1 " mmitchel at gcc dot gnu dot org
2007-02-14 20:34 ` jakub at gcc dot gnu dot org
2007-02-27 16:27 ` jakub at gcc dot gnu dot org
2007-04-03 16:38 ` 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=20070202152306.17942.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: 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).