Public bug reported:

In very rare cases during compiling of some c-sources tendracc is fail
with inner error.

For example, compiling of tendra_nil.c on 10.04.4 and 12.04.1:

int f(int a, int b) {
        return (b & ~a) | ~b;
}

int main() {
        f(0, 0);
        return 0;
}

$ tendracc tendra_nil.c
tcc: Error: Caught signal 11 in 
'/usr/lib/TenDRA/machines/linux/2.6.24-25-server/80x86/bin/trans'.

I found and fix mistake without good understanding of tendracc. But
because of fix is influence only on situations which must not appear in
normal cases, it must not broke main logic.

** Affects: tendra (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "patch for tendra 4.1.2-19 from 12.04.1"
   
https://bugs.launchpad.net/bugs/1078236/+attachment/3432009/+files/tendra.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1078236

Title:
  nil pointer error in tendra during optimization

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tendra/+bug/1078236/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to