This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/82524] [7/8 Regression] expensive-optimizations produces wrong results


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.

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