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: [PATCH] tree-ssa-strlen improvements (PR tree-optimization/71625)


On 29 June 2016 at 15:20, Jakub Jelinek <jakub@redhat.com> wrote:
> On Wed, Jun 29, 2016 at 03:11:07PM +0200, Christophe Lyon wrote:
>> This causes GCC builds failures on arm-linux* targets, while building glibc:
>>
>> ns_print.c: In function 'ns_sprintrrf':
>> ns_print.c:94:1: internal compiler error: in get_stridx_plus_constant,
>> at tree-ssa-strlen.c:680
>>  ns_sprintrrf(const u_char *msg, size_t msglen,
>>  ^~~~~~~~~~~~
>> 0xcf1387 get_stridx_plus_constant
>>         /tmp/1440207_1.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-ssa-strlen.c:680
>> 0xcf15ba get_addr_stridx
>>         /tmp/1440207_1.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-ssa-strlen.c:197
>> 0xcf1776 get_stridx
>>         /tmp/1440207_1.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-ssa-strlen.c:250
>> 0xcf6448 handle_pointer_plus
>>         /tmp/1440207_1.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-ssa-strlen.c:2028
>> 0xcf6448 strlen_optimize_stmt
>>         /tmp/1440207_1.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-ssa-strlen.c:2297
>> 0xcf6fd9 strlen_dom_walker::before_dom_children(basic_block_def*)
>>         /tmp/1440207_1.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-ssa-strlen.c:2456
>> 0x115c27c dom_walker::walk(basic_block_def*)
>>         /tmp/1440207_1.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/domwalk.c:265
>> 0xcef80a execute
>>         /tmp/1440207_1.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-ssa-strlen.c:2528
>>
>>
>> I do not have a preprocessed file yet, I'll prepare one if you need.
>
> That would be greatly appreciated (plus command line options).
> Please file a PR and I'll handle it.  Thanks.
>

This is PR 71707.
Sorry for the delay.

Thanks,

Christophe


>         Jakub


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