← Back to team overview

touch-packages team mailing list archive

[Bug 1353729] Re: [4.9 Regression] ICE in final_scan_insn, at final.c:2952 (aarch64-linux-gnu)

 

The gcc-4.8 SRU in trusty from 4.8.2-19ubuntu1 -> 4.8.4-2ubuntu1~14.04
has introduced this regression, causing mysql-5.6 to now FTBFS. I've
confirmed that this bug also persists in gcc-4.8 in wily today
(4.8.4-3ubuntu1).

** Also affects: gcc-4.8 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: gcc-4.8 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1353729

Title:
  [4.9 Regression] ICE in final_scan_insn, at final.c:2952 (aarch64
  -linux-gnu)

Status in Linaro:
  Fix Released
Status in gcc-4.8 package in Ubuntu:
  Confirmed
Status in gcc-4.9 package in Ubuntu:
  Fix Released

Bug description:
  https://bugs.linaro.org/show_bug.cgi?id=331

  seen with 4.9 linaro 2014.07, works with -O1

  $ g++ -c -O2 -fPIE pfs_host.ii
  /home/doko/tmp/mysql-5.6-5.6.19/storage/perfschema/pfs_host.cc: In function 'PFS_host* find_or_create_host(PFS_thread*, const char*, uint)':
  /home/doko/tmp/mysql-5.6-5.6.19/storage/perfschema/pfs_host.cc:289:1: error: could not split insn
   }
   ^
  (insn:TI 304 300 305 (parallel [
              (set (reg:SI 2 x2 [orig:153 D.16667 ] [153])
                  (mem/v:SI (reg/f:DI 1 x1 [orig:113 D.16671 ] [113]) [-1  S4 A32]))
              (set (mem/v:SI (reg/f:DI 1 x1 [orig:113 D.16671 ] [113]) [-1  S4 A32])
                  (unspec_volatile:SI [
                          (ior:SI (mem/v:SI (reg/f:DI 1 x1 [orig:113 D.16671 ] [113]) [-1  S4 A32])
                              (const_int 0 [0]))
                          (const_int 5 [0x5])
                      ] UNSPECV_ATOMIC_OP))
              (clobber (reg:CC 66 cc))
              (clobber (reg:SI 3 x3 [330]))
              (clobber (reg:SI 4 x4 [331]))
          ]) /home/doko/tmp/mysql-5.6-5.6.19/include/my_atomic.h:217 2338 {atomic_fetch_orsi}
       (expr_list:REG_UNUSED (reg:CC 66 cc)
          (expr_list:REG_UNUSED (reg:SI 4 x4 [331])
              (expr_list:REG_UNUSED (reg:SI 3 x3 [330])
                  (nil)))))
  /home/doko/tmp/mysql-5.6-5.6.19/storage/perfschema/pfs_host.cc:289:1: internal compiler error: in final_scan_insn, at final.c:2952
  Please submit a full bug report,
  with preprocessed source if appropriate.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro/+bug/1353729/+subscriptions