public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: FTensor on cygwin - partial success
@ 2002-04-29 17:56 Billinghurst, David (CRTS)
  0 siblings, 0 replies; 4+ messages in thread
From: Billinghurst, David (CRTS) @ 2002-04-29 17:56 UTC (permalink / raw)
  To: Walter Landry; +Cc: gcc

FTensor works with g++ 3.1 on cygwin.  Previously I compiled the 
speed tests with 2.95.  Oops.

Thanks Walter.

-----Original Message-----
From: Walter Landry [mailto:wlandry@ucsd.edu]
Sent: Tuesday, 30 April 2002 5:24 
To: Billinghurst, David (CRTS)
Cc: gcc@gcc.gnu.org
Subject: Re: FTensor on cygwin - partial success


"Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com> wrote:
> Just built FTensor on cygwin with todays CVS gcc-3.1, as described in 
> http://gcc.gnu.org/gcc-3.1/testing-ftensor.html
> 
> The compiler conformance tests all pass but I get failures on the 
> performance tests.  Is anyone else seeing this?
> 
> For example:
> 
> cd tests/speed
> make little
> 
> g++ -ftemplate-depth-100 -Drestrict= -w -O3 -finline-functions -finline-limit-1000000 -ffast-math -fno-rtti -fno-exceptions    little.C   -o little
> little.C: In function `int main()':
> little.C:48: no match for call to `(FTensor::Tensor1<double,3>) (const FTensor::Index<'i',3> &)'
> ../../Tensor1/Tensor1_value.h:31: candidates are: double & FTensor::Tensor1<double,3>::operator ()(int)
> ../../Tensor1/Tensor1_value.h:43:                 double FTensor::Tensor1<double,3>::operator ()(int) const

That's wierd.  These errors look a lot like the errors I got when
trying to compile FTensor with gcc 2.95 or 3.0.  The stuff it does in
that file, little.C, should be equivalent to what is happening in
tests/conformance/test_T1.C.  Can you try compiling that file with the
same options?  If it takes too long or uses too much memory, you can
try commenting out everything past line 28 except for line 56.  It
should compile the same sort of things, although the tests will fail
when you run.

Thanks,
Walter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FTensor on cygwin - partial success
  2002-04-29  7:18 Billinghurst, David (CRTS)
  2002-04-29  9:22 ` Janis Johnson
@ 2002-04-29 12:27 ` Walter Landry
  1 sibling, 0 replies; 4+ messages in thread
From: Walter Landry @ 2002-04-29 12:27 UTC (permalink / raw)
  To: David.Billinghurst; +Cc: gcc

"Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com> wrote:
> Just built FTensor on cygwin with todays CVS gcc-3.1, as described in 
> http://gcc.gnu.org/gcc-3.1/testing-ftensor.html
> 
> The compiler conformance tests all pass but I get failures on the 
> performance tests.  Is anyone else seeing this?
> 
> For example:
> 
> cd tests/speed
> make little
> 
> g++ -ftemplate-depth-100 -Drestrict= -w -O3 -finline-functions -finline-limit-1000000 -ffast-math -fno-rtti -fno-exceptions    little.C   -o little
> little.C: In function `int main()':
> little.C:48: no match for call to `(FTensor::Tensor1<double,3>) (const FTensor::Index<'i',3> &)'
> ../../Tensor1/Tensor1_value.h:31: candidates are: double & FTensor::Tensor1<double,3>::operator ()(int)
> ../../Tensor1/Tensor1_value.h:43:                 double FTensor::Tensor1<double,3>::operator ()(int) const

That's wierd.  These errors look a lot like the errors I got when
trying to compile FTensor with gcc 2.95 or 3.0.  The stuff it does in
that file, little.C, should be equivalent to what is happening in
tests/conformance/test_T1.C.  Can you try compiling that file with the
same options?  If it takes too long or uses too much memory, you can
try commenting out everything past line 28 except for line 56.  It
should compile the same sort of things, although the tests will fail
when you run.

Thanks,
Walter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FTensor on cygwin - partial success
  2002-04-29  7:18 Billinghurst, David (CRTS)
@ 2002-04-29  9:22 ` Janis Johnson
  2002-04-29 12:27 ` Walter Landry
  1 sibling, 0 replies; 4+ messages in thread
From: Janis Johnson @ 2002-04-29  9:22 UTC (permalink / raw)
  To: Billinghurst, David (CRTS); +Cc: gcc, wlandry

On Tue, Apr 30, 2002 at 12:09:29AM +1000, Billinghurst, David (CRTS) wrote:
> Just built FTensor on cygwin with todays CVS gcc-3.1, as described in 
> http://gcc.gnu.org/gcc-3.1/testing-ftensor.html
> 
> The compiler conformance tests all pass but I get failures on the 
> performance tests.  Is anyone else seeing this?
> 
> For example:
> 
> cd tests/speed
> make little
> 
> g++ -ftemplate-depth-100 -Drestrict= -w -O3 -finline-functions -finline-limit-1000000 -ffast-math -fno-rtti -fno-exceptions    little.C   -o little
> little.C: In function `int main()':
> little.C:48: no match for call to `(FTensor::Tensor1<double,3>) (const FTensor::Index<'i',3> &)'
> ../../Tensor1/Tensor1_value.h:31: candidates are: double & FTensor::Tensor1<double,3>::operator ()(int)
> ../../Tensor1/Tensor1_value.h:43:                 double FTensor::Tensor1<double,3>::operator ()(int) const
> 
> and so on.
> 
> Happy to supply the test cases, but probably easier to grab to original and follow the instructions.

I just tried that on ia64-unknown-linux-gnu with a compiler built from
CVS as of ten hours ago and it worked fine.  Very odd.

Janis

^ permalink raw reply	[flat|nested] 4+ messages in thread

* FTensor on cygwin - partial success
@ 2002-04-29  7:18 Billinghurst, David (CRTS)
  2002-04-29  9:22 ` Janis Johnson
  2002-04-29 12:27 ` Walter Landry
  0 siblings, 2 replies; 4+ messages in thread
From: Billinghurst, David (CRTS) @ 2002-04-29  7:18 UTC (permalink / raw)
  To: gcc; +Cc: wlandry

Just built FTensor on cygwin with todays CVS gcc-3.1, as described in 
http://gcc.gnu.org/gcc-3.1/testing-ftensor.html

The compiler conformance tests all pass but I get failures on the 
performance tests.  Is anyone else seeing this?

For example:

cd tests/speed
make little

g++ -ftemplate-depth-100 -Drestrict= -w -O3 -finline-functions -finline-limit-1000000 -ffast-math -fno-rtti -fno-exceptions    little.C   -o little
little.C: In function `int main()':
little.C:48: no match for call to `(FTensor::Tensor1<double,3>) (const FTensor::Index<'i',3> &)'
../../Tensor1/Tensor1_value.h:31: candidates are: double & FTensor::Tensor1<double,3>::operator ()(int)
../../Tensor1/Tensor1_value.h:43:                 double FTensor::Tensor1<double,3>::operator ()(int) const

and so on.

Happy to supply the test cases, but probably easier to grab to original and follow the instructions.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-30  0:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-29 17:56 FTensor on cygwin - partial success Billinghurst, David (CRTS)
  -- strict thread matches above, loose matches on Subject: below --
2002-04-29  7:18 Billinghurst, David (CRTS)
2002-04-29  9:22 ` Janis Johnson
2002-04-29 12:27 ` Walter Landry

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).