This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: signed is undefined and has been since 1992 (in GCC)
Olivier Galibert <galibert@pobox.com> writes:
| On Tue, Jun 28, 2005 at 08:57:20AM -0400, Robert Dewar wrote:
| > But the whole idea of hardware semantics is bogus, since you are
| > assuming some connection between C and the hardware which does not
| > exist. C is not an assembly language.
|
| A non-negligible part of the use of C and even C++ is as a high-level,
| somewhat portable assembly language. Ignoring that part is not a very
| good idea.
Especially given that we do compile C and C++ programs based on the
published processor specific ABIs, and pretending that there is no
connection between C or C++ and hardware semantics is, ahem, not a
very good idea.
-- Gaby