public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "niva at niisi dot msk.ru" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/58271] New: ICE in gcc for a MIPS target during compilation with -mpaired-single -ftree-vectorize Date: Thu, 29 Aug 2013 14:03:00 -0000 [thread overview] Message-ID: <bug-58271-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58271 Bug ID: 58271 Summary: ICE in gcc for a MIPS target during compilation with -mpaired-single -ftree-vectorize Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: niva at niisi dot msk.ru Created attachment 30721 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30721&action=edit Preprocessed source file Running mips64-none-elf-gcc-4.8.0 mips-ps-7.i -O2 -mpaired-single -ftree-vectorize -S -o mips-ps-7.s produces the following ICE: mips-ps-7.i:1:0: warning: the 'mips3' architecture does not support paired-single instructions [enabled by default] extern float a[], b[], c[]; ^ mips-ps-7.i: In function 'foo': mips-ps-7.i:8:10: internal compiler error: in mips_allocate_fcc, at config/mips/mips.c:4675 a[i] = b[i] == c[i] + 1 ? b[i] : c[i]; ^ 0x860befc gen_vcondv2sfv2sf(rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*, rtx_def*) /home/niva/src/gcc-4.8.0/gcc/config/mips/mips-ps-3d.md:722 0x836b1cd maybe_gen_insn(insn_code, unsigned int, expand_operand*) /home/niva/src/gcc-4.8.0/gcc/optabs.c:8222 0x836b3ae maybe_expand_insn(insn_code, unsigned int, expand_operand*) /home/niva/src/gcc-4.8.0/gcc/optabs.c:8242 0x836b3ee expand_insn(insn_code, unsigned int, expand_operand*) /home/niva/src/gcc-4.8.0/gcc/optabs.c:8273 0x836cb43 expand_vec_cond_expr(tree_node*, tree_node*, tree_node*, tree_node*, rtx_def*) /home/niva/src/gcc-4.8.0/gcc/optabs.c:6777 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. The cross-compiler was configured as follows: /home/niva/src/gcc-4.8.0/configure --target=mips64-none-elf --with-threads --without-headers --disable-libssp --enable-languages=c --prefix=/home/niva/local The preprocessed input file is attached. mips64-none-elf-gcc-4.7.3 also produces an ICE on this test. IMHO gcc should just disable -mpaired-single for the architectures which do not support it.
next reply other threads:[~2013-08-29 14:03 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-08-29 14:03 niva at niisi dot msk.ru [this message] 2014-03-05 20:35 ` [Bug target/58271] " rsandifo at gcc dot gnu.org 2014-03-08 9:28 ` rsandifo at gcc dot gnu.org 2015-08-05 14:44 ` rsandifo at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-58271-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).