This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping: PATCH RFA: Print backtrace on ICE


On Wed, Sep 26, 2012 at 8:32 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Sep 20, 2012 at 10:33 PM, Ian Lance Taylor <iant@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  <iant@google.com>

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

Attachment: foo.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]