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]

Re: Building g++ 3.0 under AIX


David Edelsohn <dje@watson.ibm.com> writes:

> 	The only error is "crnot" where the GNU Assembler snapshot does
> not seem to recognize the standard PowerPC simplified mnemonic.

I believe this is actually a GCC bug because 'crnot' is not a POWER
mnemonic and GCC shouldn't be using it when generating POWER
mnemonics.  I keep meaning to fix this but haven't had the time.  GCC
should generate 'crnor' instead when generating POWER.

[It would be really good, if you have an AIX 3.x machine, to check
the part after 'I believe'.]

> 	The line number warnings are a bug in the GCC stabs output.  AIX
> assembler silently ignores the bogus debugging line numbers, but GAS gives
> warnings.  This clearly is a bug in GCC which should be fixed before the
> release. 

The underlying problem is that there's confusion as to when '.stabsl'
opcodes are absolute or relative line numbers.  I believe at least
once when I looked into it I decided that GAS was wrong and shouldn't
be warning.  Of course, this case may be different.

This only happens, of course, because GCC tries to output debugging
information while doing procedure inlining, which I believe the native
compilers don't try to do.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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