public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/42419] New: ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7 @ 2009-12-18 0:14 janis at gcc dot gnu dot org 2009-12-18 0:15 ` [Bug target/42419] " janis at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: janis at gcc dot gnu dot org @ 2009-12-18 0:14 UTC (permalink / raw) To: gcc-bugs [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1405 bytes --] 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/42419] ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7 2009-12-18 0:14 [Bug target/42419] New: ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7 janis at gcc dot gnu dot org @ 2009-12-18 0:15 ` janis at gcc dot gnu dot org 2009-12-22 8:51 ` eres at il dot ibm dot com ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: janis at gcc dot gnu dot org @ 2009-12-18 0:15 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from janis at gcc dot gnu dot org 2009-12-18 00:15 ------- Created an attachment (id=19341) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19341&action=view) Minimized testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42419 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/42419] ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7 2009-12-18 0:14 [Bug target/42419] New: ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7 janis at gcc dot gnu dot org 2009-12-18 0:15 ` [Bug target/42419] " janis at gcc dot gnu dot org @ 2009-12-22 8:51 ` eres at il dot ibm dot com 2009-12-22 18:52 ` janis at gcc dot gnu dot org 2010-01-08 18:02 ` janis at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: eres at il dot ibm dot com @ 2009-12-22 8:51 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from eres at il dot ibm dot com 2009-12-22 08:51 ------- (In reply to comment #0) > 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. -mno-altivec -mvsx should not be allowed as a compiler option. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42419 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/42419] ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7 2009-12-18 0:14 [Bug target/42419] New: ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7 janis at gcc dot gnu dot org 2009-12-18 0:15 ` [Bug target/42419] " janis at gcc dot gnu dot org 2009-12-22 8:51 ` eres at il dot ibm dot com @ 2009-12-22 18:52 ` janis at gcc dot gnu dot org 2010-01-08 18:02 ` janis at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: janis at gcc dot gnu dot org @ 2009-12-22 18:52 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from janis at gcc dot gnu dot org 2009-12-22 18:51 ------- The bug (which I didn't know from the documentation) is that -mvsx -mno-altivec is not a valid combination but is not reported as an error. Instead the compiler accepts it and then generates invalid code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42419 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/42419] ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7 2009-12-18 0:14 [Bug target/42419] New: ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7 janis at gcc dot gnu dot org ` (2 preceding siblings ...) 2009-12-22 18:52 ` janis at gcc dot gnu dot org @ 2010-01-08 18:02 ` janis at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: janis at gcc dot gnu dot org @ 2010-01-08 18:02 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from janis at gcc dot gnu dot org 2010-01-08 18:02 ------- *** This bug has been marked as a duplicate of 42416 *** -- janis at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42419 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-01-08 18:02 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-12-18 0:14 [Bug target/42419] New: ICE in reload_cse_simplify_operands for 254.gap with -mcpu=power7 janis at gcc dot gnu dot org 2009-12-18 0:15 ` [Bug target/42419] " janis at gcc dot gnu dot org 2009-12-22 8:51 ` eres at il dot ibm dot com 2009-12-22 18:52 ` janis at gcc dot gnu dot org 2010-01-08 18:02 ` janis at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).