This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/42419] New: ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7


GCC trunk gets a ICE when building SPEC CPU2000 test 254.gap with "-m64 -O2
-mcpu=power7 -mno-altivec -ftree-vectorize", as demonstrated by a rather large
minimized testcase that I'll attach to this PR.

elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gcc -c -m64 -O2 -mcpu=power7
-mno-altivec -ftree-vectorize bug.c
bug.c: In function ?SyFgets?:
bug.c:124:1: error: insn does not satisfy its constraints:
(insn 787 422 425 43 bug.c:87 (set (reg:TI 11 11)
        (const_double 2314885530818453536 [0x2020202020202020]
2314885530818453536 [0x2020202020202020] 0 [0x0])) 375 {*movti_ppc64} (nil))
bug.c:124:1: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:396
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

POWER7 support is new in GCC 4.5 so this is not a regression from earlier
releases.


-- 
           Summary: ICE in reload_cse_simplify_operands for 254.gap with -
                    mcpu=power7
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
GCC target triplet: poewrpc64-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42419


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]