This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: signed is undefined and has been since 1992 (in GCC)


Andrew Pinski <pinskia@physics.uc.edu> writes:

| On Jun 28, 2005, at 3:10 PM, Olivier Galibert wrote:
| 
| >
| >>   Well, I don't utterly _anything_ about either his position or
| >> yours.  C is
| >> not just a high level assembler, it has complex and abstract semantics
| >> imposed on that;
| >
| > Yes.  But C is _also_ a high level assembler, and ignoring that is
| > foolish.
| 
| No it is not. It was when it was designed yes but since the C standard
| has
| come out and the aliasing rules really show that it is not a high level
| assembler language any more.

The strict aliasing rule by itself does not show it is not a high level
assembly language.  There are chips out there where you cannot access
data willy-nilly through random register types.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]