This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28940] [4.0/4.1/4.2 Regression] address selection does not work correctly
- From: "paolo dot bonzini at lu dot unisi dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2006 13:05:01 -0000
- Subject: [Bug c/28940] [4.0/4.1/4.2 Regression] address selection does not work correctly
- References: <bug-28940-10833@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from paolo dot bonzini at lu dot unisi dot ch 2006-10-11 13:05 -------
Subject: Re: [4.0/4.1/4.2 Regression] address selection does
not work correctly
> movl 8(%ebp), %edx
> addl $1, %edx
> movsbl b(%edx),%eax
> movsbl a(%edx),%edx
>
No, the good behavior has "b+1(%edx)" and "a+1(%edx)" (for non-PIC code).
Paolo
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28940