This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/43088] [avr] Suspect optimizer missed code in gcc 4.4.3..
- From: "abnikant dot singh at atmel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2010 05:58:44 -0000
- Subject: [Bug target/43088] [avr] Suspect optimizer missed code in gcc 4.4.3..
- References: <bug-43088-18792@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from abnikant dot singh at atmel dot com 2010-09-13 05:58 -------
This bug is confirmed. andhi3/andsi3 causing this problem. conditional checks
in andhi3 and andsi3 need to compare with zero instead of 0xff [etc].
i.e. in andhi3 we need to replace
(mask & 0x00ff) != 0xff by (mask & 0x00ff) != 0.
Similarly other checks in andhi3 and andsi3 need to be replaced.
--
abnikant dot singh at atmel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |abnikant dot singh at atmel
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43088