This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR ipa/68311
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: Martin LiÅka <mliska at suse dot cz>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 15 Nov 2015 22:27:37 +0100
- Subject: Re: [PATCH] Fix PR ipa/68311
- Authentication-results: sourceware.org; auth=none
- References: <5645D1B9 dot 3060706 at suse dot cz> <CAFiYyc1ayquCUDurt57SUje0j0f39yxyEOx7tO+g0LxgbVq-8g at mail dot gmail dot com> <CAKdteOaJ_QeH210ErusjdPaZ6s9_T88BJ94Ou60JDB_FK9XNog at mail dot gmail dot com> <564849F5 dot 6040305 at suse dot cz>
On 15 November 2015 at 10:01, Martin LiÅka <mliska@suse.cz> wrote:
> On 11/14/2015 09:33 AM, Christophe Lyon wrote:
>> On 13 November 2015 at 13:17, Richard Biener <richard.guenther@gmail.com> wrote:
>>> On Fri, Nov 13, 2015 at 1:04 PM, Martin LiÅka <mliska@suse.cz> wrote:
>>>> Hello.
>>>>
>>>> Following patch fixes PR68311, can regbootstrap on x86_64-linux-gnu.
>>>>
>>>> Ready for trunk?
>>>
>>> Please use
>>>
>>> auto_vec <congruence_class *, 2> newclasses;
>>>
>>> as it gets you a stack allocation. Also use quick_push as you know the vector
>>> is large enough.
>>>
>>> Ok with that changes.
>>>
>>> Richard.
>>>
>> Hi,
>>
>> This patch broke the GCC build for armeb in libgfortran:
>> /tmp/9046893_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libgfortran/generated/matmul_i4.c:
>> In function 'matmul_i4':
>> /tmp/9046893_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libgfortran/generated/matmul_i4.c:79:1:
>> internal compiler error: in vectorizable_load, at tree-vect-s
>> tmts.c:6711
>> matmul_i4 (gfc_array_i4 * const restrict retarray,
>> ^
>>
>> 0xcff5d2 vectorizable_load
>> /tmp/9046893_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-vect-stmts.c:6711
>> 0xd06955 vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*,
>> _slp_tree*, _slp_instance*)
>> /tmp/9046893_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-vect-stmts.c:8002
>> 0xd0ec21 vect_transform_loop(_loop_vec_info*)
>> /tmp/9046893_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-vect-loop.c:6793
>> 0xd317c9 vectorize_loops()
>> /tmp/9046893_7.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/gcc/tree-vectorizer.c:533
>> Please submit a full bug report,
>
> Hi Christophe.
>
> It looks really strange that the ICE is caused by the patch. May I ask you for creating a PR
> and attaching pre-processed source file, so that I can reproduce it with cross-compiler?
>
Well, the build succeded before this commit and started to fail at
r230311 (this commit).
I've created https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68367
Thanks
> Thank you,
> Martin
>
>>
>>
>>
>>>> Thanks,
>>>> Martin
>