------- Comment #26 from zsojka at seznam dot cz  2010-05-03 15:02 -------
Created an attachment (id=20547)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20547&action=view)
next testcase

Reduced from libstdc++-v3/testsuite/23_containers/bitset/operations/1.cc

I am happy those testcases helped with gcc development, and I hope this one
will too.

Command line:
$ g++ -O[123] -fipa-pta pr43879-4_1.C pr43879-4_2.C && ./a.out
Aborted

For some reason, b1.i is expected to be zero:
(diff from asm output for a bit different testcase)
101c98
<       cmp     QWORD PTR [rsp+48], rbx # b2.i, b1$i
---
>       cmp     QWORD PTR [rsp+48], 0   # b2.i,


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43879

Reply via email to