* [Bug target/50940] [4.7 Regression] ICE in extract_insn, at recog.c:2137 during bootstrap
2011-11-01 10:00 [Bug target/50940] New: [4.7 Regression] ICE in extract_insn, at recog.c:2137 during bootstrap markus at trippelsdorf dot de
@ 2011-11-01 10:55 ` markus at trippelsdorf dot de
2011-11-01 12:22 ` ubizjak at gmail dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: markus at trippelsdorf dot de @ 2011-11-01 10:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50940
--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-11-01 10:55:21 UTC ---
Testcase:
% cat test.ii
typedef long int ptrdiff_t;
extern "C" {
typedef struct _IO_FILE FILE;
extern int fprintf (FILE *__restrict __stream,
__const char *__restrict __format, ...);
}
typedef struct bitmap_head_def *bitmap;
typedef struct simple_bitmap_def *sbitmap;
struct function {
struct control_flow_graph *cfg;
};
extern struct function *cfun;
extern FILE *dump_file;
struct control_flow_graph {
int x_n_basic_blocks;
int x_n_edges;
};
static bool df_worklist_propagate_forward (struct dataflow *dataflow,
unsigned bb_index, unsigned *bbindex_to_postorder,
bitmap pending, sbitmap considered, ptrdiff_t age)
{
int dcount = 0;
if (dump_file) fprintf (dump_file, "df_worklist_dataflow_doublequeue:"
"n_basic_blocks %d n_edges %d" " count %d (%5.2g)\n",
((cfun + 0)->cfg->x_n_basic_blocks), ((cfun + 0)->cfg->x_n_edges),
dcount, dcount / (float)((cfun + 0)->cfg->x_n_basic_blocks));
}
% g++ test.ii -march=amdfam10 -B/var/tmp/gcc_build_dir/./prev-gcc/
test.ii: In function ‘bool df_worklist_propagate_forward(dataflow*, unsigned
int, unsigned int*, bitmap, sbitmap, ptrdiff_t)’:
test.ii:27:1: error: unrecognizable insn:
(insn 56 55 21 3 (set (reg:V4SF 22 xmm1 [orig:64 D.2155 ] [64])
(float:V2DF (vec_select:V2SI (reg:V4SI 22 xmm1 [orig:64 D.2155 ] [64])
(parallel [
(const_int 0 [0])
(const_int 1 [0x1])
])))) test.ii:26 -1
(nil))
test.ii:27:1: internal compiler error: in extract_insn, at recog.c:2137
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/50940] [4.7 Regression] ICE in extract_insn, at recog.c:2137 during bootstrap
2011-11-01 10:00 [Bug target/50940] New: [4.7 Regression] ICE in extract_insn, at recog.c:2137 during bootstrap markus at trippelsdorf dot de
2011-11-01 10:55 ` [Bug target/50940] " markus at trippelsdorf dot de
@ 2011-11-01 12:22 ` ubizjak at gmail dot com
2011-11-01 13:08 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2011-11-01 12:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50940
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011-11-01
AssignedTo|unassigned at gcc dot |ubizjak at gmail dot com
|gnu.org |
Ever Confirmed|0 |1
--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2011-11-01 12:22:02 UTC ---
Confirmed, a typo in *floatsi<mode>2_vector_sse_with_temp splitter.
Index: i386.md
===================================================================
--- i386.md (revision 180733)
+++ i386.md (working copy)
@@ -5053,7 +5053,7 @@
emit_insn (gen_sse2_loadld (operands[4],
CONST0_RTX (V4SImode), operands[2]));
}
- if (<ssevecmode>mode == V4SImode)
+ if (<ssevecmode>mode == V4SFmode)
emit_insn (gen_floatv4siv4sf2 (operands[3], operands[4]));
else
emit_insn (gen_sse2_cvtdq2pd (operands[3], operands[4]));
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/50940] [4.7 Regression] ICE in extract_insn, at recog.c:2137 during bootstrap
2011-11-01 10:00 [Bug target/50940] New: [4.7 Regression] ICE in extract_insn, at recog.c:2137 during bootstrap markus at trippelsdorf dot de
2011-11-01 10:55 ` [Bug target/50940] " markus at trippelsdorf dot de
2011-11-01 12:22 ` ubizjak at gmail dot com
@ 2011-11-01 13:08 ` rguenth at gcc dot gnu.org
2011-11-01 20:07 ` ubizjak at gmail dot com
2011-11-01 20:07 ` ubizjak at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-11-01 13:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50940
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/50940] [4.7 Regression] ICE in extract_insn, at recog.c:2137 during bootstrap
2011-11-01 10:00 [Bug target/50940] New: [4.7 Regression] ICE in extract_insn, at recog.c:2137 during bootstrap markus at trippelsdorf dot de
` (2 preceding siblings ...)
2011-11-01 13:08 ` rguenth at gcc dot gnu.org
@ 2011-11-01 20:07 ` ubizjak at gmail dot com
2011-11-01 20:07 ` ubizjak at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2011-11-01 20:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50940
--- Comment #3 from Uros Bizjak <ubizjak at gmail dot com> 2011-11-01 20:06:25 UTC ---
Author: uros
Date: Tue Nov 1 19:48:34 2011
New Revision: 180742
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180742
Log:
PR target/50940
* config/i386/i386.md (floatsi<mode>2_vector_sse_with_temp splitter):
Compare <ssevecmode>mode with V4SFmode, not V4SImode.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.md
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/50940] [4.7 Regression] ICE in extract_insn, at recog.c:2137 during bootstrap
2011-11-01 10:00 [Bug target/50940] New: [4.7 Regression] ICE in extract_insn, at recog.c:2137 during bootstrap markus at trippelsdorf dot de
` (3 preceding siblings ...)
2011-11-01 20:07 ` ubizjak at gmail dot com
@ 2011-11-01 20:07 ` ubizjak at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2011-11-01 20:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50940
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
URL| |http://gcc.gnu.org/ml/gcc-p
| |atches/2011-11/msg00081.htm
| |l
Resolution| |FIXED
--- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2011-11-01 20:07:17 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread