This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/54579] missed optimization: ASR idiom
- From: "miyuki at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 May 2016 20:56:05 +0000
- Subject: [Bug tree-optimization/54579] missed optimization: ASR idiom
- Auto-submitted: auto-generated
- References: <bug-54579-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54579
Mikhail Maltsev <miyuki at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |miyuki at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #3 from Mikhail Maltsev <miyuki at gcc dot gnu.org> ---
We already fold (-a - 1) into ~a, so the transformation for PR55299 should work
for this case too. I added the mentioned test case to
gcc/testsuite/gcc.dg/fold-notshift-1.c.