This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Oct 2017 14:58:31 +0000
- Subject: [Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results
- Auto-submitted: auto-generated
- References: <bug-82524-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82524
--- Comment #13 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #12)
> (In reply to Jakub Jelinek from comment #11)
> > Created attachment 42346 [details]
> > gcc8-pr82524.patch
>
> Actually, that doesn't work, we ICE on the match_dups. rtx_equal_p in the
> conditions works though and could be easily reverted (but the =Q to +Q kept)
> if LRA is taught to do this (if possible).
Yes, this approach is much less invasive. Perhaps a FIXME comment referring to
this PR should be added somewhere. I also expect that
gcc.target/i386/pr78904-?.c testcases will need to be XFAILed with your patch.