public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/58271] New: ICE in gcc for a MIPS target during compilation with -mpaired-single -ftree-vectorize @ 2013-08-29 14:03 niva at niisi dot msk.ru 2014-03-05 20:35 ` [Bug target/58271] " rsandifo at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: niva at niisi dot msk.ru @ 2013-08-29 14:03 UTC (permalink / raw) To: gcc-bugs 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/58271] ICE in gcc for a MIPS target during compilation with -mpaired-single -ftree-vectorize 2013-08-29 14:03 [Bug c/58271] New: ICE in gcc for a MIPS target during compilation with -mpaired-single -ftree-vectorize niva at niisi dot msk.ru @ 2014-03-05 20:35 ` 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 2 siblings, 0 replies; 4+ messages in thread From: rsandifo at gcc dot gnu.org @ 2014-03-05 20:35 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58271 rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2014-03-05 CC| |rsandifo at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- Thanks for the report and sorry for the slow reply. I agree we should disable -mpaired-single here. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/58271] ICE in gcc for a MIPS target during compilation with -mpaired-single -ftree-vectorize 2013-08-29 14:03 [Bug c/58271] New: ICE in gcc for a MIPS target during compilation with -mpaired-single -ftree-vectorize niva at niisi dot msk.ru 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 2 siblings, 0 replies; 4+ messages in thread From: rsandifo at gcc dot gnu.org @ 2014-03-08 9:28 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58271 --- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- Author: rsandifo Date: Sat Mar 8 09:27:23 2014 New Revision: 208425 URL: http://gcc.gnu.org/viewcvs?rev=208425&root=gcc&view=rev Log: gcc/ PR target/58271 * config/mips/mips.c (mips_option_override): Promote -mpaired-single warning to an error. Disable TARGET_PAIRED_SINGLE and TARGET_MIPS3D if they can't be used. Modified: trunk/gcc/ChangeLog trunk/gcc/config/mips/mips.c ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/58271] ICE in gcc for a MIPS target during compilation with -mpaired-single -ftree-vectorize 2013-08-29 14:03 [Bug c/58271] New: ICE in gcc for a MIPS target during compilation with -mpaired-single -ftree-vectorize niva at niisi dot msk.ru 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 2 siblings, 0 replies; 4+ messages in thread From: rsandifo at gcc dot gnu.org @ 2015-08-05 14:44 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58271 rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- Fixed some time ago, but I forgot to close it, sorry. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-05 14:44 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-08-29 14:03 [Bug c/58271] New: ICE in gcc for a MIPS target during compilation with -mpaired-single -ftree-vectorize niva at niisi dot msk.ru 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
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).