This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/71702] dr_group_sort_cmp violates transitivity required for qsort
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Jul 2016 08:19:49 +0000
- Subject: [Bug tree-optimization/71702] dr_group_sort_cmp violates transitivity required for qsort
- Auto-submitted: auto-generated
- References: <bug-71702-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71702
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Alexander Monakov from comment #3)
> On 6/trunk, this issue is fixed or made latent by r230667 that added
>
> + STRIP_NOPS (t1);
> + STRIP_NOPS (t2);
>
> to tree-vect-data-refs.c:compare_tree (patch submission here:
> https://gcc.gnu.org/ml/gcc-patches/2015-11/msg02444.html ).
> Should this change be backported to 4.9/5 now that an ICE is demonstrated?
Yes, backporting this change is fine.