|
From: | eross |
Subject: | Re: [paragui-users] reference-counter test |
Date: | Sat, 11 May 2002 02:32:22 -0400 |
User-agent: | Internet Messaging Program (IMP) 3.0 |
Here's my report: lte10:~$ g++ -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) lte10:~$ time g++ -o test reftest.cpp real 0m0.687s user 0m0.640s sys 0m0.040s lte10:~$ ./test Reference Count: (should be 3) 3 Here's the address of the pointee: 0x804ccf8 How many refs? (should be 1) 1 lte10:~$ g++3 -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.4/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib Thread model: posix gcc version 3.0.4 (Red Hat Linux 7.2 3.0.4-1) lte10:~$ time g++3 -o test reftest.cpp real 0m1.587s user 0m1.510s sys 0m0.070s lte10:~$ ./test Reference Count: (should be 3) 3 Here's the address of the pointee: 0x80528c0 How many refs? (should be 1) 1 Using 2.95.3 got same results. Only difference between 2.96 and 3.0.4 is g++3 takes more than twice to compile the same code. Eso es todo amigos.
[Prev in Thread] | Current Thread | [Next in Thread] |