[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] Re: [bug-gnulib] proposed patch to allocsa, vasnprintf
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS) |
Date: |
Wed, 11 Oct 2006 21:53:26 +0200 |
User-agent: |
KMail/1.9.1 |
Paul Eggert wrote:
> If you recompile with -D__CHAR_UNSIGNED__ those messages should go way.
Yes.
> > I'm attaching the non-optimized output. The optimized ('cc -O') output
> > is identical, plus these two errors:
> >
> > #error "Left shift of integers of type long long does not work!!"
>
> This error is more troublesome. Can you debug the program to find out
> exactly which values caused the problem? You can insert printf
> statements to see exactly which shift messed up. Possibly it is a
> compiler bug
This can be hard: if the bug goes away by inserting printf statements,
you can try to macroexpand the line
test_integer_sshift(longlong,"long long",longlong_bitsize);
in main4() by hand and then set breakpoints in a debugger.
It's most likely a compiler bug. The question is whether you prefer
to abandon -O or to abandon 'long long'...
Bruno
- Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), (continued)
- Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), mwoehlke, 2006/10/11
- Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Paul Eggert, 2006/10/11
- Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), mwoehlke, 2006/10/11
- Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Paul Eggert, 2006/10/11
- Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Bruno Haible, 2006/10/12
- Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Bruno Haible, 2006/10/17
- Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Matthew Woehlke, 2006/10/17
- Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Paul Eggert, 2006/10/17
- Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Matthew Woehlke, 2006/10/17
- Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Paul Eggert, 2006/10/17
- Re: [bug-gnulib] Re: [bug-gnulib] proposed patch to allocsa, vasnprintf for Tandem NSK (OSS),
Bruno Haible <=
Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), mwoehlke, 2006/10/11
Re: proposed patch to allocsa, vasnprintf for Tandem NSK (OSS), Paul Eggert, 2006/10/11