bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Re: Emacs 21.1 on HP-UX 10.20 behaves oddly]


From: Eli Zaretskii
Subject: Re: address@hidden: Re: Emacs 21.1 on HP-UX 10.20 behaves oddly]
Date: Mon, 4 Feb 2002 14:53:54 +0200 (IST)

On Mon, 4 Feb 2002, Esa A E Peuha wrote:

> Now I know what happens here: the cc of HP-UX miscompiles get_charset_id
> so that it always returns -1.  The solution is to rewrite
> 
>   return (a ? b : c);
> 
> as
> 
>   if(a)
>     return b;
>   else
>     return c;
> 
> which is compiled properly.

Thanks for looking into this.

Could you please tell what version of HP's cc is that?

Also, is this miscompilation something that's likely to happen in other 
cases of a?b:c operator, or is get_charset_id somehow special?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]