This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping: PATCH RFA: Print backtrace on ICE
"H.J. Lu" <hjl.tools@gmail.com> writes:
> 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]
> lineno);
> ^
... and sparc-sun-solaris2*.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University