This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

exceptions and 'illegal substraction'


Here is an excerpt of the egcs-971023 test results on sysV68 with native as.

                === g++ Summary ===

# of expected passes            1877
# of unexpected failures        1044 <<<<<<<<<<<<<<<<<<<
# of unexpected successes       1
# of expected failures          529
# of untested testcases         6
/usr/gnu/tmp/egcs/gcc/testsuite/../xgcc version egcs-2.90.14 971023 (gcc2-970802
 experimental)

and here an excerpt of the log file :

Executing on host: /usr/gnu/tmp/egcs/gcc/testsuite/../xgcc -B/usr/gnu/tmp/egcs/g
cc/testsuite/../ /usr/gnu/tmp/egcs-971023/gcc/testsuite/g++.old-deja/g++.benjami
n/p13417.C    -I/usr/gnu/tmp/egcs-971023/libstdc++ -I/usr/gnu/tmp/egcs-971023/li
bstdc++/stl -I/usr/gnu/tmp/egcs/gcc/testsuite/../include -c  -o /tmp/p13417.o
compiler exited with status 1
output is:
Assembler: p13417.C
 aline 73 : Fatal: illegal subtraction
 aline 90 : Fatal: illegal subtraction
 aline 124 : Fatal: illegal subtraction
 aline 158 : Fatal: illegal subtraction

The native as on sysV68 cannot handle substractions of symbols (except in
switch tables), but why do we use substractions here ?  Could exceptions not
work with absolute addresses ? sysV68 does not support shared libraries,
it that matters.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]