public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: Dodji Seketeli <dodji@redhat.com>
Cc: "H.J. Lu" <hjl.tools@gmail.com>,
	       Richard Guenther <richard.guenther@gmail.com>,
	gcc-patches@gcc.gnu.org,        tromey@redhat.com,
	gdr@integrable-solutions.net,        joseph@codesourcery.com,
	burnus@net-b.de, charlet@act-europe.fr
Subject: Re: [PATCH 3/6] Emit macro expansion related diagnostics
Date: Tue, 18 Oct 2011 06:07:00 -0000	[thread overview]
Message-ID: <4E9CD95C.5070008@redhat.com> (raw)
In-Reply-To: <m3d3dvtfia.fsf@redhat.com>

On 10/17/2011 06:33 PM, Dodji Seketeli wrote:
> OK if this appears to fix the raised issues and passes bootstraps on the
> i686 target?

If you have a patch like this that fixes a major regression, go ahead 
and check it in without waiting for approval; we can adjust it as 
necessary after build is working again.

>   size_t num_expanded_macros;

> -  fprintf (stderr, "Number of expanded macros:                     %5lu\n",
> -           s.num_expanded_macros);
> +  fprintf (stderr, "Number of expanded macros:                     %5ld\n",
> +           (long)s.num_expanded_macros);

If we're going to use %l in printf, we should use long rather than 
size_t in linemap_stats; that way we don't need the cast.

Jason

  reply	other threads:[~2011-10-18  1:42 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17  9:58 [PATCH 0/6] Tracking locations of tokens resulting from macro expansion Dodji Seketeli
2011-10-17  9:58 ` [PATCH 3/6] Emit macro expansion related diagnostics Dodji Seketeli
2011-10-17 10:56   ` Richard Guenther
2011-10-17 12:22     ` Dodji Seketeli
2011-10-17 14:11       ` Dodji Seketeli
2011-10-17 17:41         ` H.J. Lu
2011-10-18  0:29           ` Dodji Seketeli
2011-10-18  6:07             ` Jason Merrill [this message]
2011-10-18  9:22               ` Dodji Seketeli
2011-10-17 10:08 ` [PATCH 4/6] Support -fdebug-cpp option Dodji Seketeli
2011-10-17 10:19 ` [PATCH 6/6] Reduce memory waste due to non-power-of-2 allocs Dodji Seketeli
2011-10-17 10:22 ` [PATCH 5/6] Add line map statistics to -fmem-report output Dodji Seketeli
2011-10-17 10:25 ` [PATCH 1/6] Linemap infrastructure for virtual locations Dodji Seketeli
2011-10-17 19:53   ` Gerald Pfeifer
2011-10-17 20:44     ` Dodji Seketeli
2011-10-18  7:24       ` Gerald Pfeifer
2011-10-18  9:44         ` Dodji Seketeli
2011-10-17 10:26 ` [PATCH 2/6] Generate virtual locations for tokens Dodji Seketeli
2011-10-19 14:48   ` Ulrich Weigand
2011-10-19 17:11     ` Dodji Seketeli
2011-10-19 20:42     ` Dodji Seketeli
  -- strict thread matches above, loose matches on Subject: below --
2011-10-18 15:25 [PATCH 3/6] Emit macro expansion related diagnostics David Edelsohn
2011-10-18 15:30 ` Joseph S. Myers
2011-10-18 15:37   ` Gabriel Dos Reis
2011-10-18 15:34 ` Jakub Jelinek
2011-10-18 16:56 ` Dodji Seketeli
2011-10-18 18:16   ` Dodji Seketeli
2010-12-10 11:27 [PATCH 0/6] Tracking locations of tokens resulting from macro expansion Dodji Seketeli
2010-12-10 11:27 ` [PATCH 3/6] Emit macro expansion related diagnostics Dodji Seketeli
2010-12-13 15:25   ` Paolo Bonzini
2010-12-13 15:38     ` Paolo Bonzini
2010-12-13 16:30     ` Manuel López-Ibáñez
2010-12-14  7:24     ` Dodji Seketeli
2010-12-14  7:28       ` Gabriel Dos Reis
2010-12-14  8:40         ` Dodji Seketeli
2010-12-14  9:38           ` Gabriel Dos Reis
2010-12-14  9:42             ` Dodji Seketeli
2010-12-14  9:48               ` Gabriel Dos Reis
2010-12-14  7:28     ` Dodji Seketeli
2010-12-14  8:19       ` Gabriel Dos Reis
2010-12-14  8:31         ` Paolo Bonzini
2010-12-14  9:23           ` Dodji Seketeli

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=4E9CD95C.5070008@redhat.com \
    --to=jason@redhat.com \
    --cc=burnus@net-b.de \
    --cc=charlet@act-europe.fr \
    --cc=dodji@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdr@integrable-solutions.net \
    --cc=hjl.tools@gmail.com \
    --cc=joseph@codesourcery.com \
    --cc=richard.guenther@gmail.com \
    --cc=tromey@redhat.com \
    /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).