This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 24 Feb 2017 12:58:13 +0000
- Subject: [Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622
- Auto-submitted: auto-generated
- References: <bug-79671-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
As there are two different comparisons, I've in the debugger tried to manually
optimize just one of them and not the other one (return 0 in gdb), and it seems
that it is the:
&tmp == _286
comparison that matters (when optimized into false, testcase aborts), the other
comparison doesn't matter.
tmp is indeed an automatic variable and _286 is this parameter + some constant
offset, so indeed fre3 is right to optimize that away.