c/9164: Improper code generation on Alpha processors.
rf358197@ohiou.edu
rf358197@ohiou.edu
Fri Jan 3 23:16:00 GMT 2003
>Number: 9164
>Category: c
>Synopsis: Improper code generation on Alpha processors.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 03 15:16:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: rf358197@ohiou.edu
>Release: unknown-1.0
>Organization:
>Environment:
DEC Alpha - linux 2.4
>Description:
There is a problem with the compiler on the Alpha platform when doing comparisons between variables of different types long and int. This bug was discovered through mozilla's bug database and I am not sure if anyone from the GCC camp knows about it?
>How-To-Repeat:
Compile the test program and see the two comparisons which should give the same result give different results but only on an Alpha platform.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test1.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test1.c"
I2RlZmluZSBJTlRfTUFYMSAoKChsb25nKTEgPDwgKDMwKSktMSkKI2RlZmluZSBJTlRfTUFYMiAo
MTA3Mzc0MTgyNC0xKQoKaW50IG1haW4oKQp7CglpbnQgaSA9IDEwNzM3NDE4MjU7Cglsb25nIGog
PSAxMDczNzQxODIzOwogICAKCXByaW50ZiAoIiVsZCAlbGRcbiIsIElOVF9NQVgxLCBJTlRfTUFY
Mik7CglwcmludGYgKCIleCAleFxuIiwgaSwgaik7CglwcmludGYgKCIleCAleFxuIiwgKHVuc2ln
bmVkIGludCkoKGkpK2opLCAyICogaik7CiAgIAoJaWYgKCh1bnNpZ25lZCBpbnQpKChpKStqKSA8
PSAyICogSU5UX01BWDEpIAoJCXByaW50ZiAoImRvaDFcbiIpOwoJaWYgKCh1bnNpZ25lZCBpbnQp
KChpKStqKSA8PSAyICogSU5UX01BWDIpCgkJcHJpbnRmICgiZG9oMlxuIik7CgkKCWV4aXQoMSk7
Cn0KCi8vIG91dHB1dCBvbiBBbHBoYS9MaW51eC9nY2M6Ci8vCi8vIDEwNzM3NDE4MjMgMTA3Mzc0
MTgyMwovLyA0MDAwMDAwMSAzZmZmZmZmZgovLyA4MDAwMDAwMCA3ZmZmZmZmZQovLyBkb2gxCgo=
More information about the Gcc-bugs
mailing list