[Bug 1353729]

Palachev-ilya 1353729 at bugs.launchpad.net
Wed Sep 10 07:46:34 UTC 2014


Created attachment 155
2nd variant of reduced testcase

Since some commit the previous testcase compiles fine.

It's strange that 24 is the minimal constant for which the error occurs.
If you change it to smaller value, the testcase can be compiled fine.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.9 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:
  New
Status in “gcc-4.9” package in Ubuntu:
  Confirmed

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



More information about the foundations-bugs mailing list