https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77959

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Andrew Pinski from comment #6)
> Maybe turning on RTL checking will find the problem is located.

Indeed, the rtl-checking enabled build says:

internal compiler error: RTL check: expected code 'mem', have 'const_double' in
get_mem_attrs, at rtl.h:3300
0xa8b327 rtl_check_failed_code1(rtx_def const*, rtx_code, char const*, int,
char const*)
        ../../git/gcc/gcc/rtl.c:811
0x8345d8 get_mem_attrs
        ../../git/gcc/gcc/rtl.h:3300
0x83038b get_mem_attrs
        ../../git/gcc/gcc/expr.c:6950
0x83038b store_field
        ../../git/gcc/gcc/expr.c:6778
0x82d2e3 expand_assignment(tree_node*, tree_node*, bool)
        ../../git/gcc/gcc/expr.c:5167
0x7253bd expand_gimple_stmt_1
        ../../git/gcc/gcc/cfgexpand.c:3649
0x7253bd expand_gimple_stmt
        ../../git/gcc/gcc/cfgexpand.c:3745

Reply via email to