This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/79565] New: ICE in copy_to_mode_reg, at explow.c:612
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Feb 2017 22:45:27 +0000
- Subject: [Bug target/79565] New: ICE in copy_to_mode_reg, at explow.c:612
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79565
Bug ID: 79565
Summary: ICE in copy_to_mode_reg, at explow.c:612
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
Target Milestone: ---
All releases I have suffer from:
$ cat /tmp/ice3.i
typedef float a __attribute__ ((__vector_size__ (16)));
a b, d;
int __attribute__ ((__vector_size__ (2 * sizeof (int)))) c;
void e () { d = __builtin_ia32_cvtpi2ps (b, c); }
gcc /tmp/ice3.i -mno-mmx
/tmp/ice3.i: In function ‘e’:
/tmp/ice3.i:4:17: internal compiler error: in copy_to_mode_reg, at explow.c:612
void e () { d = __builtin_ia32_cvtpi2ps (b, c); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x7cabfb copy_to_mode_reg(machine_mode, rtx_def*)
../../gcc/explow.c:612
0xd13f6b ix86_expand_binop_builtin
../../gcc/config/i386/i386.c:34104
0xd16d4b ix86_expand_args_builtin
../../gcc/config/i386/i386.c:35018
0xd200c4 ix86_expand_builtin
../../gcc/config/i386/i386.c:38461
0x6e6a4c expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
../../gcc/builtins.c:6362
0x7dfe18 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
../../gcc/expr.c:10782
0x7e8ef9 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
../../gcc/expr.c:5552
0x7e9d9f expand_assignment(tree_node*, tree_node*, bool)
../../gcc/expr.c:5321
0x702832 expand_call_stmt
../../gcc/cfgexpand.c:2656
0x702832 expand_gimple_stmt_1
../../gcc/cfgexpand.c:3571
0x702832 expand_gimple_stmt
../../gcc/cfgexpand.c:3737
0x7041f5 expand_gimple_basic_block
../../gcc/cfgexpand.c:5744
0x709066 execute
../../gcc/cfgexpand.c:6357
Clang is also broken, ICC work for that test-case.