https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70682
Bug ID: 70682 Summary: [6 Regression] -fcompare-debug building LLVM with checking=release compiler on ppc64le Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org Target Milestone: --- Target: ppc64le Created attachment 38282 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38282&action=edit unreduced testcase On ppc64le running r235027 I get: trippels@gcc2-power8 llvm_build % g++ --save-temps -fcompare-debug -O3 -fno-devirtualize -c CGStmtOpenMP.gk.ii g++: error: CGStmtOpenMP.gk.ii: -fcompare-debug failure trippels@gcc2-power8 llvm_build % diff -u CGStmtOpenMP.gk.gkd CGStmtOpenMP.gk.gk.gkd --- CGStmtOpenMP.gk.gkd 2016-04-15 13:59:37.734070548 +0000 +++ CGStmtOpenMP.gk.gk.gkd 2016-04-15 13:59:50.954364032 +0000 @@ -177184,7 +177184,7 @@ (mem/f/c:DI (plus:DI (reg/f:DI 1 1) (const_int 928 [0x3a0])) [ MEM[(struct specific_clause_iterator *)&D.xxxx]+0 S8 A128]))# {*movdi_internal64} (nil)) -(insn # 0 0 (set (reg:V2DI 32 0 [orig:786 vect_begin_iterator_D849456_I_665.9647 ] [786]) +(insn # 0 0 (set (reg:V2DI 32 0 [orig:786 vect_begin_iterator_D849458_I_665.9647 ] [786]) (vec_select:V2DI (mem/c:V2DI (plus:DI (reg/f:DI 1 1) (reg:DI 10 10 [916])) [ MEM[(struct specific_clause_iterator *)&D.xxxx]+0 S16 A128]) (parallel [ @@ -177209,12 +177209,12 @@ (nil)) (insn:TI # 0 0 (set (mem/c:V2DI (plus:DI (reg/f:DI 1 1) (reg:DI 10 10 [917])) [ MEM[(struct specific_clause_iterator *)&__for_begin]+0 S16 A128]) - (vec_select:V2DI (reg:V2DI 32 0 [orig:786 vect_begin_iterator_D849456_I_665.9647 ] [786]) + (vec_select:V2DI (reg:V2DI 32 0 [orig:786 vect_begin_iterator_D849458_I_665.9647 ] [786]) (parallel [ (const_int 1 [0x1]) (const_int 0 [0]) ]))) /home/trippels/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:2355# {*vsx_stxvd2x2_le_v2di} - (expr_list:REG_DEAD (reg:V2DI 32 0 [orig:786 vect_begin_iterator_D849456_I_665.9647 ] [786]) + (expr_list:REG_DEAD (reg:V2DI 32 0 [orig:786 vect_begin_iterator_D849458_I_665.9647 ] [786]) (expr_list:REG_DEAD (reg:DI 10 10 [917]) (nil)))) (jump_insn # 0 0 (set (pc)