This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] |
thanks for the offer. i've attached a tarball with the source files. Chris On Thu, 22 Jun 2006, Janis Johnson wrote: > On Thu, Jun 22, 2006 at 11:51:03AM -0700, Steve Kargl wrote: > > On Wed, Jun 21, 2006 at 10:11:02AM -0600, Christopher D. Rickett wrote: > > > > > > the top few lines of the C file are: > > > > > > /* { dg-do compile } */ > > > /* { dg-options "-std=c99" } */ > > > > [snip] > > > the param_test is a Fortran routine, with bind(c), that i call from a C > > > main to test the pass-by-value of the above types. this works just fine, > > > outside of the testsuite. i copied this from my test dir, where it was > > > working just fine because gcc defaults to gnu99. > > > > I'm not too familiar the C side of the testsuite. I've > > CC's Janis who may have a suggestion. AFAICT, you have > > the right dg-* statements. > > Probably the dg-* directives are only processed when they are in the > primary source file, but of course it won't work for you to use the > options for the Fortran source file. Send me the test files and I'll > see if I can figure out a solution for you. > > Janis >
Attachment:
c_kinds.tar
Description: Unix tar archive
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |