[Bug libstdc++/16611] Terrible code generated for vector<bool>
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Sun Aug 6 14:48:00 GMT 2006
------- Comment #12 from pcarlini at suse dot de 2006-08-06 14:47 -------
Now I get:
00000000 <_Z1fRKSt6vectorIbSaIbEEj>:
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 8b 45 08 mov 0x8(%ebp),%eax
6: 8b 4d 0c mov 0xc(%ebp),%ecx
9: 53 push %ebx
a: 8b 10 mov (%eax),%edx
c: b8 01 00 00 00 mov $0x1,%eax
11: 89 cb mov %ecx,%ebx
13: 83 e1 1f and $0x1f,%ecx
16: c1 eb 05 shr $0x5,%ebx
19: d3 e0 shl %cl,%eax
1b: 85 04 9a test %eax,(%edx,%ebx,4)
1e: 5b pop %ebx
1f: 5d pop %ebp
20: 0f 95 c0 setne %al
23: 0f b6 c0 movzbl %al,%eax
26: c3 ret
I guess we can close the library issue.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16611
More information about the Gcc-bugs
mailing list