This is the mail archive of the gcc-bugs@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]

Re: G++ reuses assembly labels


The current mainline (which will become 3.0 or 2.96) complains:

/var/tmp/M/extra/src/c-client/mail.h:705: parse error before `or'
/var/tmp/M/extra/src/c-client/mail.h:706: parse error before `not'

because 'or' and 'not' are reserved words in C++.

Once I changed them to x_or and x_not, everything went fine, but I
don't know if the problem is actually fixed because the code generated
is significantly different.  It might be helpful for you to try the
CVS mainline on the whole package to see if it works (after fixing the
'or' and 'not' problem).

The problem did appear with my stock 2.95.2 install.

The problem seems to be related to output of thunks for multiple
inheritance.
-- 
- Geoffrey Keating <geoffk@cygnus.com>

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