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: 20 Sep 2010 04:24:41 -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 #3 from abnikant dot singh at atmel dot com 2010-09-20 04:24 -------
(In reply to comment #2)
> (In reply to comment #1)
> > 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,
>
> Is this bug confirmed for the reported version (4.4.3), or for trunk/4.6?
>
It exits for the reported version (4.4.3) and as well as for trunk/4.6.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43088