On Mon, 2007-08-06 at 13:16 -0700, Steve Ellcey wrote:
> > and the test runs on powerpc64-linux for both -m32 and -m64. Did
> > you have it in a different position? If so I'll try that and see
> > if I can figure out why it would be skipped. Also, which target
> > were you testing?
>
> I was testing on an IA64 Linux platform (Debian). I had this:
>
> ! { dg-do run }
> ! { dg-additional-sources c_kinds.c }
> ! { dg-options "-w -std=c99" }
> ! { dg-require-effective-target stdint_types }
> ! the -w option is needed to make f951 not report a warning for
> ! the -std=c99 option that the C file needs.
>
> Maybe I need to move the dg-require-effective-target up?
Yes. I tried it in the order your used, and the compile to check
for inttypes.h tried to also compile c_kinds.c, which wasn't
available from where the compile was done. In general it's best
to check effective targets before adding files or options, unless
the options are required for the effective-target check.
Janis