An alias bug
Manfred Hollstein
manfred@s-direktnet.de
Sun Jul 12 07:55:00 GMT 1998
On Sun, 12 July 1998, 01:01:02, law@cygnus.com wrote:
>
> An FYI -- I picked up the libg++ addon, added it my sources,
> "make bootstrap" on my x86, then "make check" in the libg++ objdir
> and it passed without any problems.
>
> jeff
CVS sources as of 1998/07/12 09:24:39 +0200 (+ `A reload patch' from
<hjl@lucon.org> - I need this one cause it cures the -fomit-frame-pointer + -fpic
problem with libstdc++ for me) + "official" libg++-2.8.1.1a from ftp.gnu.org
result in 3 errors with CXXFLAGS="-O9 -march=pentium -mcpu=pentium
-fomit-frame-pointer":
/home/manfred/work/GNU/egcs-19980712-i586-linux/gcc/xgcc -B/home/manfred/work/GNU/egcs-19980712-i586-linux/gcc/ tPlex.o -o tPlex libtest.a -L./../ -L./../../libstdc++ -lg++ -lstdc++
./tPlex < ../../../../egcs-19980712/libg++/tests/tPlex.inp > tPlex.out 2>&1
gmake[3]: *** [check-tPlex] Error 134
[...]
./tLList < ../../../../egcs-19980712/libg++/tests/tLList.inp > tLList.out 2>&1
diff -b ../../../../egcs-19980712/libg++/tests/tLList.exp tLList.out
44c44
< deleting alternate elements of z...100 100 100 200 6 5 4 3 2 1 0
---
> deleting alternate elements of z...100 9 8 7 100 100 100 100 100 100 100
47c47
< 100 100 100 100 100 100 100 7 8 9
---
> 100 100 100 100 100 100 100 100 7 8 9
gmake[3]: *** [check-tLList] Error 1
[...]
./tiLList > tiLList.out 2>&1
diff -b ../../../../egcs-19980712/libg++/tests/tiLList.exp tiLList.out
44c44
< deleting alternate elements of z...100 100 100 200 6 5 4 3 2 1 0
---
> deleting alternate elements of z...100 9 8 7 100 100 100 100 100 100 100
gmake[3]: *** [check-tiLList] Error 1
Using the default "-O2 -g" for CXXFLAGS still results in (note, even 2
more(!) errors):
/home/manfred/work/GNU/egcs-19980712-i586-linux/gcc/xgcc -B/home/manfred/work/GNU/egcs-19980712-i586-linux/gcc/ tPlex.o -o tPlex libtest.a -L./../ -L./../../libstdc++ -lg++ -lstdc++
./tPlex < ../../../../egcs-19980712/libg++/tests/tPlex.inp > tPlex.out 2>&1
gmake[3]: *** [check-tPlex] Error 134
[...]
./tLList < ../../../../egcs-19980712/libg++/tests/tLList.inp > tLList.out 2>&1
diff -b ../../../../egcs-19980712/libg++/tests/tLList.exp tLList.out
2c2
< a: 9 8 7 6 5 4 3 2 1 0
---
> a: 9 9 8 7 6 5 4 3 2 1 0
4c4
< a: 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
---
> a: 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
6c6
< 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
---
> 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
8c8
< b: 0 1 2 3 4 5 6 7 8 9
---
> b: 0 0 1 2 3 4 5 6 7 8 9
10c10
< b: 0 1 2 3 4 5 100 6 7 8 9
---
> b: 0 0 1 2 3 4 5 100 6 7 8 9
12c12
< 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 100 6 7 8 9
---
> 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 100 6 7 8 9
16c16
< 999
---
> 999 999
18c18
< 999
---
> 999 999
21c21
< 9 8 7 6 5 4 3 2 1 0
---
> 9 9 8 7 6 5 4 3 2 1 0
23,24c23,24
< a: 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
< b = a: 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
---
> a: 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
> b = a: 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
26c26
< b: 0 1 2 3 4 5 6 7 8 9
---
> b: 0 0 1 2 3 4 5 6 7 8 9
28c28
< b: 0 1 2 3 4 5 100 6 7 8 9
---
> b: 0 0 1 2 3 4 5 100 6 7 8 9
30c30
< 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 100 6 7 8 9
---
> 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 100 6 7 8 9
34c34
< 999
---
> 999 999
36,37c36,37
< 999
< z = a: 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
---
> 999 999
> z = a: 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
39c39
< z: 9 8 7 6 5 4 3 2 1 0
---
> z: 9 9 8 7 6 5 4 3 2 1 0
41c41
< z: 100 9 100 8 100 7 100 6 100 5 100 4 100 3 100 2 100 1 100 0
---
> z: 100 100 9 100 8 100 7 100 6 100 5 100 4 100 3 100 2 100 1 100 0
43c43
< z: 100 9 100 8 100 7 200 100 6 100 5 100 4 100 3 100 2 100 1 100 0
---
> z: 100 100 9 100 8 100 7 200 100 6 100 5 100 4 100 3 100 2 100 1 100 0
45c45
< z: 9 8 7 100 100 100 100 100 100 100
---
> z: 9 9 8 7 100 100 100 100 100 100 100
47c47
< 100 100 100 100 100 100 100 7 8 9
---
> 100 100 100 100 100 100 100 100 7 8 9
gmake[3]: *** [check-tLList] Error 1
[...]
./tSet < ../../../../egcs-19980712/libg++/tests/tSet.inp > tSet.out 2>&1
gmake[3]: *** [check-tSet] Error 134
./tBag < ../../../../egcs-19980712/libg++/tests/tBag.inp > tBag.out 2>&1
gmake[3]: *** [check-tBag] Error 134
./tiLList > tiLList.out 2>&1
diff -b ../../../../egcs-19980712/libg++/tests/tiLList.exp tiLList.out
2c2
< a: 9 8 7 6 5 4 3 2 1 0
---
> a: 9 9 8 7 6 5 4 3 2 1 0
4c4
< a: 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
---
> a: 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
6c6
< 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
---
> 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
8c8
< b: 0 1 2 3 4 5 6 7 8 9
---
> b: 0 0 1 2 3 4 5 6 7 8 9
10c10
< b: 0 1 2 3 4 5 100 6 7 8 9
---
> b: 0 0 1 2 3 4 5 100 6 7 8 9
12c12
< 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 100 6 7 8 9
---
> 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 100 6 7 8 9
16c16
< 999
---
> 999 999
18c18
< 999
---
> 999 999
21c21
< 9 8 7 6 5 4 3 2 1 0
---
> 9 9 8 7 6 5 4 3 2 1 0
23,24c23,24
< a: 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
< b = a: 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
---
> a: 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
> b = a: 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
26c26
< b: 0 1 2 3 4 5 6 7 8 9
---
> b: 0 0 1 2 3 4 5 6 7 8 9
28c28
< b: 0 1 2 3 4 5 100 6 7 8 9
---
> b: 0 0 1 2 3 4 5 100 6 7 8 9
30c30
< 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 100 6 7 8 9
---
> 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 100 6 7 8 9
34c34
< 999
---
> 999 999
36,37c36,37
< 999
< z = a: 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
---
> 999 999
> z = a: 9 9 8 7 6 5 4 3 2 1 0 0 1 2 3 4 5 6 7 8 9
39c39
< z: 9 8 7 6 5 4 3 2 1 0
---
> z: 9 9 8 7 6 5 4 3 2 1 0
41c41
< z: 100 9 100 8 100 7 100 6 100 5 100 4 100 3 100 2 100 1 100 0
---
> z: 100 100 9 100 8 100 7 100 6 100 5 100 4 100 3 100 2 100 1 100 0
43,45c43,45
< z: 100 9 100 8 100 7 200 100 6 100 5 100 4 100 3 100 2 100 1 100 0
< deleting alternate elements of z...100 100 100 200 6 5 4 3 2 1 0
< z: 9 8 7 100 100 100 100 100 100 100
---
> z: 100 100 9 100 8 100 7 200 100 6 100 5 100 4 100 3 100 2 100 1 100 0
> deleting alternate elements of z...100 9 8 7 100 100 100 100 100 100 100
> z: 9 9 8 7 100 100 100 100 100 100 100
gmake[3]: *** [check-tiLList] Error 1
Are there really such differences between H.J.'s libg++ and the
"official" one?
manfred
More information about the Gcc-bugs
mailing list