Hello,
I have a problem with a (big) C++ program compiled
with gcc 4.4.0 on a 64-bit Sparc.
Target: sparc-sun-solaris2.10
Configured with: /opt/sources/gnu/gcc-4.4.0/configure
--prefix=/opt/gnu/gcc-4.4.0 --with-local-prefix=/opt/gnu/gcc-4.4.0
--enable-threads=posix --with-cpu=ultrasparc3
The function SetCategory(v) returns void and simply assigns
the value of v to a class member, so there are no trap conditions.
TA, on the other hand, stands for trap always, so the condition
code is unimportant anyway. Why has the trap instruction been generated?
Usually this is because you
Paolo Bonzini wrote:
Usually this is because you have code with undefined behavior, that the
compiler cannot make sense of.
Yes, you were right, that was the case indeed. Thank you Paulo.
Best regards
Piotr Wyderski