Generated code is wrong due to the output template of the patterns (please see below). Commit 201250 Fixes it.
243.dfinish ============= (insn 62 61 63 2 (set (reg:SI 3 r3 [orig:156 _qh ] [156]) (plus:SI (plus:SI (geu:SI (reg:CC 100 cc) (const_int 0 [0])) (reg:SI 3 r3 [orig:151 D.4776 ] [151])) (reg/v:SI 1 r1 [orig:110 __x3 ] [110]))) test.c:44 18 {*addsi3_carryin_alt2_geu} (expr_list:REG_DEAD (reg:CC 100 cc) (expr_list:REG_DEAD (reg/v:SI 1 r1 [orig:110 __x3 ] [110]) (nil)))) Generated Wrong Code =============== adc r3, r3 @ 62 *addsi3_carryin_alt2_geu/1 [length = 4] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1234060 Title: Wrong code generation for -march=armv7-a -thumb (Found during GMP bulild) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1234060/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs