| To: | pro64-support@xxxxxxxxxxx, goodwin@xxxxxxxxxxxxx |
|---|---|
| Subject: | Re: front-end bug? |
| From: | lesniak@xxxxxxxxxxxxxxxxxxxxx (Ken Lesniak) |
| Date: | Mon, 23 Oct 2000 15:25:38 -0400 (EDT) |
| Cc: | goodwin@xxxxxxxxxxxxx |
| Reply-to: | lesniak@xxxxxxxxxxxxxxxxxxxxx |
| Sender: | owner-pro64-support@xxxxxxxxxxx |
>Using the latest pro64 compiler (in nue). This function produces the
>included whirl. The front-end incorrectly determines the condition is
>always false...
>
>
>#include <stdio.h>
>
>void mask (int x, int y)
>{
> if (((x << 3) & 64) == 1)
> fprintf(stderr, "n12\n");
>}
Are you sure your test case is right? Unless I'm misreading, which
is entirely possible, the AND operation will produce either 0 or 64.
Neither of which is ever equal to 1.
Ken
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: front-end bug?, Ross A. Towle |
|---|---|
| Next by Date: | Re: front-end bug?, David Goodwin |
| Previous by Thread: | Re: front-end bug?, David Goodwin |
| Next by Thread: | Looking for documentation about SGI Pro64, 楊書銘 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |