[Top][All Lists]

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

Re: [bug #23996] arithmetic overflow when using -used

From: Andreas Schwab
Subject: Re: [bug #23996] arithmetic overflow when using -used
Date: Sun, 24 Aug 2008 09:47:30 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

"James Youngman" <address@hidden> writes:

> Yes, this is undefined behaviour in terms of the ISO C standard.  But
> if your comment accurately implies that there are actual systems
> on which this technique fails to work then we have a widespread
> problem;

That is correct, many people get that wrong.  Undefined behaviour means
that it is impossible to predict the result.

> including at least GNU tar

Then it needs to be fixed.

> and I think also gnulib and coreutils.

The authors of gnulib and coreutils are well aware of the problem.

> See in particular the Texinfo documentation for Autoconf.

Please expand.


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

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