[Bug c++/35836] Wrong instruction generated for comparison with zero on PPC 64 bit

oder at eleks dot lviv dot ua gcc-bugzilla@gcc.gnu.org
Wed May 21 15:40:00 GMT 2008

------- Comment #9 from oder at eleks dot lviv dot ua  2008-05-21 15:39 -------
Created an attachment (id=15666)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15666&action=view)
Sources without Mac headers

So, I had some free time an enthusiasm to modify the example and remove Apple
headers from it. Now it is OS independent. Please remember that the bug seems
to be ppc64-specific (or at least *64-specific) at first glance though.

Note: It is OK that function returns int64 while its caller expects int32. It
should not affect the result of the test but helps to demonstrate the bug.


oder at eleks dot lviv dot ua changed:

           What    |Removed                     |Added
  Attachment #15438|0                           |1
        is obsolete|                            |


More information about the Gcc-bugs mailing list