From: Steve Ellcey <sje@cup.hp.com>
To: gcc-patches@gcc.gnu.org, janis187@us.ibm.com
Subject: Patch to check for stdint.h in gfortran.dg/c_kind_params.f90
Date: Tue, 07 Aug 2007 20:55:00 -0000 [thread overview]
Message-ID: <200708072054.NAA25988@hpsje.cup.hp.com> (raw)
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
next reply other threads:[~2007-08-07 20:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-07 20:55 Steve Ellcey [this message]
2007-08-07 21:33 ` Janis Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200708072054.NAA25988@hpsje.cup.hp.com \
--to=sje@cup.hp.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=janis187@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).