* Patch to check for stdint.h in gfortran.dg/c_kind_params.f90
@ 2007-08-07 20:55 Steve Ellcey
2007-08-07 21:33 ` Janis Johnson
0 siblings, 1 reply; 2+ messages in thread
From: Steve Ellcey @ 2007-08-07 20:55 UTC (permalink / raw)
To: gcc-patches, janis187
This patch stops the gfortran.dg/c_kind_params.f90 from running on
systems that don't have stdint.h. The test includes the C file
c_kinds.c and that file includes <stdint.h>, so if the system doesn't
have that header (and the int32_t and int64_t types), the test should
not be run.
Tested on HPPA HP-UX, IA64 HP-UX, and IA64 Linux. OK for checkin?
Steve Ellcey
sje@cup.hp.com
2007-08-07 Steve Ellcey <sje@cup.hp.com>
* gfortran.dg/c_kind_params.f90: Check for stdint.h.
Index: gfortran.dg/c_kind_params.f90
===================================================================
--- gfortran.dg/c_kind_params.f90 (revision 127265)
+++ gfortran.dg/c_kind_params.f90 (working copy)
@@ -1,4 +1,5 @@
! { dg-do run }
+! { dg-require-effective-target stdint_types }
! { dg-additional-sources c_kinds.c }
! { dg-options "-w -std=c99" }
! the -w option is needed to make f951 not report a warning for
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Patch to check for stdint.h in gfortran.dg/c_kind_params.f90
2007-08-07 20:55 Patch to check for stdint.h in gfortran.dg/c_kind_params.f90 Steve Ellcey
@ 2007-08-07 21:33 ` Janis Johnson
0 siblings, 0 replies; 2+ messages in thread
From: Janis Johnson @ 2007-08-07 21:33 UTC (permalink / raw)
To: sje; +Cc: gcc-patches
On Tue, 2007-08-07 at 13:54 -0700, Steve Ellcey wrote:
> This patch stops the gfortran.dg/c_kind_params.f90 from running on
> systems that don't have stdint.h. The test includes the C file
> c_kinds.c and that file includes <stdint.h>, so if the system doesn't
> have that header (and the int32_t and int64_t types), the test should
> not be run.
>
> Tested on HPPA HP-UX, IA64 HP-UX, and IA64 Linux. OK for checkin?
OK.
Janis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-07 21:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-07 20:55 Patch to check for stdint.h in gfortran.dg/c_kind_params.f90 Steve Ellcey
2007-08-07 21:33 ` Janis Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).