This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: suspect assembly code for gcc 2.95.3 for ppc
- From: "Bob Boz" <gcc_compiler at yahoo dot ca>
- To: "Franz Sirl" <Franz dot Sirl-kernel at lauterbach dot com>, <gcc at gcc dot gnu dot org>
- Date: Mon, 15 Apr 2002 10:46:11 -0400
- Subject: 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