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: suspect assembly code for gcc 2.95.3 for ppc


Franz,
>
> I can't reproduce your assembly on powerpc-linux-gnu with
> gcc-2.95.4, can you
> be more specific what your exact target triple is, which CPU your are
> compiling for and the output of gcc -v?

I get "powerpc-eabi-gcc" when I try gcc -v however the system is based on
qnx.

>
> If I have to guess, I would say you have old or corrupted
> stdarg.h/va-ppc.h
> include files in your include path.
>
> Franz.

Your guess was right on. I was using an include file that was suplanting
stuff in va-ppc.h (some typedefs and macros). After removing those I now get
assembler code that looks a lot better. This is assuming(and hoping) the
va-ppc.h could be used without any custom modifications for the specific
system we are using. I'll find that out soon though...

Thanks,
 -B


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