g++.pt/repo3.C regression between 3.1.1 and 3.2?
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Tue Aug 6 12:48:00 GMT 2002
On Dienstag, 6. August 2002 21:33, Mark Mitchell wrote:
> --On Tuesday, August 06, 2002 09:30:30 PM +0200 Franz Sirl
>
> <Franz.Sirl-kernel@lauterbach.com> wrote:
> > On Mittwoch, 31. Juli 2002 17:54, Franz Sirl wrote:
> >> Hi,
> >>
> >> while comparing i686-linux-gnu testsuite results, I noticed that
> >> g++.pt/repo3.C fails at -O2 in 3.2, is this a regression or expected?
> >>
> >> Ah, while we are at potential ABI problems, g++.abi/bitfields.C fails
> >> with -funsigned-char on i686-linux-gnu.
> >
> > Mark, what about these? Can we safely ignore them for 3.2?
>
> I believe so. I thought Jason reviewed them.
There were no replies that reached me or the archives.
> I will take a look too -- can you point me at the original message?
I quoted all of it. Just compile g++.pt/repo3.C with -O2.
I get this in g++.log:
Executing on host: /home/gnu/obj/gcc32/gcc/testsuite/../g++
-B/home/gnu/obj/gcc32/gcc/testsuite/../ -nostdinc++ -I/home/gnu/obj/gcc32/i
686-redhat-linux/libstdc++-v3/include/i686-redhat-linux
-I/home/gnu/obj/gcc32/i686-redhat-linux/libstdc++-v3/include
-I/home/gnu/gcc32/l
ibstdc++-v3/libsupc++ -I/home/gnu/gcc32/libstdc++-v3/libio
-I/home/gnu/gcc32/libstdc++-v3/include/backward -I/home/gnu/gcc32/libstdc++-v
3/testsuite -fmessage-length=0 -frepo -c -O2 -o
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o
/home/gnu/gcc32/gcc/testsuite/g++.old-deja/
g++.pt/repo3.C (timeout = 300)
Executing on host: /home/gnu/obj/gcc32/gcc/testsuite/../g++
-B/home/gnu/obj/gcc32/gcc/testsuite/../ /home/gnu/obj/gcc32/gcc/testsuite/re
po3.o -nostdinc++
-I/home/gnu/obj/gcc32/i686-redhat-linux/libstdc++-v3/include/i686-redhat-linux
-I/home/gnu/obj/gcc32/i686-redhat-linu
x/libstdc++-v3/include -I/home/gnu/gcc32/libstdc++-v3/libsupc++
-I/home/gnu/gcc32/libstdc++-v3/libio -I/home/gnu/gcc32/libstdc++-v3/incl
ude/backward -I/home/gnu/gcc32/libstdc++-v3/testsuite -fmessage-length=0
-frepo -L/home/gnu/obj/gcc32/i686-redhat-linux//libstdc++-v
3/src/.libs -L/home/gnu/obj/gcc32/i686-redhat-linux//libiberty -lstdc++ -lm
-O2 -o /home/gnu/obj/gcc32/gcc/testsuite/g++-pt-repo3-C.e
xe (timeout = 300)
collect: recompiling /home/gnu/gcc32/gcc/testsuite/g++.old-deja/g++.pt/repo3.C
collect: relinking
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o(.gnu.linkonce.d._ZTC1DIiE4_1CIiE+0xc):
undefined reference to `typeinfo for C<int>'
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o(.gnu.linkonce.d._ZTC1DIiE4_1CIiE+0x20):
undefined reference to `typeinfo for C<int>'
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o(.gnu.linkonce.d._ZTC1DIiE0_1BIiE+0xc):
undefined reference to `typeinfo for B<int>'
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o(.gnu.linkonce.d._ZTI1DIiE+0x10):
undefined reference to `typeinfo for B<int>'
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o(.gnu.linkonce.d._ZTI1DIiE+0x18):
undefined reference to `typeinfo for C<int>'
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
collect: recompiling /home/gnu/gcc32/gcc/testsuite/g++.old-deja/g++.pt/repo3.C
collect: relinking
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o(.gnu.linkonce.d._ZTC1DIiE4_1CIiE+0xc):
undefined reference to `typeinfo for C<int>'
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o(.gnu.linkonce.d._ZTC1DIiE4_1CIiE+0x20):
undefined reference to `typeinfo for C<int>'
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o(.gnu.linkonce.d._ZTC1DIiE0_1BIiE+0xc):
undefined reference to `typeinfo for B<int>'
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o(.gnu.linkonce.d._ZTI1DIiE+0x10):
undefined reference to `typeinfo for B<int>'
/home/gnu/obj/gcc32/gcc/testsuite/repo3.o(.gnu.linkonce.d._ZTI1DIiE+0x18):
undefined reference to `typeinfo for C<int>'
collect2: ld returned 1 exit status
FAIL: g++.pt/repo3.C (test for excess errors)
Franz.
More information about the Gcc
mailing list