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: Hack in gcc/c-decl.c?


Mike Stump <mrs@apple.com> writes:

| On Dec 29, 2005, at 1:25 PM, Gabriel Dos Reis wrote:
| > I was actually referring to this case
| 
| This is well defined, save for possibly the fact that 4 is written as
| 4 and not offsetof () and uncontested.
| 
| The case I think you're thinking of was upcasting;  - offsetof().  It
| was decided.  The decision was that upcasting is allowed.


I finally played with Google and found a link to the GCC resolution of
the issue 

     http://gcc.gnu.org/ml/gcc/2005-05/msg00537.html

(I don't know what happens to the respective C and C++ committee DRs.)

I guess, that still leaves open the question of bootstrapping GCC with
a compiler that does something else.

And apologies to Mark for having represented exactly the opposite of
this position.

-- Gaby


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