Comment 2 for bug 1353729

Revision history for this message
In , Matthias Klose (doko) wrote :

Created attachment 92
preprocessed source

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.