On Wed, Sep 26, 2012 at 8:32 AM, H.J. Lu <hjl.to...@gmail.com> wrote:
> On Thu, Sep 20, 2012 at 10:33 PM, Ian Lance Taylor <i...@google.com> wrote:
>> Ping.
>>
>> The patch is the same, so I didn't attach it again.  It may be found
>> at http://gcc.gnu.org/ml/gcc-patches/2012-09/msg01174.html . I think
>> I've replied to all comments.
>>
>
> It breaks Linux/i686 build:
>
> ../../src-trunk/gcc/diagnostic.c: In function 'int bt_callback(void*,
> uintptr_t, const char*, int, const char*)':
> ../../src-trunk/gcc/diagnostic.c:370:11: error: format '%lx' expects
> argument of type 'long unsigned int', but argument 3 has type
> 'uintptr_t {aka unsigned int}' [-Werror=format]

Sorry about that.  Fixed like so.  Committed to mainline.

Ian


2012-09-26  Ian Lance Taylor  <i...@google.com>

        * diagnostic.c (bt_callback): Cast pc when calling fprintf.

Attachment: foo.patch
Description: Binary data

Reply via email to